Chris@16
|
1 // ----------------------------------------------------------------------------
|
Chris@16
|
2 // internals_fwd.hpp : forward declarations, for internal headers
|
Chris@16
|
3 // ----------------------------------------------------------------------------
|
Chris@16
|
4
|
Chris@16
|
5 // Copyright Samuel Krempp 2003. Use, modification, and distribution are
|
Chris@16
|
6 // subject to the Boost Software License, Version 1.0. (See accompanying
|
Chris@16
|
7 // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
Chris@16
|
8
|
Chris@16
|
9 // See http://www.boost.org/libs/format for library home page
|
Chris@16
|
10
|
Chris@16
|
11 // ----------------------------------------------------------------------------
|
Chris@16
|
12
|
Chris@16
|
13 #ifndef BOOST_FORMAT_INTERNAL_FWD_HPP
|
Chris@16
|
14 #define BOOST_FORMAT_INTERNAL_FWD_HPP
|
Chris@16
|
15
|
Chris@16
|
16 #include <boost/format/format_fwd.hpp>
|
Chris@16
|
17 #include <boost/config.hpp>
|
Chris@16
|
18
|
Chris@16
|
19
|
Chris@16
|
20 namespace boost {
|
Chris@16
|
21 namespace io {
|
Chris@16
|
22
|
Chris@16
|
23 namespace detail {
|
Chris@16
|
24 template<class Ch, class Tr> struct stream_format_state;
|
Chris@16
|
25 template<class Ch, class Tr, class Alloc> struct format_item;
|
Chris@16
|
26
|
Chris@16
|
27
|
Chris@16
|
28 // these functions were intended as methods,
|
Chris@16
|
29 // but MSVC have problems with template member functions :
|
Chris@16
|
30 // defined in format_implementation.hpp :
|
Chris@16
|
31 template<class Ch, class Tr, class Alloc, class T>
|
Chris@16
|
32 basic_format<Ch, Tr, Alloc>&
|
Chris@16
|
33 modify_item_body (basic_format<Ch, Tr, Alloc>& self,
|
Chris@16
|
34 int itemN, T manipulator);
|
Chris@16
|
35
|
Chris@16
|
36 template<class Ch, class Tr, class Alloc, class T>
|
Chris@16
|
37 basic_format<Ch, Tr, Alloc>&
|
Chris@16
|
38 bind_arg_body (basic_format<Ch, Tr, Alloc>& self,
|
Chris@16
|
39 int argN, const T& val);
|
Chris@16
|
40
|
Chris@16
|
41 // in internals.hpp :
|
Chris@16
|
42 template<class Ch, class Tr, class T>
|
Chris@16
|
43 void apply_manip_body (stream_format_state<Ch, Tr>& self,
|
Chris@16
|
44 T manipulator);
|
Chris@16
|
45
|
Chris@16
|
46 // argument feeding (defined in feed_args.hpp ) :
|
Chris@16
|
47 template<class Ch, class Tr, class Alloc, class T>
|
Chris@16
|
48 void distribute (basic_format<Ch,Tr, Alloc>& self, T x);
|
Chris@16
|
49
|
Chris@16
|
50 template<class Ch, class Tr, class Alloc, class T>
|
Chris@16
|
51 basic_format<Ch, Tr, Alloc>&
|
Chris@16
|
52 feed (basic_format<Ch,Tr, Alloc>& self, T x);
|
Chris@101
|
53
|
Chris@101
|
54 template<class Ch, class Tr, class Alloc, class T>
|
Chris@101
|
55 basic_format<Ch, Tr, Alloc>&
|
Chris@101
|
56 feed_impl (basic_format<Ch,Tr, Alloc>& self, T x);
|
Chris@16
|
57
|
Chris@16
|
58 } // namespace detail
|
Chris@16
|
59
|
Chris@16
|
60 } // namespace io
|
Chris@16
|
61 } // namespace boost
|
Chris@16
|
62
|
Chris@16
|
63
|
Chris@16
|
64 #endif // BOOST_FORMAT_INTERNAL_FWD_HPP
|