|
Address Generator 2.1.2
Postal addresses with real streets by place, laid out in each country's format for C++23
|
What a street call asks for: the street an address in that place would have. Same fields as address_request, without the unit and script. More...
#include <addressgen.hpp>
Public Attributes | |
| std::optional< std::string > | country {std::nullopt} |
| ISO 3166-1 alpha-2, or drawn when absent. | |
| std::optional< place_ref > | place {std::nullopt} |
| Anchor to this place instead of drawing one. | |
| bool | weighted {true} |
| Streets by address count; false is uniform. | |
| address_script | script {address_script::local} |
latin gives the Latin name where the data has one. | |
What a street call asks for: the street an address in that place would have. Same fields as address_request, without the unit and script.
Definition at line 96 of file addressgen.hpp.
| std::optional<std::string> dasmig::street_request::country {std::nullopt} |
ISO 3166-1 alpha-2, or drawn when absent.
Definition at line 98 of file addressgen.hpp.
| std::optional<place_ref> dasmig::street_request::place {std::nullopt} |
Anchor to this place instead of drawing one.
Definition at line 99 of file addressgen.hpp.
| address_script dasmig::street_request::script {address_script::local} |
latin gives the Latin name where the data has one.
Definition at line 101 of file addressgen.hpp.
| bool dasmig::street_request::weighted {true} |
Streets by address count; false is uniform.
Definition at line 100 of file addressgen.hpp.