|
||||
File indexing completed on 2025-01-18 09:39:28
0001 /* 0002 * Copyright Andrey Semashev 2007 - 2015. 0003 * Distributed under the Boost Software License, Version 1.0. 0004 * (See accompanying file LICENSE_1_0.txt or copy at 0005 * http://www.boost.org/LICENSE_1_0.txt) 0006 */ 0007 /*! 0008 * \file settings_parser.hpp 0009 * \author Andrey Semashev 0010 * \date 20.07.2012 0011 * 0012 * The header contains definition of a settings parser function. 0013 */ 0014 0015 #ifndef BOOST_LOG_UTILITY_SETUP_SETTINGS_PARSER_HPP_INCLUDED_ 0016 #define BOOST_LOG_UTILITY_SETUP_SETTINGS_PARSER_HPP_INCLUDED_ 0017 0018 #include <iosfwd> 0019 #include <boost/log/detail/setup_config.hpp> 0020 #include <boost/log/utility/setup/settings.hpp> 0021 #include <boost/log/detail/header.hpp> 0022 0023 #ifdef BOOST_HAS_PRAGMA_ONCE 0024 #pragma once 0025 #endif 0026 0027 namespace boost { 0028 0029 BOOST_LOG_OPEN_NAMESPACE 0030 0031 /*! 0032 * The function parses library settings from an input stream 0033 * 0034 * \param strm Stream, that provides library settings 0035 * 0036 * \b Throws: An <tt>std::exception</tt>-based exception if the read data cannot be interpreted as the library settings 0037 */ 0038 template< typename CharT > 0039 BOOST_LOG_SETUP_API basic_settings< CharT > parse_settings(std::basic_istream< CharT >& strm); 0040 0041 BOOST_LOG_CLOSE_NAMESPACE // namespace log 0042 0043 } // namespace boost 0044 0045 #include <boost/log/detail/footer.hpp> 0046 0047 #endif // BOOST_LOG_UTILITY_SETUP_SETTINGS_PARSER_HPP_INCLUDED_
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |