HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
UT_SGuid Class Reference

#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_SGuidoperator= (const UT_SGuid &other)
 
 UT_SGuid (UT_SGuid &&)=default
 
UT_SGuidoperator= (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)
 

Detailed Description

Definition at line 32 of file UT_SGuid.h.

Constructor & Destructor Documentation

UT_SGuid::UT_SGuid ( bool  generate = true)
UT_SGuid::UT_SGuid ( const UT_StringRef src)
UT_SGuid::UT_SGuid ( const UT_SGuid other)
UT_SGuid::UT_SGuid ( UT_SGuid &&  )
default

Member Function Documentation

void UT_SGuid::getString ( UT_StringHolder str) const
void UT_SGuid::getString ( UT_WorkBuffer str) const
size_t UT_SGuid::hash ( void  ) const
inline

Definition at line 57 of file UT_SGuid.h.

bool UT_SGuid::operator!= ( const UT_SGuid sguid) const
inline

Definition at line 67 of file UT_SGuid.h.

UT_SGuid& UT_SGuid::operator= ( const UT_SGuid other)
UT_SGuid& UT_SGuid::operator= ( UT_SGuid &&  )
default
bool UT_SGuid::operator== ( const UT_SGuid sguid) const
bool UT_SGuid::readAscii ( UT_IStream is)
bool UT_SGuid::readBinary ( UT_IStream is)
static void UT_SGuid::setMachineId ( uint32  machine_id)
static

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

Friends And Related Function Documentation

UT_API std::ostream& operator<< ( std::ostream &  os,
const UT_SGuid guid 
)
friend

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