54 explicit UniqueId(
bool createNewId =
true);
65 explicit UniqueId(
const std::string& toCopy);
75 virtual const std::string& GetType()
const override;
113 UniqueId& operator=(
const std::string&
id);
146 bool operator< (
const UniqueId&
id)
const;
157 bool operator> (
const UniqueId&
id)
const;
size_t __hash_string(const char *__s)
Hash string.
size_t operator()(const trBase::UniqueId &id) const
bool operator==(const std::string &s1, const RefStr &s2)
This class creates a GUID, or a Unique ID that is used through out TR to identify and distinguish one...
bool operator!=(const std::string &s1, const RefStr &s2)
TR_BASE_EXPORT std::ostream & operator<<(std::ostream &ios, const Matrixd &q)
Stream insertion operator.
A string wrapper that will make sure that all of the strings with the same value will point to the sa...
static const trUtil::RefStr CLASS_TYPE
Adds an easy and swappable access to the base class.
size_t operator()(const trBase::UniqueId &id) const
This class is part of the internal garbage collection system.
std::string ToString(const T &t, int precision=-1)
A utility function to convert a basic type into a string.
An implementation class for GUID.
This Hash class and its implementations are taken from the libstdc++ hash_fun.h.
T FromString(const std::string &u)
Converts a string to a specified type.
TR_BASE_EXPORT std::istream & operator>>(std::istream &i, UniqueId &id)
Namespace that holds various utility classes for the engine.
osg::Referenced BaseClass