AnimatLab
2
Test
|
Standard serialize class. More...
#include <StdSerialize.h>
Public Member Functions | |
CStdSerialize () | |
Default constructor. More... | |
virtual | ~CStdSerialize () |
Destructor. More... | |
virtual CStdSerialize * | Clone () |
Makes a deep copy of this object. More... | |
virtual void | Copy (CStdSerialize *lpSource) |
Makes a deep copy of this object. More... | |
virtual void | Load (CStdXml &oXml) |
Loads this object from an xml packet. More... | |
virtual void | Save (CStdXml &oXml) |
Saves this object to an xml packet.. More... | |
virtual void | Trace (std::ostream &oOs) |
Traces this object to an output stream. More... | |
Standard serialize class.
This is a very low level base class. All objects with this system are derived from this base so they have the ability to load, clone, save and trace.
Definition at line 20 of file StdSerialize.h.
CStdSerialize::CStdSerialize | ( | ) |
|
virtual |
|
virtual |
Makes a deep copy of this object.
Reimplemented in StdUtils::CStdVariant, and TestObject.
Definition at line 58 of file StdSerialize.cpp.
|
virtual |
Makes a deep copy of this object.
[in,out] | lpOrig | The original source that we are copying. |
Definition at line 47 of file StdSerialize.cpp.
|
virtual |
Loads this object from an xml packet.
[in,out] | oXml | The xml to load. |
Reimplemented in StdUtils::CStdVariant, and TestObject.
Definition at line 80 of file StdSerialize.cpp.
|
virtual |
Saves this object to an xml packet..
[in,out] | oXml | The xml to save. |
Reimplemented in StdUtils::CStdVariant, and TestObject.
Definition at line 91 of file StdSerialize.cpp.
|
virtual |
Traces this object to an output stream.
[in,out] | oOs | The output stream. |
Reimplemented in StdUtils::CStdVariant, and TestObject.
Definition at line 69 of file StdSerialize.cpp.
Referenced by StdUtils::operator<<().