29#ifndef NOMLIB_SERIALIZERS_RAPIDXML_DESERIALIZER_HPP
30#define NOMLIB_SERIALIZERS_RAPIDXML_DESERIALIZER_HPP
38#include "nomlib/config.hpp"
39#include "nomlib/serializers/serializers_config.hpp"
40#include "nomlib/serializers/IValueDeserializer.hpp"
41#include "nomlib/ptree.hpp"
96 bool load (
const std::string& filename,
Value& output );
103 bool read(
const std::string& input,
Value& dest )
const;
bool load(const std::string &filename, Value &output)
Restore data from a XML (.xml) file to a nom::Value object.
RapidXmlDeserializer(uint32 options)
Construct a parser with a feature set enumeration.
RapidXmlDeserializer(void)
Default constructor; initialize the parser with no additional options.
bool read_object(const rapidxml::xml_node< char > *node, Value &dest) const
Internal helper method for un-serialization of object nodes.
~RapidXmlDeserializer(void)
Destructor.
Value deserialize(const std::string &source)
Parse XML data to a nom::Value object.
bool read_array(const rapidxml::xml_node< char > *object, Value &dest) const
Internal helper method for un-serialization of array nodes.
Generic interface for opaque data containers.