Equalizer 1.0
|
Provides a universally unique identifier. More...
#include <uuid.h>
Public Member Functions | |
UUID (const bool generate=false) | |
Construct a new universally unique identifier. | |
UUID (const uint64_t high_, const uint64_t low_) | |
Construct a new universally unique identifier. | |
UUID (const uint128_t &from) | |
Construct a new universally unique identifier from an unsigned 128 bit integer value. | |
UUID & | operator= (const std::string &from) |
Assign another UUID from a string representation. | |
bool | isGenerated () const |
Static Public Attributes | |
static COBASE_API const UUID | ZERO |
The NULL UUID. |
Provides a universally unique identifier.
Not to be subclassed.
co::base::UUID::UUID | ( | const bool | generate = false | ) | [inline, explicit] |
Construct a new universally unique identifier.
If generate is set to true, a new UUID is allocated. Otherwise the UUID is cleared, i.e., it is equal to UUID::ZERO.
Definition at line 44 of file uuid.h.
References co::base::RNG::get(), co::base::uint128_t::high(), and co::base::uint128_t::low().
co::base::UUID::UUID | ( | const uint64_t | high_, |
const uint64_t | low_ | ||
) | [inline] |
co::base::UUID::UUID | ( | const uint128_t & | from | ) | [inline] |
bool co::base::UUID::isGenerated | ( | ) | const [inline] |
Definition at line 73 of file uuid.h.
References co::base::uint128_t::high().
UUID& co::base::UUID::operator= | ( | const std::string & | from | ) | [inline] |
Assign another UUID from a string representation.
Reimplemented from co::base::uint128_t.
COBASE_API const UUID co::base::UUID::ZERO [static] |
The NULL UUID.
Definition at line 76 of file uuid.h.
Referenced by eqPly::VertexBufferDist::applyInstanceData(), eVolve::InitData::applyInstanceData(), eqPly::InitData::applyInstanceData(), eqNbody::InitData::applyInstanceData(), eqPly::Channel::configInit(), osgScaleViewer::Config::exit(), eqPly::VertexBufferDist::getInstanceData(), eqPly::Config::getModel(), eVolve::Config::handleEvent(), eqPly::Config::handleEvent(), eq::StatisticSampler< Window >::StatisticSampler(), and eqPly::View::~View().