AnimatLab  2
Test
StdUtils::CStdSerialize Class Reference

Standard serialize class. More...

#include <StdSerialize.h>

+ Inheritance diagram for StdUtils::CStdSerialize:
+ Collaboration diagram for StdUtils::CStdSerialize:

Public Member Functions

 CStdSerialize ()
 Default constructor. More...
 
virtual ~CStdSerialize ()
 Destructor. More...
 
virtual CStdSerializeClone ()
 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...
 

Detailed Description

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.

Author
dcofer
Date
5/3/2011

Definition at line 20 of file StdSerialize.h.

Constructor & Destructor Documentation

CStdSerialize::CStdSerialize ( )

Default constructor.

Author
dcofer
Date
5/3/2011

Definition at line 23 of file StdSerialize.cpp.

CStdSerialize::~CStdSerialize ( )
virtual

Destructor.

Author
dcofer
Date
5/3/2011

Definition at line 34 of file StdSerialize.cpp.

Member Function Documentation

CStdSerialize * CStdSerialize::Clone ( )
virtual

Makes a deep copy of this object.

Author
dcofer
Date
5/3/2011
Returns
null if it fails, else a copy of this object.

Reimplemented in StdUtils::CStdVariant, and TestObject.

Definition at line 58 of file StdSerialize.cpp.

void CStdSerialize::Copy ( CStdSerialize lpSource)
virtual

Makes a deep copy of this object.

Author
dcofer
Date
7/25/2014
Parameters
[in,out]lpOrigThe original source that we are copying.

Definition at line 47 of file StdSerialize.cpp.

void CStdSerialize::Load ( CStdXml oXml)
virtual

Loads this object from an xml packet.

Author
dcofer
Date
5/3/2011
Parameters
[in,out]oXmlThe xml to load.

Reimplemented in StdUtils::CStdVariant, and TestObject.

Definition at line 80 of file StdSerialize.cpp.

void CStdSerialize::Save ( CStdXml oXml)
virtual

Saves this object to an xml packet..

Author
dcofer
Date
5/3/2011
Parameters
[in,out]oXmlThe xml to save.

Reimplemented in StdUtils::CStdVariant, and TestObject.

Definition at line 91 of file StdSerialize.cpp.

void CStdSerialize::Trace ( std::ostream &  oOs)
virtual

Traces this object to an output stream.

Author
dcofer
Date
5/3/2011
Parameters
[in,out]oOsThe output stream.

Reimplemented in StdUtils::CStdVariant, and TestObject.

Definition at line 69 of file StdSerialize.cpp.

Referenced by StdUtils::operator<<().

+ Here is the caller graph for this function:


The documentation for this class was generated from the following files: