|
string | scifir::to_string (const aid &x) |
| Creates a string representation of aid, it's for aid equivalent to the display() function of aid.
|
|
string | scifir::to_string (const aid::type &x) |
| Converts a value of the enum aid::type to its string representation, which can be a single or a pair of letters. The value UNIVERSE returns U. The value GALAXY returns G. The value SOLAR_SYSTEM returns SS. The value PLANET returns P. The value STAR returns ST. The value ASTEROID returns A. The value MOON returns MN. The value METEOR returns MT. The value NONE returns an empty string.
|
|
aid::type | scifir::create_astronomical_type (const string &astronomical_type_abbreviation) |
| Creates an instance of an aid::type with the given string, which is the reverse as the to_string() function of aid::type.
|
|
bool | operator== (const scifir::aid &x, const scifir::aid &y) |
| Returns true if the type and all data are the same between x and y.
|
|
bool | operator!= (const scifir::aid &x, const scifir::aid &y) |
| Returns true if the type or any data is different between x and y.
|
|
bool | operator== (const scifir::aid &x, const string &init_aid) |
| Returns true if x and the aid constructed with init_aid are equal.
|
|
bool | operator!= (const scifir::aid &x, const string &init_aid) |
| Returns true if x and the aid constructed with init_aid are different.
|
|
bool | operator== (const string &init_aid, const scifir::aid &x) |
| Returns true if x and the aid constructed with init_aid are equal.
|
|
bool | operator!= (const string &init_aid, const scifir::aid &x) |
| Returns true if x and the aid constructed with init_aid are different.
|
|
void | operator+= (string &x, const scifir::aid &y) |
| Concatenates the string representation of aid y to the string x.
|
|
string | operator+ (const string &x, const scifir::aid &y) |
| Concatenates x with the string representation of aid y.
|
|
string | operator+ (const scifir::aid &y, const string &x) |
| Concatenates x with the string representation of aid y.
|
|
ostream & | operator<< (ostream &os, const scifir::aid &x) |
| Adds the string representation of the aid x to an output stream os.
|
|
istream & | operator>> (istream &is, scifir::aid &x) |
| Allows that an istream initializes by string an aid x.
|
|