SRGraphComponent::Serialize

voidSRGraphComponent::Serialize(void)

Handles storage and retrieval of this object

Defined in: SRGComp.cpp

Return Value

Reference to a CArchive object which manages the file operations

Developer Notes

Component serialization cannot allow storage of dynamic pointers, like the m_pParentGraph pointer, because that memory will be allocated in a different place every time the component is constructed. Therefore if you load by serialization, you must step through the component list and reassign all the dynamic pointers before the display routines kick in and crash everything.