libcommonc++  0.7
UUID Class Reference

A universally unique identifier. More...

#include <UUID.h++>

Public Member Functions

 UUID ()
 Construct a new UUID. More...
 
 ~UUID ()
 Destructor. More...
 
const byte_tgetBytes () const
 Get the UUID bytes. More...
 
String toString () const
 Get a String representation of the UUID. More...
 

Detailed Description

A universally unique identifier.

Author
Mark Lindner

Constructor & Destructor Documentation

◆ UUID()

UUID ( )

Construct a new UUID.

◆ ~UUID()

~UUID ( )

Destructor.

Member Function Documentation

◆ getBytes()

const byte_t* getBytes ( ) const
inline

Get the UUID bytes.

Returns
A 16-byte array containing the UUID.

◆ toString()

String toString ( ) const

Get a String representation of the UUID.

Returns
A string of the form XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX, where each X is a hexadecimal digit.

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