Base Framework
|
#include <base/Guid.h>
Public Types | |
enum | { SIZE = 16 } |
Public Member Functions | |
Guid () noexcept | |
Guid (const uint8(&_guid)[SIZE]) noexcept | |
Guid (const Guid &_copy) noexcept | |
Guid & | operator= (const Guid &assign) noexcept |
bool | operator== (const Guid &compare) const noexcept |
bool | operator!= (const Guid &compare) const noexcept |
bool | isNull () const noexcept |
String | toString () const |
operator String () const | |
const uint8 * | getBytes () const noexcept |
Static Public Member Functions | |
static Guid | createGuid () noexcept |
static String | createGuidAsString () |
static Guid | getGuid (const char *_guid) |
static Guid | getGuid (const String &_guid) |
static bool | isGuid (const char *_guid) |
static bool | isGuid (const String &_guid) |
Guid. Used as unique identifier.
|
noexcept |
Initializes as null.
|
staticnoexcept |
Returns a likely unique guid.
|
static |
Returns a likely unique guid as a string.
|
inlinenoexcept |
Returns the identifier.
|
static |
Converts string to guid.
|
static |
Returns true if string is a guid.
|
static |
Returns true if string is a guid.
|
noexcept |
Returns true if the guid is null.
|
inline |
Converts the guid to a string. E.g. "{B429A864-CDFC-4044-BCC1-BDDE18EAF8DE}"
|
noexcept |
Returns true if the identifiers are different.
|
noexcept |
Returns true if the identifiers are identical.
String Guid::toString | ( | ) | const |
Converts the guid to a string. E.g. "{B429A864-CDFC-4044-BCC1-BDDE18EAF8DE}"