#include <cxxtools/xml/xmldeserializer.h>
Public Types | |
| typedef void(* | Fixup )(void **, const std::type_info &, void *) |
Public Member Functions | |
| XmlDeserializer (cxxtools::xml::XmlReader &reader) | |
| XmlDeserializer (std::istream &is) | |
| ~XmlDeserializer () | |
| Destructor. | |
| cxxtools::xml::XmlReader & | reader () |
| template<typename T> | |
| void | deserialize (T &type) |
| Deserialize an object. | |
| void | finish () |
Protected Member Functions | |
| void | get (cxxtools::IDeserializer *deser) |
| void | beginDocument (const cxxtools::xml::Node &node) |
| void | onRootElement (const cxxtools::xml::Node &node) |
| void | onStartElement (const cxxtools::xml::Node &node) |
| void | onWhitespace (const cxxtools::xml::Node &node) |
| void | onContent (const cxxtools::xml::Node &node) |
| void | onEndElement (const cxxtools::xml::Node &node) |
| void deserialize | ( | T & | type | ) |
This method will deserialize the object type from an XML format. The type type must be serializable.