#include <XMLDocument.h>
Inheritance diagram for XMLDocument:
Public Methods | |
XMLDocument (const XMLProcInst &prolog=XMLProcInst("xml"), const SpecialTag &doctype=SpecialTag(), const XMLement *root=NULL, const list< SpecialTag *> &footers=list< SpecialTag *>()) | |
Constructor. More... | |
void | SetProlog (const XMLProcInst &newProlog) |
Set the document prolog. | |
void | SetDocType (const SpecialTag &doctype) |
Set the document doctype. | |
void | SetRoot (const XMLement *newRoot) |
Set the document root element. | |
void | SetFooters (const list< SpecialTag *> newFooters) |
Set the document's footers. | |
virtual string | ToString () const |
Convert to a string. | |
Inspectors | |
XMLProcInst | GetProlog () const |
Returns the document prolog. | |
SpecialTag | GetDocType () const |
returns the document doctype. | |
XMLement* | GetRoot () const |
returns the document root element. | |
list<SpecialTag*> | GetFooters () const |
returns the document's footers. | |
Protected Methods | |
void | Init (const XMLProcInst &newProlog, const SpecialTag &doctype, const XMLement *newRoot, const list< SpecialTag *> &footers) |
Initializer. More... | |
XMLDocument& | Copy (const XMLDocument &rhs) |
Copy Constructor. | |
void | NullifyPointers () |
initialize all ptrs to NULL. | |
void | Clear () |
delete all ptrs. | |
bool | Equals (const XMLDocument &rhs) const |
operator==. |
|
Constructor.
|
|
Initializer.
|