![]() |
Name Generator 4.5.2
Culture-aware name generation for C++23
|
How a culture composes a full name; see ng::convention(). More...
#include <namegen.hpp>
Public Attributes | |
| name_order | order = name_order::given_family |
| Given or family name first. | |
| patronymic_style | patronymic = patronymic_style::none |
| How the patronymic is formed. | |
| bool | family_name = true |
| False when the patronymic replaces the family name. | |
| int | surnames = 1 |
| 1, or 2 for cultures with a double surname. | |
| double | second_surname = 1.0 |
Chance of the second surname when surnames is 2. | |
| surname_order | inheritance = surname_order::paternal_first |
| Which parents' surnames a child takes. | |
How a culture composes a full name; see ng::convention().
A culture without a row in conventions.tsv has the default: one surname, given name first.
Definition at line 207 of file namegen.hpp.
| bool dasmig::naming_convention::family_name = true |
False when the patronymic replaces the family name.
Definition at line 211 of file namegen.hpp.
| surname_order dasmig::naming_convention::inheritance = surname_order::paternal_first |
Which parents' surnames a child takes.
Definition at line 214 of file namegen.hpp.
| name_order dasmig::naming_convention::order = name_order::given_family |
Given or family name first.
Definition at line 209 of file namegen.hpp.
| patronymic_style dasmig::naming_convention::patronymic = patronymic_style::none |
How the patronymic is formed.
Definition at line 210 of file namegen.hpp.
| double dasmig::naming_convention::second_surname = 1.0 |
Chance of the second surname when surnames is 2.
Definition at line 213 of file namegen.hpp.
| int dasmig::naming_convention::surnames = 1 |
1, or 2 for cultures with a double surname.
Definition at line 212 of file namegen.hpp.