EtcPal
HEAD (unstable)
ETC Platform Abstraction Layer (EtcPal)
|
View other versions:
|
C++ utilities for the uuid (UUIDs) module.
Provides a class Uuid for generating and inspecting Universal Unique Identifiers (UUIDs).
Default-constructed Uuid instances will be all-zeros ("null"):
To generate a specific type of UUID, use the static generator functions:
Note: Uuid::V3(), Uuid::V5() and Uuid::Device() are guaranteed to be implemented on all systems. Uuid::V1(), Uuid::V4() and Uuid::OsPreferred() may not be available on embedded devices. If not implemented, these functions will return a null Uuid. For more information, see the uuid (UUIDs) module.
You can also convert UUIDs to and from strings:
Data Structures | |
class | Uuid |
A wrapper class for the EtcPal UUID type. More... | |
UUID Relational Operators | |
bool | operator== (const EtcPalUuid &c_uuid, const Uuid &uuid) noexcept |
bool | operator!= (const EtcPalUuid &c_uuid, const Uuid &uuid) noexcept |
bool | operator== (const Uuid &uuid, const EtcPalUuid &c_uuid) noexcept |
bool | operator!= (const Uuid &uuid, const EtcPalUuid &c_uuid) noexcept |
bool | operator== (const Uuid &a, const Uuid &b) noexcept |
bool | operator!= (const Uuid &a, const Uuid &b) noexcept |
bool | operator< (const Uuid &a, const Uuid &b) noexcept |
bool | operator> (const Uuid &a, const Uuid &b) noexcept |
bool | operator<= (const Uuid &a, const Uuid &b) noexcept |
bool | operator>= (const Uuid &a, const Uuid &b) noexcept |