home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / stl453up.zip / stl453fx / stlport / istream.h < prev    next >
C/C++ Source or Header  |  2002-04-29  |  2KB  |  64 lines

  1. /*
  2.  * Copyright (c) 1999 
  3.  * Boris Fomitchev
  4.  *
  5.  * This material is provided "as is", with absolutely no warranty expressed
  6.  * or implied. Any use is at your own risk.
  7.  *
  8.  * Permission to use or copy this software for any purpose is hereby granted 
  9.  * without fee, provided the above notices are retained on all copies.
  10.  * Permission to modify the code and to distribute modified code is granted,
  11.  * provided the above notices are retained, and a notice that the code was
  12.  * modified is included with the above copyright notice.
  13.  *
  14.  */
  15.  
  16. #ifndef _STLP_ISTREAM_H
  17. # define _STLP_ISTREAM_H
  18.  
  19. # ifndef _STLP_OUTERMOST_HEADER_ID
  20. #  define _STLP_OUTERMOST_HEADER_ID 0x2037
  21. #  include <stl/_prolog.h>
  22. # endif
  23.  
  24. # if defined (_STLP_OWN_IOSTREAMS)
  25.  
  26. # include <istream>
  27.  
  28. # ifndef _STLP_HAS_NO_NAMESPACES
  29. #  ifdef _STLP_BROKEN_USING_DIRECTIVE
  30. using namespace _STLP_STD;
  31. #  else
  32. using _STLP_STD::basic_istream;
  33. using _STLP_STD::basic_iostream;
  34. using _STLP_STD::istream;
  35. using _STLP_STD::iostream;
  36. using _STLP_STD::ios;
  37. #   ifndef _STLP_NO_WCHAR_T
  38. using _STLP_STD::wistream;
  39. using _STLP_STD::wiostream;
  40. #   endif
  41. using _STLP_STD::ws;
  42. #  endif
  43. # endif
  44.  
  45. # elif !defined (_STLP_USE_NO_IOSTREAMS)
  46.  
  47. # include _STLP_NATIVE_OLD_STREAMS_HEADER(istream.h)
  48.  
  49. # if defined (_STLP_USE_NAMESPACES) && !defined (_STLP_BROKEN_USING_DIRECTIVE)
  50. _STLP_BEGIN_NAMESPACE
  51. using _STLP_OLD_IO_NAMESPACE::istream;
  52. _STLP_END_NAMESPACE
  53. # endif /* _STLP_USE_OWN_NAMESPACE */
  54.  
  55. # endif /* _STLP_OWN_IOSTREAMS */
  56.  
  57. # if (_STLP_OUTERMOST_HEADER_ID == 0x2037)
  58. #  include <stl/_epilog.h>
  59. #  undef _STLP_OUTERMOST_HEADER_ID
  60. # endif
  61.  
  62. #endif /* _STLP_ISTREAM_H */
  63.  
  64.