EtcPal  HEAD (unstable)
ETC Platform Abstraction Layer (EtcPal)
View other versions:
uuid.h File Reference

Overview

C++ wrapper and utilities for etcpal/uuid.h.

Go to the source code of this file.

Data Structures

class  Uuid
 A wrapper class for the EtcPal UUID type. More...
 

Enumerations

enum class  UuidVersion {
  kV1 = 1 , kV2 = 2 , kV3 = 3 , kV4 = 4 ,
  kV5 = 5 , kUnknown
}
 Represents a UUID version as defined in RFC 4122. More...
 

Functions

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
 

Enumeration Type Documentation

◆ UuidVersion

enum UuidVersion
strong

Represents a UUID version as defined in RFC 4122.

Enumerator
kV1 

Version 1 UUID: Date-time and MAC address.

kV2 

Version 2 UUID: DCE Security version (rarely used)

kV3 

Version 3 UUID: Namespace-based, MD5.

kV4 

Version 4 UUID: Random.

kV5 

Version 5 UUID: Namespace-based, SHA-1.

kUnknown 

Unknown UUID version.