Go to the documentation of this file.
11 #ifndef BOOST_PROPERTY_TREE_XML_PARSER_HPP_INCLUDED
12 #define BOOST_PROPERTY_TREE_XML_PARSER_HPP_INCLUDED
25 namespace boost {
namespace property_tree {
namespace xml_parser
47 typename Ptree::key_type::value_type
76 const std::locale &loc = std::locale())
79 std::basic_ifstream<typename Ptree::key_type::value_type>
80 stream(filename.c_str());
83 "cannot open file", filename, 0));
101 typename Ptree::key_type::value_type
105 typename Ptree::key_type
107 typename Ptree::key_type>() )
123 template<
class Ptree>
126 const std::locale &loc = std::locale(),
128 typename Ptree::key_type
131 std::basic_ofstream<typename Ptree::key_type::value_type>
132 stream(filename.c_str());
135 "cannot open file", filename, 0));
142 namespace boost {
namespace property_tree
146 using xml_parser::xml_parser_error;
148 using xml_parser::xml_writer_settings;
void read_xml_internal(std::basic_istream< typename Ptree::key_type::value_type > &stream, Ptree &pt, int flags, const std::string &filename)
Xml writer settings. The default settings lead to no pretty printing.
BOOST_MOVE_USE_STANDARD_LIBRARY_MOVE.
xml_writer_settings< Str > xml_writer_make_settings(typename Str::value_type indent_char=(typename Str::value_type)(' '), typename Str::size_type indent_count=0, const Str &encoding=widen< Str >("utf-8"))
void 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 >())
#define BOOST_ASSERT(expr)
#define BOOST_PROPERTY_TREE_THROW(e)
bool validate_flags(int flags)
void write_xml_internal(std::basic_ostream< typename Ptree::key_type::value_type > &stream, const Ptree &pt, const std::string &filename, const xml_writer_settings< typename Ptree::key_type > &settings)
void read_xml(std::basic_istream< typename Ptree::key_type::value_type > &stream, Ptree &pt, int flags=0)
sick_visionary_ros
Author(s): SICK AG TechSupport 3D Snapshot
autogenerated on Thu Feb 8 2024 03:56:19