Chris@16
|
1 /*
|
Chris@16
|
2 * Copyright Andrey Semashev 2007 - 2013.
|
Chris@16
|
3 * Distributed under the Boost Software License, Version 1.0.
|
Chris@16
|
4 * (See accompanying file LICENSE_1_0.txt or copy at
|
Chris@16
|
5 * http://www.boost.org/LICENSE_1_0.txt)
|
Chris@16
|
6 */
|
Chris@16
|
7 /*!
|
Chris@16
|
8 * \file formatting_ostream_fwd.hpp
|
Chris@16
|
9 * \author Andrey Semashev
|
Chris@16
|
10 * \date 11.07.2012
|
Chris@16
|
11 *
|
Chris@16
|
12 * The header contains forward declaration of a string stream used for log record formatting.
|
Chris@16
|
13 */
|
Chris@16
|
14
|
Chris@16
|
15 #ifndef BOOST_LOG_UTILITY_FORMATTING_OSTREAM_FWD_HPP_INCLUDED_
|
Chris@16
|
16 #define BOOST_LOG_UTILITY_FORMATTING_OSTREAM_FWD_HPP_INCLUDED_
|
Chris@16
|
17
|
Chris@16
|
18 #include <string>
|
Chris@16
|
19 #include <memory>
|
Chris@16
|
20 #include <boost/log/detail/config.hpp>
|
Chris@16
|
21
|
Chris@16
|
22 #ifdef BOOST_HAS_PRAGMA_ONCE
|
Chris@16
|
23 #pragma once
|
Chris@16
|
24 #endif
|
Chris@16
|
25
|
Chris@16
|
26 namespace boost {
|
Chris@16
|
27
|
Chris@16
|
28 BOOST_LOG_OPEN_NAMESPACE
|
Chris@16
|
29
|
Chris@16
|
30 /*!
|
Chris@16
|
31 * \brief Stream for log records formatting
|
Chris@16
|
32 */
|
Chris@16
|
33 template<
|
Chris@16
|
34 typename CharT,
|
Chris@16
|
35 typename TraitsT = std::char_traits< CharT >,
|
Chris@16
|
36 typename AllocatorT = std::allocator< CharT >
|
Chris@16
|
37 >
|
Chris@16
|
38 class basic_formatting_ostream;
|
Chris@16
|
39
|
Chris@16
|
40 #ifdef BOOST_LOG_USE_CHAR
|
Chris@16
|
41 typedef basic_formatting_ostream< char > formatting_ostream;
|
Chris@16
|
42 #endif
|
Chris@16
|
43 #ifdef BOOST_LOG_USE_WCHAR_T
|
Chris@16
|
44 typedef basic_formatting_ostream< wchar_t > wformatting_ostream;
|
Chris@16
|
45 #endif
|
Chris@16
|
46
|
Chris@16
|
47 BOOST_LOG_CLOSE_NAMESPACE // namespace log
|
Chris@16
|
48
|
Chris@16
|
49 } // namespace boost
|
Chris@16
|
50
|
Chris@16
|
51 #endif // BOOST_LOG_UTILITY_FORMATTING_OSTREAM_FWD_HPP_INCLUDED_
|