Collage
0.6.1
|
A helper struct bundling an object identifier and version. More...
#include <objectVersion.h>
Public Member Functions | |
CO_API | ObjectVersion (const UUID &identifier, const uint128_t &version) |
CO_API | ObjectVersion (const Object *object) |
template<class R > | |
ObjectVersion (lunchbox::RefPtr< R > object) | |
CO_API ObjectVersion & | operator= (const Object *object) |
bool | operator== (const ObjectVersion &value) const |
bool | operator!= (const ObjectVersion &value) const |
bool | operator< (const ObjectVersion &rhs) const |
bool | operator> (const ObjectVersion &rhs) const |
Public Attributes | |
uint128_t | identifier |
uint128_t | version |
Static Public Attributes | |
static CO_API ObjectVersion | NONE |
An unset object version. |
A helper struct bundling an object identifier and version.
The struct either contains the object's identifier and version (if it is registered or mapped), UUID::ZERO and VERSION_NONE if it is unmapped or if no object was given.
Definition at line 45 of file objectVersion.h.
CO_API ObjectVersion co::ObjectVersion::NONE [static] |
An unset object version.
Definition at line 83 of file objectVersion.h.