Apache Qpid - AMQP Messaging for Java JMS, C++, Python, Ruby, and .NET | Apache Qpid Documentation |
#include <Uuid.h>
Public Member Functions | |
Uuid (bool unique=false) | |
If unique is true, generate a unique ID else a null ID. | |
Uuid (uint8_t *data) | |
Copy from 16 bytes of data. | |
void | assign (uint8_t *data) |
Copy from 16 bytes of data. | |
void | generate () |
Set to a new unique identifier. | |
void | clear () |
Set to all zeros. | |
bool | isNull () |
Test for null (all zeros). | |
void | encode (framing::Buffer &buf) const |
void | decode (framing::Buffer &buf) |
uint32_t | encodedSize () const |
std::string | str () const |
String value in format 1b4e28ba-2fa1-11d2-883f-b9a761bde3fb. | |
template<class S> | |
void | serialize (S &s) |
Full value semantics, operators ==, < etc. are provided by boost::array so Uuid can be the key type in a map etc.
Definition at line 41 of file Uuid.h.
qpid::framing::Uuid::Uuid | ( | bool | unique = false |
) | [inline] |
If unique is true, generate a unique ID else a null ID.
Definition at line 43 of file Uuid.h.
References clear(), and generate().
qpid::framing::Uuid::Uuid | ( | uint8_t * | data | ) | [inline] |
void qpid::framing::Uuid::assign | ( | uint8_t * | data | ) | [inline] |
void qpid::framing::Uuid::clear | ( | ) | [inline] |
void qpid::framing::Uuid::decode | ( | framing::Buffer & | buf | ) |
void qpid::framing::Uuid::encode | ( | framing::Buffer & | buf | ) | const |
void qpid::framing::Uuid::generate | ( | ) | [inline] |
bool qpid::framing::Uuid::isNull | ( | ) | [inline] |
void qpid::framing::Uuid::serialize | ( | S & | s | ) | [inline] |
std::string qpid::framing::Uuid::str | ( | ) | const |
String value in format 1b4e28ba-2fa1-11d2-883f-b9a761bde3fb.