|
Address Generator 2.1.2
Postal addresses with real streets by place, laid out in each country's format for C++23
|
What a postcode call asks for. 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} |
| Postcodes by their weight; false is uniform. | |
What a postcode call asks for.
Definition at line 105 of file addressgen.hpp.
| std::optional<std::string> dasmig::postcode_request::country {std::nullopt} |
ISO 3166-1 alpha-2, or drawn when absent.
Definition at line 107 of file addressgen.hpp.
| std::optional<place_ref> dasmig::postcode_request::place {std::nullopt} |
Anchor to this place instead of drawing one.
Definition at line 108 of file addressgen.hpp.
| bool dasmig::postcode_request::weighted {true} |
Postcodes by their weight; false is uniform.
Definition at line 109 of file addressgen.hpp.