ACE_Utils::UUID Class Reference

#include <UUID.h>

Collaboration diagram for ACE_Utils::UUID:

Collaboration graph

List of all members.

Public Member Functions

 UUID (void)
 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


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_
bool node_release_
ACE_CString thr_id_
ACE_CString pid_

Constructor & Destructor Documentation

ACE_Utils::UUID::UUID ( void   ) 


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

UUID ACE_Utils::UUID::NIL_UUID [static]

ACE_UINT32 ACE_Utils::UUID::time_low_ [private]

Data Members for Class Attributes.

ACE_UINT16 ACE_Utils::UUID::time_mid_ [private]

ACE_UINT16 ACE_Utils::UUID::time_hi_and_version_ [private]

u_char ACE_Utils::UUID::clock_seq_hi_and_reserved_ [private]

u_char ACE_Utils::UUID::clock_seq_low_ [private]

UUID_Node* ACE_Utils::UUID::node_ [private]

bool ACE_Utils::UUID::node_release_ [private]

ACE_CString ACE_Utils::UUID::thr_id_ [private]

ACE_CString ACE_Utils::UUID::pid_ [private]

ACE_CString* ACE_Utils::UUID::as_string_ [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 Fri Dec 14 03:29:12 2007 for ACE by  doxygen 1.5.3-6