|
TrueReality
v0.1.1912
|
An implementation class for GUID. More...
Public Member Functions | |
| implId (bool createNewId) | |
| Constructor. More... | |
| implId (const implId &toCopy) | |
| Makes a copy of the passed in Unique ID GUID. More... | |
| implId (const std::string &toCopy) | |
| Constructor. More... | |
| const std::string | ToString () const |
| Convert this object into a string representation. More... | |
| void | FromString (const std::string &idString) |
| Initializes this object from the given string. More... | |
| bool | IsNull () const |
| Returns true if the GUID is equal to 00000000-0000-0000-0000-000000000000. More... | |
| uint8_t * | GetData () |
| Gets the internal data array that holds the GUID bits. More... | |
| implId & | operator= (const implId &id) |
| Assignment operator. More... | |
| implId & | operator= (const implId *id) |
| Assignment operator. More... | |
| implId & | operator= (const std::string &id) |
| Assignment operator. More... | |
| bool | operator== (const implId &id) const |
| Equality operator. More... | |
| bool | operator!= (const implId &id) const |
| Inequality operator. More... | |
| bool | operator< (const implId &id) const |
| Less-than comparison operator. More... | |
| bool | operator> (const implId &id) const |
| Greater-than comparison operator. More... | |
Private Attributes | |
| bID::uuids::uuid | mGUID |
An implementation class for GUID.
Definition at line 42 of file UniqueId.cpp.
|
inlineexplicit |
Constructor.
| createNewId | if true, generates a new id. If not, it sets the id to empty. |
Definition at line 53 of file UniqueId.cpp.
References mGUID.
Referenced by trBase::UniqueId::UniqueId().

|
inline |
Makes a copy of the passed in Unique ID GUID.
| toCopy | to copy. |
Definition at line 70 of file UniqueId.cpp.
|
inlineexplicit |
|
inline |
Initializes this object from the given string.
| [in,out] | idString | The identifier string. |
Definition at line 106 of file UniqueId.cpp.
References mGUID.
Referenced by trBase::UniqueId::FromString().

|
inline |
Gets the internal data array that holds the GUID bits.
Definition at line 130 of file UniqueId.cpp.
References mGUID.
Referenced by trBase::UniqueId::UniqueId().

|
inline |
Returns true if the GUID is equal to 00000000-0000-0000-0000-000000000000.
Definition at line 118 of file UniqueId.cpp.
References mGUID.
Referenced by trBase::UniqueId::IsNull().

|
inline |
Inequality operator.
| id | The identifier. |
Definition at line 213 of file UniqueId.cpp.
References mGUID.
|
inline |
Less-than comparison operator.
| id | The identifier. |
Definition at line 227 of file UniqueId.cpp.
References mGUID.
Assignment operator.
| id | The identifier. |
Definition at line 144 of file UniqueId.cpp.
References mGUID.
Assignment operator.
| id | The identifier. |
Definition at line 164 of file UniqueId.cpp.
References mGUID.
|
inline |
Assignment operator.
| id | The identifier. |
Definition at line 184 of file UniqueId.cpp.
References mGUID.
|
inline |
Equality operator.
| id | The identifier. |
Definition at line 199 of file UniqueId.cpp.
References mGUID.
|
inline |
Greater-than comparison operator.
| id | The identifier. |
Definition at line 241 of file UniqueId.cpp.
References mGUID.
|
inline |
Convert this object into a string representation.
Definition at line 94 of file UniqueId.cpp.
References mGUID.
Referenced by trBase::UniqueId::ToString().

|
private |
Definition at line 247 of file UniqueId.cpp.
Referenced by FromString(), GetData(), implId(), IsNull(), operator!=(), operator<(), operator=(), operator==(), operator>(), and ToString().