qpid::types::Uuid Class Reference
#include <qpid/types/Uuid.h>
List of all members.
Public Member Functions |
| | Uuid (bool unique=false) |
| | If unique is true, this will generate a new unique uuid, if not it will construct a null uuid.
|
| | Uuid (const Uuid &) |
| Uuid & | operator= (const Uuid &) |
| | Uuid (const unsigned char *data16) |
| | Copy the UUID from data16, which must point to a 16-byte UUID.
|
| void | generate () |
| | Set to a new unique identifier.
|
| void | clear () |
| | Set to all zeros.
|
| bool | isNull () const |
| | Test for null (all zeros).
|
| | operator bool () const |
| bool | operator! () const |
| std::string | str () const |
| | String value in format 1b4e28ba-2fa1-11d2-883f-b9a761bde3fb.
|
| size_t | size () const |
| const unsigned char * | data () const |
Static Public Attributes |
| static const size_t | SIZE |
Friends |
| bool | operator== (const Uuid &, const Uuid &) |
| bool | operator!= (const Uuid &, const Uuid &) |
| bool | operator< (const Uuid &, const Uuid &) |
| bool | operator> (const Uuid &, const Uuid &) |
| bool | operator<= (const Uuid &, const Uuid &) |
| bool | operator>= (const Uuid &, const Uuid &) |
| std::ostream & | operator<< (std::ostream &, Uuid) |
| std::istream & | operator>> (std::istream &, Uuid &) |
Detailed Description
Definition at line 32 of file Uuid.h.
Constructor & Destructor Documentation
| qpid::types::Uuid::Uuid |
( |
bool |
unique = false |
) |
|
If unique is true, this will generate a new unique uuid, if not it will construct a null uuid.
| qpid::types::Uuid::Uuid |
( |
const Uuid & |
|
) |
|
| qpid::types::Uuid::Uuid |
( |
const unsigned char * |
data16 |
) |
|
Copy the UUID from data16, which must point to a 16-byte UUID.
Member Function Documentation
| void qpid::types::Uuid::clear |
( |
|
) |
|
| const unsigned char* qpid::types::Uuid::data |
( |
|
) |
const |
| void qpid::types::Uuid::generate |
( |
|
) |
|
Set to a new unique identifier.
| bool qpid::types::Uuid::isNull |
( |
|
) |
const |
Test for null (all zeros).
| qpid::types::Uuid::operator bool |
( |
|
) |
const |
| bool qpid::types::Uuid::operator! |
( |
|
) |
const |
| Uuid& qpid::types::Uuid::operator= |
( |
const Uuid & |
|
) |
|
| size_t qpid::types::Uuid::size |
( |
|
) |
const |
| std::string qpid::types::Uuid::str |
( |
|
) |
const |
String value in format 1b4e28ba-2fa1-11d2-883f-b9a761bde3fb.
Friends And Related Function Documentation
| bool operator!= |
( |
const Uuid & |
, |
|
|
const Uuid & |
| |
|
) |
| | [friend] |
| bool operator< |
( |
const Uuid & |
, |
|
|
const Uuid & |
| |
|
) |
| | [friend] |
| std::ostream& operator<< |
( |
std::ostream & |
, |
|
|
Uuid |
| |
|
) |
| | [friend] |
| bool operator<= |
( |
const Uuid & |
, |
|
|
const Uuid & |
| |
|
) |
| | [friend] |
| bool operator== |
( |
const Uuid & |
, |
|
|
const Uuid & |
| |
|
) |
| | [friend] |
| bool operator> |
( |
const Uuid & |
, |
|
|
const Uuid & |
| |
|
) |
| | [friend] |
| bool operator>= |
( |
const Uuid & |
, |
|
|
const Uuid & |
| |
|
) |
| | [friend] |
| std::istream& operator>> |
( |
std::istream & |
, |
|
|
Uuid & |
| |
|
) |
| | [friend] |
Member Data Documentation
The documentation for this class was generated from the following file: