sprint 1-alpha
Public Member Functions
sprint::xml::document Class Reference

An XML Document. More...

#include <uxml.h>

Inherits sprint::xml::node.

List of all members.

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.

Detailed Description

An XML Document.


Constructor & Destructor Documentation

sprint::xml::document::document ( const char *  file)

Read the XML Document from file

 sprint::xml::document dom(filename);

Member Function Documentation

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);

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines