Relationship Generator 1.2.2
Believable families around a person: parents, siblings, partners and children, with ages and names for C++23
Loading...
Searching...
No Matches
dasmig::known_union Struct Reference

A union of the anchor that the caller already knows, with the children it had. More...

#include <relgen.hpp>

Public Attributes

std::optional< known_person > partner {}
 The partner; none when only the children are known. // NOLINT(readability-redundant-member-init)
 
std::chrono::year_month_day start {}
 When the union began.
 
std::optional< std::chrono::year_month_day > end {}
 When it ended; none if it is ongoing. // NOLINT(readability-redundant-member-init)
 
std::vector< known_child > children {}
 The children of this union. // NOLINT(readability-redundant-member-init)
 
std::vector< known_person > stepchildren {}
 The partner's children by an earlier union. // NOLINT(readability-redundant-member-init)
 

Detailed Description

A union of the anchor that the caller already knows, with the children it had.

Definition at line 88 of file relgen.hpp.

Member Data Documentation

◆ children

std::vector<known_child> dasmig::known_union::children {}

The children of this union. // NOLINT(readability-redundant-member-init)

Definition at line 93 of file relgen.hpp.

◆ end

std::optional<std::chrono::year_month_day> dasmig::known_union::end {}

When it ended; none if it is ongoing. // NOLINT(readability-redundant-member-init)

Definition at line 92 of file relgen.hpp.

◆ partner

std::optional<known_person> dasmig::known_union::partner {}

The partner; none when only the children are known. // NOLINT(readability-redundant-member-init)

Definition at line 90 of file relgen.hpp.

◆ start

std::chrono::year_month_day dasmig::known_union::start {}

When the union began.

Definition at line 91 of file relgen.hpp.

◆ stepchildren

std::vector<known_person> dasmig::known_union::stepchildren {}

The partner's children by an earlier union. // NOLINT(readability-redundant-member-init)

Definition at line 94 of file relgen.hpp.


The documentation for this struct was generated from the following file: