HDK
|
#include <UT_SGuid.h>
Public Member Functions | |
UT_SGuid (bool generate=true) | |
UT_SGuid (const UT_StringRef &src) | |
UT_SGuid (const UT_SGuid &other) | |
UT_SGuid & | operator= (const UT_SGuid &other) |
UT_SGuid (UT_SGuid &&)=default | |
UT_SGuid & | operator= (UT_SGuid &&)=default |
bool | setString (const UT_StringRef &src) |
UT_StringHolder | toString () const |
void | getString (UT_StringHolder &str) const |
void | getString (UT_WorkBuffer &str) const |
void | writeBinary (std::ostream &os) const |
bool | readBinary (UT_IStream &is) |
bool | readAscii (UT_IStream &is) |
size_t | hash () const |
bool | operator== (const UT_SGuid &sguid) const |
bool | operator!= (const UT_SGuid &sguid) const |
Static Public Member Functions | |
static void | setMachineId (uint32 machine_id) |
Friends | |
UT_API std::ostream & | operator<< (std::ostream &os, const UT_SGuid &guid) |
Definition at line 32 of file UT_SGuid.h.
UT_SGuid::UT_SGuid | ( | bool | generate = true | ) |
UT_SGuid::UT_SGuid | ( | const UT_StringRef & | src | ) |
UT_SGuid::UT_SGuid | ( | const UT_SGuid & | other | ) |
|
default |
void UT_SGuid::getString | ( | UT_StringHolder & | str | ) | const |
void UT_SGuid::getString | ( | UT_WorkBuffer & | str | ) | const |
|
inline |
Definition at line 57 of file UT_SGuid.h.
|
inline |
Definition at line 67 of file UT_SGuid.h.
bool UT_SGuid::operator== | ( | const UT_SGuid & | sguid | ) | const |
bool UT_SGuid::readAscii | ( | UT_IStream & | is | ) |
bool UT_SGuid::readBinary | ( | UT_IStream & | is | ) |
Set the machine id if you need to identify the specific machine within a cluster.
bool UT_SGuid::setString | ( | const UT_StringRef & | src | ) |
UT_StringHolder UT_SGuid::toString | ( | ) | const |
void UT_SGuid::writeBinary | ( | std::ostream & | os | ) | const |