format.hpp 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. // ----------------------------------------------------------------------------
  2. // format.hpp : primary header
  3. // ----------------------------------------------------------------------------
  4. // Copyright Samuel Krempp 2003. Use, modification, and distribution are
  5. // subject to the Boost Software License, Version 1.0. (See accompanying
  6. // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
  7. // See http://www.boost.org/libs/format for library home page
  8. // ----------------------------------------------------------------------------
  9. #ifndef BOOST_FORMAT_HPP
  10. #define BOOST_FORMAT_HPP
  11. #include <vector>
  12. #include <string>
  13. #include <boost/detail/workaround.hpp>
  14. #include <boost/config.hpp>
  15. #ifndef BOOST_NO_STD_LOCALE
  16. #include <locale>
  17. #endif
  18. // *** Compatibility framework
  19. #include <boost/format/detail/compat_workarounds.hpp>
  20. #ifdef BOOST_NO_LOCALE_ISDIGIT
  21. #include <cctype> // we'll use the non-locale <cctype>'s std::isdigit(int)
  22. #endif
  23. // **** Forward declarations ----------------------------------
  24. #include <boost/format/format_fwd.hpp> // basic_format<Ch,Tr>, and other frontends
  25. #include <boost/format/internals_fwd.hpp> // misc forward declarations for internal use
  26. // **** Auxiliary structs (stream_format_state<Ch,Tr> , and format_item<Ch,Tr> )
  27. #include <boost/format/internals.hpp>
  28. // **** Format class interface --------------------------------
  29. #include <boost/format/format_class.hpp>
  30. // **** Exceptions -----------------------------------------------
  31. #include <boost/format/exceptions.hpp>
  32. // **** Implementation -------------------------------------------
  33. #include <boost/format/format_implementation.hpp> // member functions
  34. #include <boost/format/group.hpp> // class for grouping arguments
  35. #include <boost/format/feed_args.hpp> // argument-feeding functions
  36. #include <boost/format/parsing.hpp> // format-string parsing (member-)functions
  37. // **** Implementation of the free functions ----------------------
  38. #include <boost/format/free_funcs.hpp>
  39. // *** Undefine 'local' macros :
  40. #include <boost/format/detail/unset_macros.hpp>
  41. #endif // BOOST_FORMAT_HPP