|
|
| Uuid () |
| | create nil uuid
|
| |
| | Uuid (const char *uuidStr) |
| | create uuid from string More...
|
| |
|
| Uuid (const boost::uuids::uuid &impl) |
| |
|
| Uuid (const Uuid &origin) |
| |
| std::string | toString () const |
| | generate string from uuid More...
|
| |
| bool | isNil () const |
| | checking if uuid is nil (00000000-0000-0000-0000-000000000000) More...
|
| |
| uint8_t & | operator[] (size_t i) const |
| | raw data access. More...
|
| |
|
size_t | size () const |
| |
|
Uuid & | operator= (const Uuid &rhs) |
| |
|
bool | operator< (const Uuid &rhs) const |
| |
|
bool | operator== (const Uuid &rhs) const |
| |
|
bool | operator!= (const Uuid &rhs) const |
| |
◆ Uuid()
| Uuid::Uuid |
( |
const char * |
uuidStr | ) |
|
|
explicit |
create uuid from string
- Parameters
-
| uuidStr | string representation of uuid. Posible formats: "{01234567-89ab-cdef-0123-456789abcdef}", "01234567-89ab-cdef-0123-456789abcdef" and "0123456789abcdef0123456789abcdef"; |
◆ isNil()
| bool Uuid::isNil |
( |
| ) |
const |
checking if uuid is nil (00000000-0000-0000-0000-000000000000)
- Returns
- true if uuid is nil.
◆ operator[]()
| uint8_t& Uuid::operator[] |
( |
size_t |
i | ) |
const |
raw data access.
Entirely in a big-endian format. For example, 00112233-4455-6677-8899-aabbccddeeff is encoded as the bytes 00 11 22 33 44 55 66 77 88 99 aa bb cc dd ee ff
- Parameters
-
- Returns
- reference to raw data at index
◆ toString()
| std::string Uuid::toString |
( |
| ) |
const |
generate string from uuid
- Returns
- string representation of uuid. Example output: 01234567-89ab-cdef-0123-456789abcdef
The documentation for this class was generated from the following file:
- C:/CProjects/Libs/CommonLib/include/commonlib/datatypes/uuid.h