SimPersistSet
Engine/source/console/simPersistSet.h
A SimSet that can be safely persisted.
Public Types
Parent
Protected Attributes
bool
If true, the set is currently resolving persistent IDs.
Vector< SimPersistID * >
List of unresolved persistent IDs.
Public Functions
DECLARE_CATEGORY("Console" )
DECLARE_DESCRIPTION("A <a href="/coding/class/classsimset/">SimSet</a> that can be safely persisted." )
bool
processArguments(S32 argc, ConsoleValueRef * argv)
Process constructor options. (ie, new SimObject(1,2,3))
Try to resolve all persistent IDs that as of yet are still unresolved.
Detailed Description
A SimSet that can be safely persisted.
Uses SimPersistIDs to reference objects in the set while persisted on disk. This allows the set to resolve its references no matter whether they are loaded before or after the set is created.
Public Types
typedef SimSet Parent
Protected Attributes
bool mIsResolvingPIDs
If true, the set is currently resolving persistent IDs.
Vector< SimPersistID * > mUnresolvedPIDs
List of unresolved persistent IDs.
Public Functions
SimPersistSet()
addObject(SimObject * object)
Reimplemented from: SimSet
Reimplemented by: WorldEditorSelection
DECLARE_CATEGORY("Console" )
DECLARE_CONOBJECT(SimPersistSet )
DECLARE_DESCRIPTION("A <a href="/coding/class/classsimset/">SimSet</a> that can be safely persisted." )
processArguments(S32 argc, ConsoleValueRef * argv)
Reimplemented from: SimObject
resolvePIDs()
Try to resolve all persistent IDs that as of yet are still unresolved.
write(Stream & stream, U32 tabStop, U32 flags)
Reimplemented from: SimSet