Stores meta data for document objects that is not part of the object itself. E.g. editor-only states like hidden or prefab information.
More...
|
bool | HasMetaData (const KEY objectKey) const |
|
void | ClearMetaData (const KEY objectKey) |
|
const VALUE * | BeginReadMetaData (const KEY objectKey) const |
| Will always return a non-null result. May be a default object.
|
|
void | EndReadMetaData () const |
|
VALUE * | BeginModifyMetaData (const KEY objectKey) |
|
void | EndModifyMetaData (xiiUInt32 uiModifiedFlags=0xFFFFFFFF) |
|
xiiMutex & | GetMutex () const |
|
const VALUE & | GetDefaultValue () const |
|
void | AttachMetaDataToAbstractGraph (xiiAbstractObjectGraph &inout_graph) const |
| Uses reflection information from VALUE to store all properties that differ from the default value as additional properties for the graph objects.
|
|
void | RestoreMetaDataFromAbstractGraph (const xiiAbstractObjectGraph &graph) |
| Uses reflection information from VALUE to restore all meta data properties from the graph.
|
|
xiiSharedPtr< xiiObjectMetaData< KEY, VALUE >::Storage > | SwapStorage (xiiSharedPtr< xiiObjectMetaData< KEY, VALUE >::Storage > pNewStorage) |
|
xiiSharedPtr< xiiObjectMetaData< KEY, VALUE >::Storage > | GetStorage () |
|
template<typename KEY, typename VALUE>
class xiiObjectMetaData< KEY, VALUE >
Stores meta data for document objects that is not part of the object itself. E.g. editor-only states like hidden or prefab information.
- Template Parameters
-
KEY | The key under which data is stored. Usually xiiUuid to reference document objects. |
VALUE | Meta value type to be stored. |