|
Qpid Proton C++
0.17.0
|
A 16-byte universally unique identifier. More...
#include <uuid.hpp>
Public Member Functions | |
| std::string | str () const |
| UUID standard string format: 8-4-4-4-12 (36 chars, 32 alphanumeric chars and 4 hypens). More... | |
Array operators | |
| value_type * | begin () |
| const value_type * | begin () const |
| value_type * | end () |
| const value_type * | end () const |
| value_type & | operator[] (size_t i) |
| const value_type & | operator[] (size_t i) const |
Static Public Member Functions | |
| static uuid | copy () |
| Make a copy. | |
| static uuid | copy (const char *bytes) |
| Return a uuid copied from bytes. More... | |
| static uuid | random () |
| Return a simple randomly-generated UUID. More... | |
| static size_t | size () |
| Size of the array. | |
A 16-byte universally unique identifier.
|
static |
Return a uuid copied from bytes.
Bytes must point to at least 16 bytes. If bytes == 0 the UUID is zero-initialized.
|
static |
Return a simple randomly-generated UUID.
This is used by the Proton library to generate default UUIDs.
For specific security, performance, or uniqueness requirements, you may want to use a better UUID generator or some other form of identifier entirely.
| std::string str | ( | ) | const |
UUID standard string format: 8-4-4-4-12 (36 chars, 32 alphanumeric chars and 4 hypens).