![]() |
KSquare Utilities
|
Base class of all other classes that are meant to be managed by 'KKBase'. More...
#include <Atom.h>
Inheritance diagram for KKB::Atom:Public Types | |
| typedef AtomPtr(* | AtomCreator) (XmlStream &i) |
| typedef Atom * | AtomPtr |
Public Member Functions | |
| Atom () | |
| virtual | ~Atom () |
| virtual const char * | ClassName () const =0 |
| virtual Atom * | Duplicate () const =0 |
| virtual void | ReadXML (XmlStream &s, XmlTagConstPtr tag, VolConstBool &cancelFlag, RunLog &log)=0 |
| virtual void | WriteXML (const KKStr &varName, std::ostream &o) const =0 |
Base class of all other classes that are meant to be managed by 'KKBase'.
'Atom' will have a few important virtual methods that all derived classes will be required to implement. This will allow for the smooth functioning of XML file reading and writing. Ex: 'WriteXML', this method is to write a XML version of the derived class to a output stream. A registered BuildFromXML function will be able to create a new instance of the derived class.
Create on 2010-02-22; primary purpose is to help generate more ideas along these lines.
| typedef Atom* KKB::Atom::AtomPtr |
|
pure virtual |
Implemented in KKB::BitString.
|
pure virtual |
Implemented in KKB::BitString.
|
pure virtual |
Implemented in KKB::BitString.
|
pure virtual |
Implemented in KKB::BitString.