#include <UUID.h>
Classes | |
struct | data |
Data Members for Class Attributes. More... | |
Public Types | |
enum | { BINARY_SIZE = 16 } |
The size of a binary UUID. More... | |
Public Member Functions | |
UUID (void) | |
Constructor. | |
UUID (const ACE_CString &uuidString) | |
Constructs a UUID from a string representation. | |
UUID (const UUID &right) | |
~UUID (void) | |
ACE_UINT32 | time_low (void) const |
void | time_low (ACE_UINT32) |
ACE_UINT16 | time_mid (void) const |
void | time_mid (ACE_UINT16) |
ACE_UINT16 | time_hi_and_version (void) const |
void | time_hi_and_version (ACE_UINT16) |
u_char | clock_seq_hi_and_reserved (void) const |
void | clock_seq_hi_and_reserved (u_char) |
u_char | clock_seq_low (void) const |
void | clock_seq_low (u_char) |
UUID_Node & | node (void) |
const UUID_Node & | node (void) const |
void | node (const UUID_Node &node) |
ACE_CString * | thr_id (void) |
void | thr_id (char *) |
ACE_CString * | pid (void) |
void | pid (char *) |
const ACE_CString * | to_string (void) const |
Returns a string representation of the UUID. | |
void | from_string (const ACE_CString &uuid_string) |
Set the value using a string. | |
bool | operator== (const UUID &right) const |
Equality Operations. | |
bool | operator!= (const UUID &right) const |
unsigned long | hash (void) const |
Compute a hash value for the UUID. | |
const UUID & | operator= (const UUID &rhs) |
Assign an existing UUID to this UUID. | |
Static Public Attributes | |
static const UUID | NIL_UUID |
NIL UUID. | |
Private Member Functions | |
void | init (void) |
Initialize the UUID. | |
void | from_string_i (const ACE_CString &uuid_string) |
Private Attributes | |
struct ACE_Utils::UUID::data | uuid_ |
Data Members for Class Attributes. | |
ACE_CString | thr_id_ |
ACE_CString | pid_ |
ACE_Auto_Ptr< ACE_CString > | as_string_ |
anonymous enum |
ACE_Utils::UUID::UUID | ( | void | ) |
Constructor.
ACE_Utils::UUID::UUID | ( | const ACE_CString & | uuidString | ) |
Constructs a UUID from a string representation.
ACE_Utils::UUID::UUID | ( | const UUID & | right | ) |
ACE_Utils::UUID::~UUID | ( | void | ) |
void ACE_Utils::UUID::clock_seq_hi_and_reserved | ( | u_char | clock_seq_hi_and_reserved | ) |
u_char ACE_Utils::UUID::clock_seq_hi_and_reserved | ( | void | ) | const |
void ACE_Utils::UUID::clock_seq_low | ( | u_char | clock_seq_low | ) |
u_char ACE_Utils::UUID::clock_seq_low | ( | void | ) | const |
void ACE_Utils::UUID::from_string | ( | const ACE_CString & | uuid_string | ) |
Set the value using a string.
void ACE_Utils::UUID::from_string_i | ( | const ACE_CString & | uuid_string | ) | [private] |
unsigned long ACE_Utils::UUID::hash | ( | void | ) | const |
Compute a hash value for the UUID.
void ACE_Utils::UUID::init | ( | void | ) | [private] |
Initialize the UUID.
void ACE_Utils::UUID::node | ( | const UUID_Node & | node | ) |
const UUID_Node & ACE_Utils::UUID::node | ( | void | ) | const |
UUID_Node & ACE_Utils::UUID::node | ( | void | ) |
bool ACE_Utils::UUID::operator!= | ( | const UUID & | right | ) | const |
bool ACE_Utils::UUID::operator== | ( | const UUID & | right | ) | const |
Equality Operations.
void ACE_Utils::UUID::pid | ( | char * | pid | ) |
ACE_CString * ACE_Utils::UUID::pid | ( | void | ) |
void ACE_Utils::UUID::thr_id | ( | char * | thr_id | ) |
ACE_CString * ACE_Utils::UUID::thr_id | ( | void | ) |
void ACE_Utils::UUID::time_hi_and_version | ( | ACE_UINT16 | time_hi_and_version | ) |
ACE_UINT16 ACE_Utils::UUID::time_hi_and_version | ( | void | ) | const |
void ACE_Utils::UUID::time_low | ( | ACE_UINT32 | timelow | ) |
ACE_UINT32 ACE_Utils::UUID::time_low | ( | void | ) | const |
void ACE_Utils::UUID::time_mid | ( | ACE_UINT16 | time_mid | ) |
ACE_UINT16 ACE_Utils::UUID::time_mid | ( | void | ) | const |
const ACE_CString * ACE_Utils::UUID::to_string | ( | void | ) | const |
Returns a string representation of the UUID.
ACE_Auto_Ptr<ACE_CString> ACE_Utils::UUID::as_string_ [mutable, private] |
The string representation of the UUID. This is created and updated only on demand.
const UUID ACE_Utils::UUID::NIL_UUID [static] |
NIL UUID.
ACE_CString ACE_Utils::UUID::pid_ [private] |
ACE_CString ACE_Utils::UUID::thr_id_ [private] |
struct ACE_Utils::UUID::data ACE_Utils::UUID::uuid_ [private] |
Data Members for Class Attributes.