Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 09:50:16

0001 // ----------------------------------------------------------------------------
0002 // Copyright (C) 2002-2006 Marcin Kalicinski
0003 // Copyright (C) 2007 Alexey Baskakov
0004 //
0005 // Distributed under the Boost Software License, Version 1.0. 
0006 // (See accompanying file LICENSE_1_0.txt or copy at 
0007 // http://www.boost.org/LICENSE_1_0.txt)
0008 //
0009 // For more information, see www.boost.org
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