File indexing completed on 2025-01-18 09:50:16
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011 #ifndef BOOST_PROPERTY_TREE_DETAIL_INFO_PARSER_WRITER_SETTINGS_HPP_INCLUDED
0012 #define BOOST_PROPERTY_TREE_DETAIL_INFO_PARSER_WRITER_SETTINGS_HPP_INCLUDED
0013
0014 #include <string>
0015
0016 namespace boost { namespace property_tree { namespace info_parser
0017 {
0018
0019 template <class Ch>
0020 class info_writer_settings
0021 {
0022 public:
0023 info_writer_settings(Ch indent_char = Ch(' '), unsigned indent_count = 4):
0024 indent_char(indent_char),
0025 indent_count(indent_count)
0026 {
0027 }
0028 Ch indent_char;
0029 int indent_count;
0030 };
0031
0032 template <class Ch>
0033 info_writer_settings<Ch> info_writer_make_settings(Ch indent_char = Ch(' '), unsigned indent_count = 4)
0034 {
0035 return info_writer_settings<Ch>(indent_char, indent_count);
0036 }
0037
0038 } } }
0039
0040 #endif