The uuid class.
More...
#include <uuid.h>
◆ uuid() [1/4]
UUID::uuid::uuid |
( |
const uuid & |
other | ) |
|
◆ uuid() [2/4]
UUID::uuid::uuid |
( |
const uint8_t * |
raw | ) |
|
◆ uuid() [3/4]
UUID::uuid::uuid |
( |
const char * |
c_str | ) |
|
◆ uuid() [4/4]
UUID::uuid::uuid |
( |
std::string |
str | ) |
|
◆ bytes()
const uint8_t * UUID::uuid::bytes |
( |
| ) |
const |
◆ hex()
std::string UUID::uuid::hex |
( |
| ) |
const |
uuid::hex
- Returns
output this UUID as a hex string
◆ node()
uint64_t UUID::uuid::node |
( |
| ) |
const |
◆ operator=()
uuid & UUID::uuid::operator= |
( |
const uuid & |
other | ) |
|
◆ sequence()
uint16_t UUID::uuid::sequence |
( |
| ) |
const |
◆ setBytes()
void UUID::uuid::setBytes |
( |
const uint8_t * |
raw | ) |
|
◆ string()
std::string UUID::uuid::string |
( |
| ) |
const |
uuid::string
- Returns
output this UUID as formated hex string
◆ time()
uint64_t UUID::uuid::time |
( |
| ) |
const |
◆ type()
Type UUID::uuid::type |
( |
| ) |
const |
◆ urn()
std::string UUID::uuid::urn |
( |
| ) |
const |
uuid::urn
- Returns
output this UUID as a urn specified in RFC 4122
◆ uuid1()
uint16_t UUID::uuid::uuid1 |
( |
uint64_t |
node, |
|
|
uint16_t |
clock_seq |
|
) |
| |
|
virtual |
uuid::uuid1
- Parameters
-
- Returns
- incrimented clock_sequence
node ID and clock sequence tracking are the responsibility of the caller
◆ uuid4()
void UUID::uuid::uuid4 |
( |
| ) |
|
|
virtual |
Version 4 (RANDOM) UUID.
a very low quality random
◆ version()
uint16_t UUID::uuid::version |
( |
| ) |
const |
◆ operator==
bool operator== |
( |
const uuid & |
a, |
|
|
const uuid & |
b |
|
) |
| |
|
friend |
operator ==
- Parameters
-
- Returns
The documentation for this class was generated from the following files:
- /home/kevin/Code/viewer/lib/OpenLCP/protocols/uuid/uuid.h
- /home/kevin/Code/viewer/lib/OpenLCP/protocols/uuid/uuid.cpp