traits_fwd.hpp 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111
  1. // (C) Copyright 2008 CodeRage, LLC (turkanis at coderage dot com)
  2. // (C) Copyright 2003-2007 Jonathan Turkanis
  3. // Distributed under the Boost Software License, Version 1.0. (See accompanying
  4. // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt.)
  5. // See http://www.boost.org/libs/iostreams for documentation.
  6. // Forward declarations of templates defined in traits.hpp.
  7. #ifndef BOOST_IOSTREAMS_IO_TRAITS_FWD_HPP_INCLUDED
  8. #define BOOST_IOSTREAMS_IO_TRAITS_FWD_HPP_INCLUDED
  9. #if defined(_MSC_VER)
  10. # pragma once
  11. #endif
  12. #include <iosfwd> // stream types, char_traits.
  13. namespace boost { namespace iostreams {
  14. template<typename T>
  15. struct is_istream;
  16. template<typename T>
  17. struct is_ostream;
  18. template<typename T>
  19. struct is_iostream;
  20. template<typename T>
  21. struct is_streambuf;
  22. template<typename T>
  23. struct is_istringstream;
  24. template<typename T>
  25. struct is_ostringstream;
  26. template<typename T>
  27. struct is_stringstream;
  28. template<typename T>
  29. struct is_stringbuf;
  30. template<typename T>
  31. struct is_ifstream;
  32. template<typename T>
  33. struct is_ofstream;
  34. template<typename T>
  35. struct is_fstream;
  36. template<typename T>
  37. struct is_filebuf;
  38. template<typename T>
  39. struct is_std_io;
  40. template<typename T>
  41. struct is_std_file_device;
  42. template<typename T>
  43. struct is_std_string_device;
  44. template<typename T>
  45. struct char_type_of;
  46. template<typename T>
  47. struct category_of;
  48. template<typename T>
  49. struct int_type_of;
  50. template<typename T>
  51. struct mode_of;
  52. template<typename T>
  53. struct is_device;
  54. template<typename T>
  55. struct is_filter;
  56. template<typename T>
  57. struct is_direct;
  58. namespace detail {
  59. template<typename T>
  60. struct is_boost_stream;
  61. template<typename T>
  62. struct is_boost_stream_buffer;
  63. template<typename T>
  64. struct is_filtering_stream;
  65. template<typename T>
  66. struct is_filtering_streambuf;
  67. template<typename T>
  68. struct is_linked;
  69. template<typename T>
  70. struct is_boost;
  71. } // End namespace detail.
  72. } } // End namespaces iostreams, boost.
  73. #endif // #ifndef BOOST_IOSTREAMS_IO_TRAITS_FWD_HPP_INCLUDED