128-bit UUID helper.
More...
#include <RADCore.h>
◆ RADUuid() [1/2]
| RADCore::RADUuid::RADUuid |
( |
| ) |
|
◆ RADUuid() [2/2]
| RADCore::RADUuid::RADUuid |
( |
std::array< uint8_t, 16 > |
bytes | ) |
|
|
explicit |
Creates a UUID from raw bytes.
◆ bytes()
| const std::array<uint8_t, 16>& RADCore::RADUuid::bytes |
( |
| ) |
const |
◆ createUuid()
| static RADUuid RADCore::RADUuid::createUuid |
( |
| ) |
|
|
static |
◆ fromString()
| static std::optional<RADUuid> RADCore::RADUuid::fromString |
( |
const std::string & |
text | ) |
|
|
static |
Parses canonical UUID text.
◆ isNull()
| bool RADCore::RADUuid::isNull |
( |
| ) |
const |
Returns true when all UUID bytes are zero.
◆ toString()
| std::string RADCore::RADUuid::toString |
( |
| ) |
const |
Formats as canonical UUID text.
The documentation for this class was generated from the following file: