sprint 1-alpha
|
An XML Document. More...
#include <uxml.h>
Inherits sprint::xml::node.
Public Member Functions | |
document (const char *file) | |
document (sprint::io::xstream &file) | |
Read the XML Document from an XStream. | |
bool | load (const char *file) |
bool | save (const char *file) const |
bool | load (sprint::io::xstream &file) |
Load an XML file from a generic source. | |
bool | save (sprint::io::xstream &file) const |
Save XML. |
An XML Document.
sprint::xml::document::document | ( | const char * | file | ) |
Read the XML Document from file
sprint::xml::document dom(filename);
bool sprint::xml::document::load | ( | const char * | file | ) |
Load an XML file
bool sprint::xml::document::save | ( | const char * | file | ) | const |
Save XML
sprint::xml::document dom; // ... fill dom ... dom.save(filename);