Occupation Generator 3.0.1
Employment status and occupation by country, age, sex and education for C++23
Loading...
Searching...
No Matches
dasmig::occupation_request Struct Reference

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.
 

Detailed Description

Per-call generation choices. Every field may be omitted.

Definition at line 107 of file occupationgen.hpp.

Member Data Documentation

◆ age

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.

◆ country

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.

◆ education

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.

◆ person_sex

std::optional<sex> dasmig::occupation_request::person_sex {}

Sex; unknown draws one (even odds).

Definition at line 111 of file occupationgen.hpp.

◆ status

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.


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