ISaveObject Class Reference

#include <ISaveObject.h>

Inheritance diagram for ISaveObject:

Cargo Player Ship StateSailing List of all members.

Public Member Functions

 ISaveObject (std::string XMLName)
virtual ~ISaveObject ()
virtual void Save (TiXmlElement *parent)=0
virtual void Load (TiXmlElement *parent)=0

Protected Attributes

std::string m_XMLName

Detailed Description

Definition at line 13 of file ISaveObject.h.


Constructor & Destructor Documentation

ISaveObject::ISaveObject ( std::string  XMLName  ) 

Definition at line 11 of file ISaveObject.cpp.

References m_XMLName.

00011                                        {
00012   m_XMLName = XMLName;
00013 }

virtual ISaveObject::~ISaveObject (  )  [inline, virtual]

Definition at line 17 of file ISaveObject.h.

00017 { };


Member Function Documentation

virtual void ISaveObject::Load ( TiXmlElement *  parent  )  [pure virtual]

Implemented in Cargo, Player, Ship, and StateSailing.

virtual void ISaveObject::Save ( TiXmlElement *  parent  )  [pure virtual]

Implemented in Cargo, Player, Ship, and StateSailing.


Member Data Documentation

std::string ISaveObject::m_XMLName [protected]

Definition at line 26 of file ISaveObject.h.

Referenced by ISaveObject(), StateSailing::Load(), Ship::Load(), Player::Load(), Cargo::Load(), StateSailing::Save(), Ship::Save(), Player::Save(), and Cargo::Save().


The documentation for this class was generated from the following files:
Generated on Mon Jan 8 22:34:14 2007 for CrownandCutlass by  doxygen 1.4.7