Overview Chapter

class CStoredObjectMemory

Constructors and Destructors
CStoredObjectMemory
~CStoredObjectMemory
Operations
AddUncompiledValue
FlushedObjectData
FlushedObjectSize Retrieve information about the compiled data.
AssignData Use external data.
Compile Pack the object to a single, fixed-sized memory block.
GetCompiledStringValue Get a value as a string.
Overridables
AddValue
AddValue
AddValue
AddValue
AddValue
AddValue
AddValue
AddValue
AddValue
AddValue
AddValue
AddValue
AddValueAdd data.
AddValueArray.
CompileReference
CreateFromReferenceData
FlushMemory objects can neither be flushed not released, bc.
GetValue
GetValue
GetValue
GetValue
GetValue
GetValue
GetValue
GetValue
GetValue
GetValue
GetValue
GetValueRetrieve data.
GetValueReferences to other objects.
GetValueArray.
HasValue
ReAllocateThrow away all existing data and start from scratch.
Refresh
SetValue
SetValue
SetValue
SetValue
SetValue
SetValue
SetValue
SetValue
SetValue
SetValue
SetValue
SetValue
SetValueModify data.
SetValueArray.
SizeOfReferenceSize of the structure used for references this is defined as a virtual function enabling derived classes to use our Compile() method.
AllocateCompiledObject(de)allocation of memory for the compiled object is done with virtual functions, so that derived class can overload them.
DeAllocateCompiledObjectDeallocate.
   
                      
Data Members
   
protected
OBJECTSIZE m_ObjectSize;Size of object after Compile().
bool m_bIsFlushed;Tells wether the object is flushed or not this is complicated an VERY subtile! an object is counted as 'flushed', when its clean - means data has been compiled/written out and nobody else touched it afterwards. This is used to handle multiple flushes on the same object. Set to false by constructor and SetValue() Set to true by Compile();
unsigned char* m_pCompiledObject;Place the pointer to the memory where is object is compiled here!.
   
private
std :: list< IUncompiledValue*> m_lUncompiledValues;Store the values of a still uncompiled object in a list.