![]() |
Home | Libraries | People | FAQ | More |
boost::property_tree::ini_parser::write_ini
// In header: <boost/property_tree/ini_parser.hpp> template<typename Ptree> ( stream, pt, flags = );
Translates the property tree to INI and writes it the given output stream.
Parameters: |
|
||||||
Requires: |
pt cannot have data in its root. |
||||||
Requires: |
pt cannot have keys both data and children. |
||||||
Requires: |
pt cannot be deeper than two levels. |
||||||
Requires: |
There cannot be duplicate keys on any given level of pt. |
||||||
Throws: |
ini_parser_error In case of error translating the property tree to INI or writing to the output stream. |