Victor
|
Implements object id. With a "number" a "name" and a "counter". More...
Public Member Functions | |
operator const string & () const | |
operator long () const | |
Identity & | operator= (const Identity &orig) |
bool | operator== (const Identity &other) const |
void | setName (string _name) |
void | setNumber (long _number) |
Implements object id. With a "number" a "name" and a "counter".
operator const string & | ( | ) | const |
Cast to string. Cast to string&.
operator long | ( | ) | const |
Cast to int.
bool operator== | ( | const Identity & | other | ) | const |
Comparison.
void setName | ( | string | _name | ) |
Set a new name.
void setNumber | ( | long | _number | ) |
Set a new number.