2004-11-20 09:08:45 +00:00
|
|
|
// ----------------------------------------------------------------------------
|
|
|
|
// format.hpp : primary header
|
|
|
|
// ----------------------------------------------------------------------------
|
2002-11-20 17:20:54 +00:00
|
|
|
|
2004-11-20 09:08:45 +00:00
|
|
|
// Copyright Samuel Krempp 2003. Use, modification, and distribution are
|
|
|
|
// subject to the Boost Software License, Version 1.0. (See accompanying
|
|
|
|
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
|
|
|
|
|
|
|
// See http://www.boost.org/libs/format for library home page
|
2002-11-20 17:20:54 +00:00
|
|
|
|
|
|
|
|
|
|
|
// ----------------------------------------------------------------------------
|
|
|
|
|
|
|
|
#ifndef BOOST_FORMAT_HPP
|
|
|
|
#define BOOST_FORMAT_HPP
|
|
|
|
|
|
|
|
#include <vector>
|
|
|
|
#include <string>
|
2003-03-03 15:53:48 +00:00
|
|
|
#include <boost/detail/workaround.hpp>
|
2004-11-20 09:08:45 +00:00
|
|
|
#include <boost/config.hpp>
|
2002-11-20 17:20:54 +00:00
|
|
|
|
2003-03-03 15:53:48 +00:00
|
|
|
#ifndef BOOST_NO_STD_LOCALE
|
|
|
|
#include <locale>
|
|
|
|
#endif
|
|
|
|
|
2004-11-20 09:08:45 +00:00
|
|
|
// *** Compatibility framework
|
|
|
|
#include <boost/format/detail/compat_workarounds.hpp>
|
|
|
|
|
2003-03-20 23:09:18 +00:00
|
|
|
#ifdef BOOST_NO_LOCALE_ISIDIGIT
|
2003-03-03 15:53:48 +00:00
|
|
|
#include <cctype> // we'll use the non-locale <cctype>'s std::isdigit(int)
|
|
|
|
#endif
|
|
|
|
|
2002-11-20 17:20:54 +00:00
|
|
|
// **** Forward declarations ----------------------------------
|
2004-02-05 09:14:22 +00:00
|
|
|
#include <boost/format/format_fwd.hpp> // basic_format<Ch,Tr>, and other frontends
|
|
|
|
#include <boost/format/internals_fwd.hpp> // misc forward declarations for internal use
|
2002-11-20 17:20:54 +00:00
|
|
|
|
|
|
|
// **** Auxiliary structs (stream_format_state<Ch,Tr> , and format_item<Ch,Tr> )
|
2003-03-03 15:53:48 +00:00
|
|
|
#include <boost/format/internals.hpp>
|
2002-11-20 17:20:54 +00:00
|
|
|
|
|
|
|
// **** Format class interface --------------------------------
|
2003-03-03 15:53:48 +00:00
|
|
|
#include <boost/format/format_class.hpp>
|
2002-11-20 17:20:54 +00:00
|
|
|
|
|
|
|
// **** Exceptions -----------------------------------------------
|
2003-03-03 15:53:48 +00:00
|
|
|
#include <boost/format/exceptions.hpp>
|
2002-11-20 17:20:54 +00:00
|
|
|
|
|
|
|
// **** Implementation -------------------------------------------
|
2003-03-03 15:53:48 +00:00
|
|
|
#include <boost/format/format_implementation.hpp> // member functions
|
|
|
|
#include <boost/format/group.hpp> // class for grouping arguments
|
|
|
|
#include <boost/format/feed_args.hpp> // argument-feeding functions
|
|
|
|
#include <boost/format/parsing.hpp> // format-string parsing (member-)functions
|
2002-11-20 17:20:54 +00:00
|
|
|
|
|
|
|
// **** Implementation of the free functions ----------------------
|
2003-03-03 15:53:48 +00:00
|
|
|
#include <boost/format/free_funcs.hpp>
|
2002-11-20 17:20:54 +00:00
|
|
|
|
|
|
|
|
2003-03-03 15:53:48 +00:00
|
|
|
// *** Undefine 'local' macros :
|
2004-02-05 09:14:22 +00:00
|
|
|
#include <boost/format/detail/unset_macros.hpp>
|
2002-11-20 17:20:54 +00:00
|
|
|
|
|
|
|
#endif // BOOST_FORMAT_HPP
|