Home | Libraries | People | FAQ | More |
boost::property_tree::xml_parser::read_xml
// In header: <boost/property_tree/xml_parser.hpp> template<typename Ptree> void 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.
Note | |
---|---|
Clears existing contents of property tree. In case of error the property tree unmodified. XML attributes are placed under keys named |
Parameters: |
|
||||||
Throws: |
xml_parser_error In case of error deserializing the property tree. |