![]() |
Country Generator 3.3.2
Procedural country generation for C++23
|
Per-call country selection options. More...
#include <countrygen.hpp>
Public Attributes | |
| std::optional< std::string > | region {std::nullopt} |
| UN geoscheme region; unset selects from all loaded countries. An empty or unknown region throws std::invalid_argument. | |
| bool | weighted {true} |
| Population-weighted selection (default); false selects uniformly. | |
Per-call country selection options.
Definition at line 361 of file countrygen.hpp.
| std::optional<std::string> dasmig::country_request::region {std::nullopt} |
UN geoscheme region; unset selects from all loaded countries. An empty or unknown region throws std::invalid_argument.
Definition at line 365 of file countrygen.hpp.
| bool dasmig::country_request::weighted {true} |
Population-weighted selection (default); false selects uniformly.
Definition at line 368 of file countrygen.hpp.