|
string | scifir::to_string (const zid &x) |
| Returns a string representation of zid, same as display().
|
|
string | scifir::to_string (const zid::type &x) |
| Converts a value of the enum zid::type to its string representation, which is a single letter. The value COUNTRY returns C. The value REGION returns R. The value SETTLEMENT returns S. The value ZONE returns Z.
|
|
zid::type | scifir::create_zone_type (const string &zone_type_abbreviation) |
| Creates an instance of a zid::type with the given string, which is the reverse as the to_string() function of zid::type.
|
|
bool | operator== (const scifir::zid &x, const scifir::zid &y) |
| Returns true if the type and all data are the same between x and y.
|
|
bool | operator!= (const scifir::zid &x, const scifir::zid &y) |
| Returns true if the type or any data is different between x and y.
|
|
bool | operator== (const scifir::zid &x, const string &init_zid_full) |
| Returns true if x and the zid constructed with init_zid_full are equal.
|
|
bool | operator!= (const scifir::zid &x, const string &init_zid_full) |
| Returns true if x and the zid constructed with init_zid_full are different.
|
|
bool | operator== (const string &init_zid_full, const scifir::zid &x) |
| Returns true if x and the zid constructed with init_zid_full are equal.
|
|
bool | operator!= (const string &init_zid_full, const scifir::zid &x) |
| Returns true if x and the zid constructed with init_zid_full are different.
|
|
void | operator+= (string &x, const scifir::zid &y) |
| Concatenates the string representation of zid y to the string x.
|
|
string | operator+ (const string &x, const scifir::zid &y) |
| Concatenates x with the string representation of zid y.
|
|
string | operator+ (const scifir::zid &y, const string &x) |
| Concatenates x with the string representation of zid y.
|
|
ostream & | operator<< (ostream &os, const scifir::zid &x) |
| Adds the string representation of the zid x to an output stream os.
|
|
istream & | operator>> (istream &is, scifir::zid &x) |
| Allows that an istream initializes by string a zid x.
|
|