Collage  0.6.1
Public Member Functions | Public Attributes | Static Public Attributes
co::ObjectVersion Struct Reference

A helper struct bundling an object identifier and version. More...

#include <objectVersion.h>

+ Collaboration diagram for co::ObjectVersion:

List of all members.

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 ObjectVersionoperator= (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.

Detailed Description

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.


Member Data Documentation

An unset object version.

Definition at line 83 of file objectVersion.h.


The documentation for this struct was generated from the following file:
Generated on Mon Nov 26 2012 14:41:44 for Collage 0.6.1 by  doxygen 1.7.6.1