Public Member Functions | |
| CFUUIDRef | GetCFUUIDRef () const |
| Get a CoreFoundation object for the UUID. | |
Constructor/Destructor | |
Constructor. | |
| CP_UUID () | |
| CP_UUID (const CP_UUID &inSrc) | |
| CP_UUID (const CP_UUIDBytes &inUUIDBytes) | |
| CP_UUID (const CP_String &inUUIDString) | |
| ~CP_UUID () | |
| Destructor. | |
Getters | |
| CP_UUIDBytes | GetUUIDBytes () const |
| Get the raw bytes forming the UUID. | |
| CP_String | GetString () const |
| Get a string representation of the UUID. | |
comparison | |
Check for equality | |
| bool | operator== (const CP_UUID &inRhs) const |
| bool | operator!= (const CP_UUID &inRhs) const |
| bool | operator< (const CP_UUID &inRhs) const |
| Order relations (usefull when using UUIDs as key into a map, etc.). | |
| bool | operator<= (const CP_UUID &inRhs) const |
| bool | operator> (const CP_UUID &inRhs) const |
| bool | operator>= (const CP_UUID &inRhs) const |
Assignment | |
Assign a new value to this UUID. | |
| CP_UUID & | operator= (const CP_UUID &inRhs) |
| CP_UUID & | operator= (const CP_UUIDBytes &inRhs) |
Constructor/Destructor | |
Constructor. | |
| CP_UUID (CFUUIDRef inUUIDRef) | |
| Construct a UUID object from a CoreFoundation UUID object reference. | |
Constructor/Destructor | |
Constructor. | |
| CP_UUID (const GUID &inSrc) | |
| Construct a UUID object from a Windows GUID object reference. | |
Getters | |
| GUID | GetGUID () const |
| Get the GUID (Windows GUID) object. | |
Assignment | |
Assign a new value to this UUID from a Windows GUID | |
| CP_UUID & | operator= (const GUID &rhs) |
Static Public Member Functions | |
| static CP_UUID | Create () |
| Creates a unique ID. | |
Static Public Attributes | |
| static const CP_UUID | null |
| the 'null' UUID consisting of only zero bytes | |
Protected Member Functions | |
| void | AssertCFUUIDRef () const |
| Assert we have a CoreFoundation object for the UUID. | |
Protected Attributes | |
| CP_UUIDBytes | fBytes |
| the bytes that form the UUID | |
Private Attributes | |
| CFUUIDRef | fUUIDRef |
| the CoreFoundation object reference for this UUID | |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Creates a CP_UUID object from a CoreFoundation UUID reference. Retains the CF reference as needed.
|
|
|
Creates a CP_UUID object from a Windows GUID reference.
|
|
|
Creates a new, unique UUID.
|
|
|
Copy the raw bytes that form the UUID. Useful to pass to functions that expect the raw bytes or e.g. when storing UUIDs.
|
|
|
Constructs a string representation for the UUID in the standard format (e.g. "A6B41150-63E8-11D9-99B7-000393D77230")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Returns a reference to a CoreFoundation UUID object for this ID. This object is owned by CP_UUID, so you need to retain it if you want to hold onto it.
|
|
|
|
|
|
Get the information in a GUID (Windows GUID) form.
|
|
|
|
|
|
|
|
|
|
|
|
|
1.4.0