32 #ifndef UID_INCLUDE_ONCE 33 #define UID_INCLUDE_ONCE 54 bool fromString(
const char* guid_str);
59 void fillString(
char* guid_str,
bool zero_terminate =
true)
const;
62 void toStdString(std::string& guid_str)
const;
65 std::string toStdString()
const;
69 return memcmp(
this, &other,
sizeof(*
this)) == 0;
74 return memcmp(
this, &other,
sizeof(*
this)) != 0;
79 return memcmp(
this, &other,
sizeof(*
this)) < 0;
88 unsigned char mNode[6];
unsigned short mTimeHiAndVersion
unsigned char mClockSeqLow
bool operator==(const UUID &other) const
VLCORE_EXPORT real random(real min, real max)
Returns a random number N between 'min' and 'max' (included) with 53 bits of randomness generated usi...
Visualization Library main namespace.
unsigned char mClockSeqHiAndReserved
VL_COMPILE_TIME_CHECK(sizeof(i8) *8==8)
Simple implementation of a 16 bytes Universally Unique ID based on http://www.ietf.org/rfc/rfc4122.txt.
bool operator<(const UUID &other) const
Cryptographic random number generator.
bool operator!=(const UUID &other) const