ACE_Utils::UUID Class Reference

#include <UUID.h>

Collaboration diagram for ACE_Utils::UUID:

Collaboration graph
[legend]

List of all members.

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
 Data Members for Class Attributes.
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_Nodenode (void) const
void node (UUID_Node *)
ACE_CStringthr_id (void)
void thr_id (char *)
ACE_CStringpid (void)
void pid (char *)
const ACE_CStringto_string (void)
 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

Static Public Attributes

static UUID NIL_UUID

Private Member Functions

void from_string_i (const ACE_CString &uuid_string)
 Relational Operations.
UUIDoperator= (const UUID &)

Private Attributes

ACE_UINT32 time_low_
 Data Members for Class Attributes.
ACE_UINT16 time_mid_
ACE_UINT16 time_hi_and_version_
u_char clock_seq_hi_and_reserved_
u_char clock_seq_low_
UUID_Nodenode_
bool node_release_
ACE_CString thr_id_
ACE_CString pid_
ACE_CStringas_string_


Constructor & Destructor Documentation

ACE_Utils::UUID::UUID ( void   ) 

Constructor.

Construct a nil UUID. Such a UUID has every one of it's data elements set to zero.

ACE_Utils::UUID::UUID ( const ACE_CString uuidString  ) 

Constructs a UUID from a string representation.

Construct a UUID from a string representation of an UUID.

ACE_Utils::UUID::UUID ( const UUID right  ) 

ACE_Utils::UUID::~UUID ( void   ) 


Member Function Documentation

ACE_INLINE ACE_UINT32 ACE_Utils::UUID::time_low ( void   )  const

Data Members for Class Attributes.

ACE_INLINE void ACE_Utils::UUID::time_low ( ACE_UINT32  timelow  ) 

ACE_INLINE ACE_UINT16 ACE_Utils::UUID::time_mid ( void   )  const

ACE_INLINE void ACE_Utils::UUID::time_mid ( ACE_UINT16  time_mid  ) 

ACE_INLINE ACE_UINT16 ACE_Utils::UUID::time_hi_and_version ( void   )  const

ACE_INLINE void ACE_Utils::UUID::time_hi_and_version ( ACE_UINT16  time_hi_and_version  ) 

ACE_INLINE u_char ACE_Utils::UUID::clock_seq_hi_and_reserved ( void   )  const

ACE_INLINE void ACE_Utils::UUID::clock_seq_hi_and_reserved ( u_char  clock_seq_hi_and_reserved  ) 

ACE_INLINE u_char ACE_Utils::UUID::clock_seq_low ( void   )  const

ACE_INLINE void ACE_Utils::UUID::clock_seq_low ( u_char  clock_seq_low  ) 

ACE_INLINE UUID_Node * ACE_Utils::UUID::node ( void   )  const

ACE_INLINE void ACE_Utils::UUID::node ( UUID_Node node  ) 

ACE_INLINE ACE_CString * ACE_Utils::UUID::thr_id ( void   ) 

ACE_INLINE void ACE_Utils::UUID::thr_id ( char *  thr_id  ) 

ACE_INLINE ACE_CString * ACE_Utils::UUID::pid ( void   ) 

ACE_INLINE void ACE_Utils::UUID::pid ( char *  pid  ) 

const ACE_CString * ACE_Utils::UUID::to_string ( void   ) 

Returns a string representation of the UUID.

Only compute the string representation once.

ACE_INLINE void ACE_Utils::UUID::from_string ( const ACE_CString uuid_string  ) 

Set the value using a string.

ACE_INLINE bool ACE_Utils::UUID::operator== ( const UUID right  )  const

Equality Operations.

ACE_INLINE bool ACE_Utils::UUID::operator!= ( const UUID right  )  const

void ACE_Utils::UUID::from_string_i ( const ACE_CString uuid_string  )  [private]

Relational Operations.

Special case for the nil UUID.

Support versions 1, 3, and 4 only

UUID& ACE_Utils::UUID::operator= ( const UUID  )  [private]


Member Data Documentation

ACE_UINT32 ACE_Utils::UUID::time_low_ [private]

Data Members for Class Attributes.

ACE_UINT16 ACE_Utils::UUID::time_mid_ [private]

The string representation of the UUID. This is created and updated only on demand.


The documentation for this class was generated from the following files:

Generated on Wed Apr 23 02:44:13 2008 for ACE by  doxygen 1.5.5