Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
xml_parser.hpp File Reference
#include <boost/property_tree/ptree.hpp>
#include <boost/property_tree/detail/xml_parser_write.hpp>
#include <boost/property_tree/detail/xml_parser_error.hpp>
#include <boost/property_tree/detail/xml_parser_writer_settings.hpp>
#include <boost/property_tree/detail/xml_parser_flags.hpp>
#include <boost/property_tree/detail/xml_parser_read_rapidxml.hpp>
#include <fstream>
#include <string>
#include <locale>
Include dependency graph for xml_parser.hpp:

Namespaces

 boost
 Duration formatting facet for input.
 
 boost::property_tree
 
 boost::property_tree::xml_parser
 

Functions

template<class Ptree >
void boost::property_tree::xml_parser::read_xml (std::basic_istream< typename Ptree::key_type::value_type > &stream, Ptree &pt, int flags=0)
 Reads XML from an input stream and translates it to property tree. More...
 
template<class Ptree >
void boost::property_tree::xml_parser::read_xml (const std::string &filename, Ptree &pt, int flags=0, const std::locale &loc=std::locale())
 Reads XML from a file using the given locale and translates it to property tree. More...
 
template<class Ptree >
void boost::property_tree::xml_parser::write_xml (std::basic_ostream< typename Ptree::key_type::value_type > &stream, const Ptree &pt, const xml_writer_settings< typename Ptree::key_type > &settings=xml_writer_settings< typename Ptree::key_type >())
 Translates the property tree to XML and writes it the given output stream. More...
 
template<class Ptree >
void boost::property_tree::xml_parser::write_xml (const std::string &filename, const Ptree &pt, const std::locale &loc=std::locale(), const xml_writer_settings< typename Ptree::key_type > &settings=xml_writer_settings< typename Ptree::key_type >())
 Translates the property tree to XML and writes it the given file. More...