Euphoria
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
eu::Guid Struct Reference

Represents a universally unique identifier. More...

Public Member Functions

 Guid ()=default
 Does nothing.
 
constexpr Guid (std::array< u8, 16 > d)
 Set the guid data.
 
constexpr Guid (u32 a, u16 b, u16 c, u16 d, u64 e)
 

Static Public Member Functions

static std::optional< Guidgenerate ()
 

Public Attributes

std::array< u8, 16 > data
 

Detailed Description

Represents a universally unique identifier.

Definition at line 13 of file guid.h.

Constructor & Destructor Documentation

◆ Guid() [1/3]

eu::Guid::Guid ( )
default

Does nothing.

See also
eu::nil_guid

◆ Guid() [2/3]

constexpr eu::Guid::Guid ( std::array< u8, 16 >  d)
inlineexplicitconstexpr

Set the guid data.

Definition at line 23 of file guid.h.

◆ Guid() [3/3]

constexpr eu::Guid::Guid ( u32  a,
u16  b,
u16  c,
u16  d,
u64  e 
)
inlineexplicitconstexpr

Definition at line 28 of file guid.h.

Member Function Documentation

◆ generate()

static std::optional< Guid > eu::Guid::generate ( )
static

Member Data Documentation

◆ data

std::array<u8, 16> eu::Guid::data

Definition at line 15 of file guid.h.


The documentation for this struct was generated from the following file: