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 (plUInt32 uiModifiedFlags=0xFFFFFFFF) |
| |
|
plMutex & | GetMutex () const |
| |
|
const VALUE & | GetDefaultValue () const |
| |
|
void | AttachMetaDataToAbstractGraph (plAbstractObjectGraph &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 plAbstractObjectGraph &graph) |
| | Uses reflection information from VALUE to restore all meta data properties from the graph.
|
| |
|
plSharedPtr< plMetaStorageType > | SwapStorage (plSharedPtr< plMetaStorageType > pNewStorage) |
| |
|
plSharedPtr< plMetaStorageType > | GetStorage () |
| |
template<typename KEY, typename VALUE>
class plObjectMetaData< 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 plUuid to reference document objects. |
| VALUE | Meta value type to be stored. |