Tekkotsu Homepage
Demos
Overview
Downloads
Dev. Resources
Reference
Credits

plist::PolymorphicLoader Class Reference

Inheritance diagram for plist::PolymorphicLoader:

List of all members.


Detailed Description

allows us to use the LoadSave suite for loading and parsing general XML functions, but forwards loadXML to plist::loadXML() and stores the result as a member

Definition at line 34 of file plist.cc.


Public Member Functions

 PolymorphicLoader ()
 constructor
virtual ~PolymorphicLoader ()
 destructor
 PolymorphicLoader (const PolymorphicLoader &p)
 copy constructor -- doesn't copy obj, sets the local instance to NULL
PolymorphicLoaderoperator= (const PolymorphicLoader &p)
 copy constructor -- doesn't copy obj, keeps current value of obj
virtual void loadXML (xmlNode *node)
 forward call to the static plist implementation
virtual void saveXML (xmlNode *) const
 shouldn't ever be called -- call saveXML() on obj directly

Public Attributes

ObjectBaseobj
 storage of results from loadXML

Constructor & Destructor Documentation

plist::PolymorphicLoader::PolymorphicLoader (  )  [inline]

constructor

Definition at line 36 of file plist.cc.

virtual plist::PolymorphicLoader::~PolymorphicLoader (  )  [inline, virtual]

destructor

Definition at line 37 of file plist.cc.

plist::PolymorphicLoader::PolymorphicLoader ( const PolymorphicLoader p  )  [inline]

copy constructor -- doesn't copy obj, sets the local instance to NULL

Definition at line 38 of file plist.cc.


Member Function Documentation

PolymorphicLoader& plist::PolymorphicLoader::operator= ( const PolymorphicLoader p  )  [inline]

copy constructor -- doesn't copy obj, keeps current value of obj

Definition at line 39 of file plist.cc.

virtual void plist::PolymorphicLoader::loadXML ( xmlNode node  )  [inline, virtual]

forward call to the static plist implementation

Implements XMLLoadSave.

Definition at line 40 of file plist.cc.

virtual void plist::PolymorphicLoader::saveXML ( xmlNode  )  const [inline, virtual]

shouldn't ever be called -- call saveXML() on obj directly

Implements XMLLoadSave.

Definition at line 41 of file plist.cc.


Member Data Documentation

storage of results from loadXML

Definition at line 42 of file plist.cc.

Referenced by plist::loadBuffer(), plist::loadFile(), and loadXML().


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

Tekkotsu v4.0
Generated Thu Nov 22 00:58:51 2007 by Doxygen 1.5.4