|
QSDK 1.1 Documentation |
#include <Q/utils.h>
Public Member Functions | |
| UID () | |
| UID (const UID &ids) | |
| UID (const char *) | |
| UID (unsigned int m, unsigned int t, unsigned int ti) | |
| unsigned int | machineNum () const |
| unsigned int | timeBits () const |
| unsigned int | tickBits () const |
| UID & | operator= (const UID &ids) |
| int | compare (const UID &id) const |
| bool | valid () const |
| Utils::String | asText () const |
| bool | isReserved () const |
| void | generate () |
| void | nullify () |
| int | operator== (const UID &id) const |
| int | operator!= (const UID &id) const |
| int | operator<= (const UID &ids) const |
| int | operator< (const UID &ids) const |
| int | operator> (const UID &ids) const |
| int | operator>= (const UID &ids) const |
Static Public Member Functions | |
| unsigned int | ourMachineNum () |
| void | ourMachineNum (unsigned int) |
| const UID & | nullUID () |
Protected Attributes | |
| unsigned int | machineNum_ |
| unsigned int | timeBits_ |
| unsigned int | tickBits_ |
Static Protected Attributes | |
| unsigned int | ourMachineNum_ |
|
|
Construct a new uninitialised identifier. |
|
|
Construct a copy of an existing unique identifier. |
|
|
Reconstruct a unique ID from its string representation. |
|
||||||||||||||||
|
Create a unique identifier given an existing machine number and time. |
|
|
Convert the identifier to a string. |
|
|
Compare this identifier with another.
|
|
|
Generate a new unique value for the identifier. |
|
|
|
|
|
Returns the machine number. |
|
|
Set the identifier to null. |
|
|
Returns an identifier which is initialised to null. |
|
|
Compare two UIDs. |
|
|
Compare two UIDs. |
|
|
Compare two UIDs. |
|
|
Copy the value of another identifier to this one. |
|
|
Compare two UIDs. |
|
|
Compare two UIDs. |
|
|
Compare two UIDs. |
|
|
Set the default machine number.
|
|
|
Returns the default machine number.
|
|
|
Returns the least-significant time bits. |
|
|
Returns the most-significant time bits. |
|
|
Check validity of this identifier. true if this identifier is non-null. |
|
|
|
Qube Software Limited © 2000-2004
|
|