qpid::types::Uuid Class Reference
#include <qpid/types/Uuid.h>
List of all members.
Classes |
struct | Hasher |
| Hasher for use with unordered_map. More...
|
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.
|
| Uuid (const char *data16) |
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 |
size_t | hash () const |
| Hash value suitable for use with unordered_map.
|
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.
qpid::types::Uuid::Uuid |
( |
const char * |
data16 |
) |
|
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.
size_t qpid::types::Uuid::hash |
( |
|
) |
const |
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: