|
Occupation Generator 3.0.1
Employment status and occupation by country, age, sex and education for C++23
|
Per-call generation choices. Every field may be omitted. More...
#include <occupationgen.hpp>
Public Attributes | |
| std::string_view | country {} |
| ISO 3166-1 alpha-2 code; empty draws a country (uniform over those loaded). | |
| std::uint8_t | age {40} |
| Age in completed years (default 40, an age at which most people work). | |
| std::optional< sex > | person_sex {} |
| Sex; unknown draws one (even odds). | |
| std::optional< education_level > | education {} |
| Education; unknown draws one from the country, sex and age. | |
| std::optional< employment_status > | status {} |
| Status; unknown draws one from the country, sex and age. | |
Per-call generation choices. Every field may be omitted.
Definition at line 107 of file occupationgen.hpp.
| std::uint8_t dasmig::occupation_request::age {40} |
Age in completed years (default 40, an age at which most people work).
Definition at line 110 of file occupationgen.hpp.
| std::string_view dasmig::occupation_request::country {} |
ISO 3166-1 alpha-2 code; empty draws a country (uniform over those loaded).
Definition at line 109 of file occupationgen.hpp.
| std::optional<education_level> dasmig::occupation_request::education {} |
Education; unknown draws one from the country, sex and age.
Definition at line 112 of file occupationgen.hpp.
| std::optional<sex> dasmig::occupation_request::person_sex {} |
Sex; unknown draws one (even odds).
Definition at line 111 of file occupationgen.hpp.
| std::optional<employment_status> dasmig::occupation_request::status {} |
Status; unknown draws one from the country, sex and age.
Definition at line 113 of file occupationgen.hpp.