5 #ifndef G3D_GUniqueID_h
6 #define G3D_GUniqueID_h
64 return id == other.
id;
68 return id != other.
id;
GUniqueID(const Any &a)
Definition: GUniqueID.h:36
uint64 id
Definition: GUniqueID.h:26
static GUniqueID create(uint16 tag=0)
Definition: GUniqueID.cpp:83
Definition: HashTrait.h:105
GUniqueID()
Definition: GUniqueID.h:31
uint64_t uint64
Definition: g3dmath.h:170
Any toAny() const
Definition: GUniqueID.cpp:26
void deserialize(class BinaryInput &b)
Definition: GUniqueID.cpp:38
uint16_t uint16
Definition: g3dmath.h:166
std::string toString16() const
Definition: GUniqueID.cpp:64
Easy loading and saving of human-readable configuration files.
Definition: Any.h:184
static GUniqueID NONE(uint16 tag)
Definition: GUniqueID.cpp:56
static size_t hashCode(G3D::GUniqueID id)
Definition: GUniqueID.h:87
GUniqueID & operator=(const Any &a)
Definition: GUniqueID.cpp:15
A simple tokenizer for parsing text files.
Definition: TextInput.h:223
Definition: TextOutput.h:60
Definition: GUniqueID.h:23
bool operator==(const GUniqueID &other) const
Definition: GUniqueID.h:63
Definition: BinaryOutput.h:52
bool operator!=(const GUniqueID &other) const
Definition: GUniqueID.h:67
static GUniqueID fromString16(const std::string &s)
Definition: GUniqueID.cpp:69
uint16 tag() const
Definition: GUniqueID.h:55
void serialize(class BinaryOutput &b) const
Definition: GUniqueID.cpp:33
bool uninitialized() const
Definition: GUniqueID.h:51