|
Relationship Generator 1.2.2
Believable families around a person: parents, siblings, partners and children, with ages and names for C++23
|
A link between two members, by id. More...
#include <relgen.hpp>
Public Attributes | |
| edge_kind | kind {edge_kind::parent_of} |
| What the link is. | |
| std::size_t | from {0} |
| First member. | |
| std::size_t | to {0} |
| Second member. | |
| bool | full {true} |
| For siblings: both parents are shared. | |
| bool | genetic {true} |
| For parents: the child is the parent's by birth, not by adoption. | |
| std::optional< int > | start {} |
| For partners: the year the union began. | |
| std::optional< int > | end {} |
| For partners: the year it ended, if it has. | |
| union_end | ended {union_end::ongoing} |
| For partners: how it ended. | |
A link between two members, by id.
Definition at line 276 of file relgen.hpp.
| std::optional<int> dasmig::edge::end {} |
For partners: the year it ended, if it has.
Definition at line 284 of file relgen.hpp.
| union_end dasmig::edge::ended {union_end::ongoing} |
For partners: how it ended.
Definition at line 285 of file relgen.hpp.
| std::size_t dasmig::edge::from {0} |
First member.
Definition at line 279 of file relgen.hpp.
| bool dasmig::edge::full {true} |
For siblings: both parents are shared.
Definition at line 281 of file relgen.hpp.
| bool dasmig::edge::genetic {true} |
For parents: the child is the parent's by birth, not by adoption.
Definition at line 282 of file relgen.hpp.
| edge_kind dasmig::edge::kind {edge_kind::parent_of} |
What the link is.
Definition at line 278 of file relgen.hpp.
| std::optional<int> dasmig::edge::start {} |
For partners: the year the union began.
Definition at line 283 of file relgen.hpp.
| std::size_t dasmig::edge::to {0} |
Second member.
Definition at line 280 of file relgen.hpp.