]> git.lyx.org Git - lyx.git/blob - boost/boost/format.hpp
add the Boost.Format library
[lyx.git] / boost / boost / format.hpp
1 // -*- C++ -*-
2 //  Boost general library 'format'   ---------------------------
3 //  See http://www.boost.org for updates, documentation, and revision history.
4
5 //  (C) Samuel Krempp 2001
6 //                  krempp@crans.ens-cachan.fr
7 //  Permission to copy, use, modify, sell and
8 //  distribute this software is granted provided this copyright notice appears
9 //  in all copies. This software is provided "as is" without express or implied
10 //  warranty, and with no claim as to its suitability for any purpose.
11
12 // ideas taken from RĂ¼diger Loos's format class
13 // and Karl Nelson's ofstream
14
15 // ----------------------------------------------------------------------------
16 // format.hpp :  primary header
17 // ----------------------------------------------------------------------------
18
19 #ifndef BOOST_FORMAT_HPP
20 #define BOOST_FORMAT_HPP
21
22 #include <vector>
23 #include <string>
24 #include <sstream>
25 #include <ostream>
26
27 #include "boost/config.hpp"
28 #include "boost/format/format_config.hpp"
29
30 #if !defined(BOOST_MSVC) || BOOST_MSVC > 1300
31 #define BOOST_OVERLOAD_FOR_NON_CONST
32 #endif
33
34
35 // ****  Forward declarations ----------------------------------
36 #include "boost/format/format_fwd.hpp"           // basic_format<Ch,Tr>, and other frontends
37 #include "boost/format/internals_fwd.hpp"        // misc forward declarations for internal use
38
39
40 // ****  Auxiliary structs (stream_format_state<Ch,Tr> , and format_item<Ch,Tr> )
41 #include "boost/format/internals.hpp"    
42
43 // ****  Format  class  interface --------------------------------
44 #include "boost/format/format_class.hpp"
45
46 // **** Exceptions -----------------------------------------------
47 #include "boost/format/exceptions.hpp"
48
49 // **** Implementation -------------------------------------------
50 #include "boost/format/format_implementation.hpp"   // member functions
51
52 #include "boost/format/group.hpp"                   // class for grouping arguments
53
54 #include "boost/format/feed_args.hpp"               // argument-feeding functions
55 #include "boost/format/parsing.hpp"                 // format-string parsing (member-)functions
56
57 // **** Implementation of the free functions ----------------------
58 #include "boost/format/free_funcs.hpp"
59
60 #ifdef BOOST_OVERLOAD_FOR_NON_CONST
61 #undef BOOST_OVERLOAD_FOR_NON_CONST
62 #endif
63
64
65 #endif // BOOST_FORMAT_HPP