Hermes 0.7.0
Linux game streaming host
Loading...
Searching...
No Matches
uuid_util::uuid_t Union Reference

Public Member Functions

std::string string () const
constexpr bool operator== (const uuid_t &other) const
constexpr bool operator< (const uuid_t &other) const
constexpr bool operator> (const uuid_t &other) const

Static Public Member Functions

static uuid_t generate (std::default_random_engine &engine)
static uuid_t generate ()
static uuid_t parse (std::string &uuid_str)

Public Attributes

std::uint8_t b8 [16]
std::uint16_t b16 [8]
std::uint32_t b32 [4]
std::uint64_t b64 [2]

Detailed Description

Definition at line 15 of file uuid.h.

Member Function Documentation

◆ generate() [1/2]

uuid_t uuid_util::uuid_t::generate ( )
inlinestatic

Definition at line 35 of file uuid.h.

◆ generate() [2/2]

uuid_t uuid_util::uuid_t::generate ( std::default_random_engine & engine)
inlinestatic

Definition at line 21 of file uuid.h.

◆ operator<()

bool uuid_util::uuid_t::operator< ( const uuid_t & other) const
inlineconstexpr

Definition at line 108 of file uuid.h.

◆ operator==()

bool uuid_util::uuid_t::operator== ( const uuid_t & other) const
inlineconstexpr

Definition at line 104 of file uuid.h.

◆ operator>()

bool uuid_util::uuid_t::operator> ( const uuid_t & other) const
inlineconstexpr

Definition at line 112 of file uuid.h.

◆ parse()

uuid_t uuid_util::uuid_t::parse ( std::string & uuid_str)
inlinestatic

Definition at line 44 of file uuid.h.

◆ string()

std::string uuid_util::uuid_t::string ( ) const
inlinenodiscard

Definition at line 77 of file uuid.h.

Member Data Documentation

◆ b16

std::uint16_t uuid_util::uuid_t::b16[8]

Definition at line 17 of file uuid.h.

◆ b32

std::uint32_t uuid_util::uuid_t::b32[4]

Definition at line 18 of file uuid.h.

◆ b64

std::uint64_t uuid_util::uuid_t::b64[2]

Definition at line 19 of file uuid.h.

◆ b8

std::uint8_t uuid_util::uuid_t::b8[16]

Definition at line 16 of file uuid.h.


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