Home | Libraries | People | FAQ | More |
boost::property_tree::xml_parser::write_xml
// In header: <boost/property_tree/xml_parser.hpp> template<typename Ptree> void write_xml(std::basic_ostream< typename Ptree::key_type::value_type > & stream, const Ptree & pt, const xml_writer_settings< typename Ptree::key_type::value_type > & settings = xml_writer_settings< typename Ptree::key_type::value_type >());
Translates the property tree to XML and writes it the given output stream.
Parameters: |
|
||||||
Throws: |
xml_parser_error In case of error translating the property tree to XML or writing to the output stream. |