|
0.45.0
|
#include <iaUUID.h>
Public Member Functions | |
| iaUUID () | |
| iaUUID (const iaUUID &other) | |
| iaUUID (uint64 value) | |
| iaUUID (const iaString &text) | |
| void | reset () |
| bool | operator== (const iaUUID &other) const |
| bool | operator!= (const iaUUID &other) |
| iaUUID | operator= (const iaUUID &other) |
| iaUUID | operator= (uint64 value) |
| bool | isValid () const |
| const iaString | toString () const |
| operator uint64 () const | |
Static Public Member Functions | |
| static iaUUID | getInvalid () |
| static iaUUID | getMarked () |
| static bool | isUUID (const iaString &text) |
uuid (probably not following any standard but good enough for me)
| iaux::iaUUID::iaUUID | ( | ) |
init valid random value
| mark | if true this id gets an 0xFF mark so we can recognize it later |
| iaux::iaUUID::iaUUID | ( | const iaUUID & | other | ) |
copy ctor
| other | the other value |
| iaux::iaUUID::iaUUID | ( | uint64 | value | ) |
ctor with value
| value | the value to use as uuid |
| iaux::iaUUID::iaUUID | ( | const iaString & | text | ) |
import from string
expected format "0xffffffffffffffff" to read it as is every other type of string will be turned in the a hash value
| uuid | the id in string form |
|
static |
|
static |
|
static |
| text | the given text |
| bool iaux::iaUUID::isValid | ( | ) | const |
| iaux::iaUUID::operator uint64 | ( | ) | const |
| bool iaux::iaUUID::operator!= | ( | const iaUUID & | other | ) |
| other | the other uuid |
= operator overwrites current string with new string
| text | the new string |
= operator overwrites current value with new value
| value | the new value |
| bool iaux::iaUUID::operator== | ( | const iaUUID & | other | ) | const |
| other | the other uuid |
| void iaux::iaUUID::reset | ( | ) |
makes id invalid
| const iaString iaux::iaUUID::toString | ( | ) | const |