IgANet
IgANets - Isogeometric Analysis Networks
Loading...
Searching...
No Matches
iganet::utils::uuid Class Reference

#include </home/runner/work/iganet/iganet/include/utils/uuid.hpp>

Static Public Member Functions

static std::string create ()
 Generates a uuid string in the form b9317db-02a2-4882-9b94-d1e1defe8c56.
 

Static Private Member Functions

static unsigned int random_char ()
 Generates a safe pseudo-random character.
 
static std::string random_hex (const unsigned int len)
 Generates a string of random hex chars.
 

Member Function Documentation

◆ create()

static std::string iganet::utils::uuid::create ( )
inlinestatic

Generates a uuid string in the form b9317db-02a2-4882-9b94-d1e1defe8c56.

Returns
std::string

◆ random_char()

static unsigned int iganet::utils::uuid::random_char ( )
inlinestaticprivate

Generates a safe pseudo-random character.

Returns
unsigned int

◆ random_hex()

static std::string iganet::utils::uuid::random_hex ( const unsigned int  len)
inlinestaticprivate

Generates a string of random hex chars.

Parameters
[in]lenLength in bytes
Returns
std::string String random hex chars (2x length of the bytes)

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