format.hpp 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. // -*- C++ -*-
  2. // Boost general library 'format' ---------------------------
  3. // See http://www.boost.org for updates, documentation, and revision history.
  4. // (C) Samuel Krempp 2001
  5. // krempp@crans.ens-cachan.fr
  6. // Permission to copy, use, modify, sell and
  7. // distribute this software is granted provided this copyright notice appears
  8. // in all copies. This software is provided "as is" without express or implied
  9. // warranty, and with no claim as to its suitability for any purpose.
  10. // ideas taken from Rüdiger Loos's format class
  11. // and Karl Nelson's ofstream
  12. // ----------------------------------------------------------------------------
  13. // format.hpp : primary header
  14. // ----------------------------------------------------------------------------
  15. #ifndef BOOST_FORMAT_HPP
  16. #define BOOST_FORMAT_HPP
  17. #include <vector>
  18. #include <string>
  19. #include <sstream>
  20. #include <cassert>
  21. #if HAVE_LOCALE
  22. #include <locale>
  23. #else
  24. #define BOOST_NO_STD_LOCALE
  25. #define BOOST_NO_LOCALE_ISIDIGIT
  26. #include <cctype>
  27. #endif
  28. #include <boost/format/macros_default.hpp>
  29. // **** Forward declarations ----------------------------------
  30. #include <boost/format/format_fwd.hpp> // basic_format<Ch,Tr>, and other frontends
  31. #include <boost/format/internals_fwd.hpp> // misc forward declarations for internal use
  32. // **** Auxiliary structs (stream_format_state<Ch,Tr> , and format_item<Ch,Tr> )
  33. #include <boost/format/internals.hpp>
  34. // **** Format class interface --------------------------------
  35. #include <boost/format/format_class.hpp>
  36. // **** Exceptions -----------------------------------------------
  37. #include <boost/format/exceptions.hpp>
  38. // **** Implementation -------------------------------------------
  39. //#include <boost/format/format_implementation.hpp> // member functions
  40. #include <boost/format/group.hpp> // class for grouping arguments
  41. #include <boost/format/feed_args.hpp> // argument-feeding functions
  42. //#include <boost/format/parsing.hpp> // format-string parsing (member-)functions
  43. // **** Implementation of the free functions ----------------------
  44. //#include <boost/format/free_funcs.hpp>
  45. #endif // BOOST_FORMAT_HPP