UUID Class Reference

Universally Unique Identifier class with string formatting. More...

#include <types.h>

Inheritance diagram for UUID:

Identifier< 16 > RefCount IRefCount List of all members.

Public Member Functions

 UUID ()
 Construct a new UUID with a new unique value.
 UUID (const UInt8 *ID)
 Construct a UUID from a sequence of bytes.
 UUID (const SmartPtr< UUID > ID)
 Construct a UUID as a copy of another UUID.
 UUID (const UUID &RHS)
 Copy constructor.
 UUID (const UL &RHS)
 Construct a UUID from an end-swapped UL.
 UUID (const ULPtr &RHS)
 Construct a UUID from an end-swapped UL.
 UUID (const UL *RHS)
 Construct a UUID from an end-swapped UL.
UUIDoperator= (const UL &RHS)
 Set a UUID from a UL, does end swapping.
UUIDoperator= (const ULPtr &RHS)
 Set a UUID from a UL, does end swapping.
UUIDoperator= (const UL *RHS)
 Set a UUID from a UL, does end swapping.
std::string GetString (void) const
 Produce a human-readable string in one of the "standard" formats.

Detailed Description

Universally Unique Identifier class with string formatting.


Constructor & Destructor Documentation

UUID (  )  [inline]

Construct a new UUID with a new unique value.

UUID ( const UInt8 ID  )  [inline]

Construct a UUID from a sequence of bytes.

Note:
The byte string must contain at least 16 bytes or errors will be produced when it is used

UUID ( const SmartPtr< UUID ID  )  [inline]

Construct a UUID as a copy of another UUID.

UUID ( const UUID RHS  )  [inline]

Copy constructor.

UUID ( const UL RHS  )  [inline]

Construct a UUID from an end-swapped UL.

UUID ( const ULPtr RHS  )  [inline]

Construct a UUID from an end-swapped UL.

UUID ( const UL RHS  )  [inline]

Construct a UUID from an end-swapped UL.


Member Function Documentation

UUID& operator= ( const UL RHS  )  [inline]

Set a UUID from a UL, does end swapping.

UUID& operator= ( const ULPtr RHS  )  [inline]

Set a UUID from a UL, does end swapping.

UUID& operator= ( const UL RHS  )  [inline]

Set a UUID from a UL, does end swapping.

std::string GetString ( void   )  const [inline]

Produce a human-readable string in one of the "standard" formats.

Reimplemented from Identifier< 16 >.


The documentation for this class was generated from the following file:
Generated on Mon Apr 2 15:21:02 2007 for MXFLib by  doxygen 1.5.1-p1