EtcPal  0.3.0
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 {
  V1 = 1 , V2 = 2 , V3 = 3 , V4 = 4 ,
  V5 = 5 , Unknown
}
 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
V1 

Version 1 UUID: Date-time and MAC address.

V2 

Version 2 UUID: DCE Security version (rarely used)

V3 

Version 3 UUID: Namespace-based, MD5.

V4 

Version 4 UUID: Random.

V5 

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

Unknown 

Unknown UUID version.