1/*
2 * Copyright Andrey Semashev 2007 - 2015.
3 * Distributed under the Boost Software License, Version 1.0.
4 * (See accompanying file LICENSE_1_0.txt or copy at
5 * http://www.boost.org/LICENSE_1_0.txt)
6 */
7/*!
8 * \file settings_parser.hpp
9 * \author Andrey Semashev
10 * \date 20.07.2012
11 *
12 * The header contains definition of a settings parser function.
13 */
14
15#ifndef BOOST_LOG_UTILITY_SETUP_SETTINGS_PARSER_HPP_INCLUDED_
16#define BOOST_LOG_UTILITY_SETUP_SETTINGS_PARSER_HPP_INCLUDED_
17
18#include <iosfwd>
19#include <boost/log/detail/setup_config.hpp>
20#include <boost/log/utility/setup/settings.hpp>
21#include <boost/log/detail/header.hpp>
22
23#ifdef BOOST_HAS_PRAGMA_ONCE
24#pragma once
25#endif
26
27namespace boost {
28
29BOOST_LOG_OPEN_NAMESPACE
30
31/*!
32 * The function parses library settings from an input stream
33 *
34 * \param strm Stream, that provides library settings
35 *
36 * \b Throws: An <tt>std::exception</tt>-based exception if the read data cannot be interpreted as the library settings
37 */
38template< typename CharT >
39BOOST_LOG_SETUP_API basic_settings< CharT > parse_settings(std::basic_istream< CharT >& strm);
40
41BOOST_LOG_CLOSE_NAMESPACE // namespace log
42
43} // namespace boost
44
45#include <boost/log/detail/footer.hpp>
46
47#endif // BOOST_LOG_UTILITY_SETUP_SETTINGS_PARSER_HPP_INCLUDED_
48

source code of boost/libs/log/include/boost/log/utility/setup/settings_parser.hpp