Public Member Functions | |
const XML::Element & | getRootElement () const |
XML::Element & | rootElement () |
bool | isValid () const |
is there a valid root element for this document? | |
Document () | |
creates an invalid document which can be set right by calling setRootElement | |
void | setRootElement (SmartPtr< XML::Element > e) |
changes the root element of this document. | |
Document (SmartPtr< XML::Element > &e) | |
make a shallow copy of this element's data. |
code::XML::Document::Document | ( | ) | [inline] |
creates an invalid document which can be set right by calling setRootElement
code::XML::Document::Document | ( | SmartPtr< XML::Element > & | e | ) | [inline] |
make a shallow copy of this element's data.
const XML::Element& code::XML::Document::getRootElement | ( | ) | const [inline] |
bool code::XML::Document::isValid | ( | ) | const [inline] |
is there a valid root element for this document?
XML::Element& code::XML::Document::rootElement | ( | ) | [inline] |
void code::XML::Document::setRootElement | ( | SmartPtr< XML::Element > | e | ) | [inline] |
changes the root element of this document.