VR-Forces 4.1.1 Class Documentation
List of all members | Public Member Functions
DtAsciiSerializable Class Reference
Inheritance diagram for DtAsciiSerializable:
Inheritance graph
[legend]

Public Member Functions

 DtAsciiSerializable ()
 The implementer of this interface should be sure to create a creator function to create an empty object that returns a pointer to this interface.
 DtAsciiSerializable (const DtAsciiSerializable &orig)
virtual ~DtAsciiSerializable ()
virtual DtString objectType () const =0
 Should return the string name of this object.
virtual DtString serialize ()=0
 The following characters are reserved and cannot be used in serialization: '|', ':'.
virtual bool deserialize (const DtString &)=0
 This function should take the string that was serialized via serialize() and fill this object with the correct data.

Constructor & Destructor Documentation

DtAsciiSerializable::DtAsciiSerializable ( )
inline

The implementer of this interface should be sure to create a creator function to create an empty object that returns a pointer to this interface.

DtAsciiSerializable::DtAsciiSerializable ( const DtAsciiSerializable orig)
inline
virtual DtAsciiSerializable::~DtAsciiSerializable ( )
inlinevirtual

Member Function Documentation

virtual DtString DtAsciiSerializable::objectType ( ) const
pure virtual

Should return the string name of this object.

The object name should not be part of the serialization unless you want it to be, but you should take it into account when implementing both functions.

Implemented in DtVectorOffset3D, DtVectorGeoc3D, DtVector3D, DtScriptVrfObject, DtLuaFeatureSet, and DtLocation3D.

virtual DtString DtAsciiSerializable::serialize ( )
pure virtual

The following characters are reserved and cannot be used in serialization: '|', ':'.

Implemented in DtVectorOffset3D, DtVectorGeoc3D, DtVector3D, DtScriptVrfObject, DtLuaFeatureSet, and DtLocation3D.

virtual bool DtAsciiSerializable::deserialize ( const DtString )
pure virtual

This function should take the string that was serialized via serialize() and fill this object with the correct data.

Implemented in DtVectorOffset3D, DtVectorGeoc3D, DtVector3D, DtScriptVrfObject, DtLuaFeatureSet, and DtLocation3D.

Referenced by vrfLua::DtAsciiDeserializeLua().


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

Document ID: Generated on Mon Apr 8 19:24:01 EDT 2013 from SVN revision 125877
Copyright © 2005-2013 VT MÄK. All Rights Reserved (www.mak.com)