iosfwd 3.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. #pragma once
  2. #include <streambuf>
  3. #include <stdtypedefs.h>
  4. #include <string>
  5. namespace std {
  6. template<class T> class allocator;
  7. template<class charT, class traits = char_traits<charT> > class basic_ios;
  8. template<class charT, class traits = char_traits<charT> > class basic_istream;
  9. template<class charT, class traits = char_traits<charT> > class basic_ostream;
  10. template<class charT, class traits = char_traits<charT> > class basic_iostream;
  11. template<class charT, class traits = char_traits<charT>, class Allocator = allocator<charT> > class basic_stringbuf;
  12. template<class charT, class traits = char_traits<charT>, class Allocator = allocator<charT> > class basic_istringstream;
  13. template<class charT, class traits = char_traits<charT>, class Allocator = allocator<charT> > class basic_ostringstream;
  14. template<class charT, class traits = char_traits<charT>, class Allocator = allocator<charT> > class basic_stringstream;
  15. template<class charT, class traits = char_traits<charT> > class basic_filebuf;
  16. template<class charT, class traits = char_traits<charT> > class basic_ifstream;
  17. template<class charT, class traits = char_traits<charT> > class basic_ofstream;
  18. template<class charT, class traits = char_traits<charT> > class basic_fstream;
  19. template<class charT, class traits = char_traits<charT>, class Allocator = allocator<charT> > class basic_syncbuf;
  20. template<class charT, class traits = char_traits<charT>, class Allocator = allocator<charT> > class basic_osyncstream;
  21. template<class charT, class traits = char_traits<charT> > class istreambuf_iterator;
  22. template<class charT, class traits = char_traits<charT> > class ostreambuf_iterator;
  23. typedef basic_ios<char> ios;
  24. typedef basic_ios<wchar_t> wios;
  25. //typedef basic_istream<char> istream;
  26. //typedef basic_ostream<char> ostream;
  27. //typedef basic_iostream<char> iostream;
  28. class istream;
  29. class ostream;
  30. class iostream;
  31. typedef basic_stringbuf<char> stringbuf;
  32. typedef basic_istringstream<char> istringstream;
  33. typedef basic_ostringstream<char> ostringstream;
  34. typedef basic_stringstream<char> stringstream;
  35. typedef basic_filebuf<char> filebuf;
  36. //typedef basic_ifstream<char> ifstream;
  37. //typedef basic_ofstream<char> ofstream;
  38. //typedef basic_fstream<char> fstream;
  39. class ifstream;
  40. class ofstream;
  41. class fstream;
  42. typedef basic_syncbuf<char> syncbuf;
  43. typedef basic_osyncstream<char> osyncstream;
  44. typedef basic_istream<wchar_t> wistream;
  45. typedef basic_ostream<wchar_t> wostream;
  46. typedef basic_iostream<wchar_t> wiostream;
  47. typedef basic_stringbuf<wchar_t> wstringbuf;
  48. typedef basic_istringstream<wchar_t> wistringstream;
  49. typedef basic_ostringstream<wchar_t> wostringstream;
  50. typedef basic_stringstream<wchar_t> wstringstream;
  51. typedef basic_filebuf<wchar_t> wfilebuf;
  52. typedef basic_ifstream<wchar_t> wifstream;
  53. typedef basic_ofstream<wchar_t> wofstream;
  54. typedef basic_fstream<wchar_t> wfstream;
  55. typedef basic_syncbuf<wchar_t> wsyncbuf;
  56. typedef basic_osyncstream<wchar_t> wosyncstream;
  57. template<class state> class fpos;
  58. typedef fpos<mbstate_t> streampos;
  59. typedef fpos<mbstate_t> wstreampos;
  60. }