HephAudio v3.0.6
A cross-platform C++ library for recording, playing, and processing audio on Windows, Android, Linux, iOS, and macOS.
Loading...
Searching...
No Matches
Heph::Guid Struct Reference

struct for storing globally unique identifiers. More...

#include <Guid.h>

Public Member Functions

constexpr Guid ()
 
constexpr bool operator== (const Guid &rhs) const
 
constexpr bool operator!= (const Guid &rhs) const
 

Static Public Member Functions

static Guid GenerateNew ()
 

Public Attributes

uint32_t data1
 
uint16_t data2
 
uint16_t data3
 
uint8_t data4 [8]
 

Detailed Description

struct for storing globally unique identifiers.

Constructor & Destructor Documentation

◆ Guid()

Heph::Guid::Guid ( )
inlineconstexpr

creates a new instance and initializes it with default values.

Member Function Documentation

◆ GenerateNew()

static Guid Heph::Guid::GenerateNew ( )
static

generates a new random GUID.

Member Data Documentation

◆ data1

uint32_t Heph::Guid::data1

first part of the GUID.

◆ data2

uint16_t Heph::Guid::data2

second part of the GUID.

◆ data3

uint16_t Heph::Guid::data3

third part of the GUID.

◆ data4

uint8_t Heph::Guid::data4[8]

fourth part of the GUID.