|
Relationship Generator 1.2.2
Believable families around a person: parents, siblings, partners and children, with ages and names for C++23
|
Someone the caller already knows: used to build the family of a member of a family that exists, so that both agree. More...
#include <relgen.hpp>
Public Attributes | |
| sex | bio_sex {sex::male} |
| Biological sex. | |
| std::chrono::year_month_day | birth {} |
| Date of birth. | |
| std::optional< std::chrono::year_month_day > | death {} |
| Date of death, for the dead. // NOLINT(readability-redundant-member-init) | |
| std::optional< person_name > | name {} |
| The name, or drawn to match the relatives'. // NOLINT(readability-redundant-member-init) | |
| std::vector< known_person > | parents {} |
| This person's own parents, when known: the anchor's grandparents (at most one of each sex). // NOLINT(readability-redundant-member-init) | |
Someone the caller already knows: used to build the family of a member of a family that exists, so that both agree.
A person who is alive has no death; one who died before the reference date has it.
Definition at line 62 of file relgen.hpp.
| sex dasmig::known_person::bio_sex {sex::male} |
Biological sex.
Definition at line 64 of file relgen.hpp.
| std::chrono::year_month_day dasmig::known_person::birth {} |
Date of birth.
Definition at line 65 of file relgen.hpp.
| std::optional<std::chrono::year_month_day> dasmig::known_person::death {} |
Date of death, for the dead. // NOLINT(readability-redundant-member-init)
Definition at line 66 of file relgen.hpp.
| std::optional<person_name> dasmig::known_person::name {} |
The name, or drawn to match the relatives'. // NOLINT(readability-redundant-member-init)
Definition at line 67 of file relgen.hpp.
| std::vector<known_person> dasmig::known_person::parents {} |
This person's own parents, when known: the anchor's grandparents (at most one of each sex). // NOLINT(readability-redundant-member-init)
Definition at line 68 of file relgen.hpp.