2003-06-27 13:41:42 +00:00
|
|
|
|
// -*- C++ -*-
|
|
|
|
|
// Boost general library 'format' ---------------------------
|
|
|
|
|
// See http://www.boost.org for updates, documentation, and revision history.
|
|
|
|
|
|
|
|
|
|
// (C) Samuel Krempp 2001
|
|
|
|
|
// krempp@crans.ens-cachan.fr
|
|
|
|
|
// Permission to copy, use, modify, sell and
|
|
|
|
|
// distribute this software is granted provided this copyright notice appears
|
|
|
|
|
// in all copies. This software is provided "as is" without express or implied
|
|
|
|
|
// warranty, and with no claim as to its suitability for any purpose.
|
|
|
|
|
|
|
|
|
|
// ideas taken from R<>diger Loos's format class
|
|
|
|
|
// and Karl Nelson's ofstream
|
|
|
|
|
|
|
|
|
|
// ----------------------------------------------------------------------------
|
|
|
|
|
// format.hpp : primary header
|
|
|
|
|
// ----------------------------------------------------------------------------
|
|
|
|
|
|
|
|
|
|
#ifndef BOOST_FORMAT_HPP
|
|
|
|
|
#define BOOST_FORMAT_HPP
|
|
|
|
|
|
|
|
|
|
#include <vector>
|
|
|
|
|
#include <string>
|
|
|
|
|
#include <sstream>
|
|
|
|
|
#include <cassert>
|
|
|
|
|
|
2003-12-22 16:40:46 +00:00
|
|
|
|
#if HAVE_LOCALE
|
2003-06-27 13:41:42 +00:00
|
|
|
|
#include <locale>
|
2003-12-22 16:40:46 +00:00
|
|
|
|
#else
|
|
|
|
|
#define BOOST_NO_STD_LOCALE
|
|
|
|
|
#define BOOST_NO_LOCALE_ISIDIGIT
|
|
|
|
|
#include <cctype>
|
|
|
|
|
#endif
|
2003-06-27 13:41:42 +00:00
|
|
|
|
|
|
|
|
|
#include <boost/format/macros_default.hpp>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// **** Forward declarations ----------------------------------
|
|
|
|
|
#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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// **** Auxiliary structs (stream_format_state<Ch,Tr> , and format_item<Ch,Tr> )
|
|
|
|
|
#include <boost/format/internals.hpp>
|
|
|
|
|
|
|
|
|
|
// **** Format class interface --------------------------------
|
|
|
|
|
#include <boost/format/format_class.hpp>
|
|
|
|
|
|
|
|
|
|
// **** Exceptions -----------------------------------------------
|
|
|
|
|
#include <boost/format/exceptions.hpp>
|
|
|
|
|
|
|
|
|
|
// **** Implementation -------------------------------------------
|
2003-09-11 10:23:55 +00:00
|
|
|
|
//#include <boost/format/format_implementation.hpp> // member functions
|
2003-06-27 13:41:42 +00:00
|
|
|
|
|
|
|
|
|
#include <boost/format/group.hpp> // class for grouping arguments
|
|
|
|
|
|
|
|
|
|
#include <boost/format/feed_args.hpp> // argument-feeding functions
|
2003-09-11 10:23:55 +00:00
|
|
|
|
//#include <boost/format/parsing.hpp> // format-string parsing (member-)functions
|
2003-06-27 13:41:42 +00:00
|
|
|
|
|
|
|
|
|
// **** Implementation of the free functions ----------------------
|
2003-09-11 10:23:55 +00:00
|
|
|
|
//#include <boost/format/free_funcs.hpp>
|
2003-06-27 13:41:42 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#endif // BOOST_FORMAT_HPP
|