00001 
00002 
00003 
00004 
00005 
00006 
00007 
00008 
00009 
00010 
00011 
00012 
00013 
00014 
00015 
00016 
00017 
00018 
00019 
00020 
00021 
00022 #ifndef ACE_STREAMS_H
00023 #define ACE_STREAMS_H
00024 #include  "ace/pre.h"
00025 
00026 #include  "ace/config-all.h"
00027 
00028 #if !defined (ACE_LACKS_PRAGMA_ONCE)
00029 # pragma once
00030 #endif 
00031 
00032 
00033 
00034 #if defined (_MSC_VER)
00035 #pragma warning(push)
00036 #endif 
00037 
00038 
00039 #if !defined (ACE_LACKS_IOSTREAM_TOTALLY)
00040 
00041 #  if defined (ACE_HAS_STANDARD_CPP_LIBRARY)  && \
00042       (ACE_HAS_STANDARD_CPP_LIBRARY != 0)
00043 
00044 #   if defined (_MSC_VER)
00045 #     pragma warning(disable: 4018 4114 4146 4245)
00046 #     pragma warning(disable: 4663 4664 4665 4511 4512)
00047 #   endif 
00048 
00049 #   if defined (ACE_USES_OLD_IOSTREAMS)
00050 #     include  <iostream.h>
00051 #     include  <fstream.h>
00052   
00053   
00054   
00055   
00056 #     include  <iomanip.h>
00057 #   else
00058 #     if defined (__BORLANDC__) && (__BORLANDC__ == 0x551)
00059 #       include  <iterator>
00060 #     endif 
00061 #     include  <iostream>
00062 #     include  <fstream>
00063 #     include  <istream>
00064 #     include  <ostream>
00065 #     include  <streambuf>
00066 #     include  <iomanip>
00067 #     include  <ios>
00068 #   endif 
00069 
00070 #   if defined (ACE_USES_STD_NAMESPACE_FOR_STDCPP_LIB) && \
00071        (ACE_USES_STD_NAMESPACE_FOR_STDCPP_LIB != 0)
00072 
00073 #     if !defined (ACE_USES_OLD_IOSTREAMS)
00074         
00075         using std::ios;
00076         using std::ios_base;
00077         using std::streambuf;
00078         using std::istream;
00079         using std::ostream;
00080         using std::iostream;
00081         using std::filebuf;
00082         using std::ifstream;
00083         using std::ofstream;
00084         using std::fstream;
00085 
00086         using std::cin;
00087         using std::cout;
00088         using std::cerr;
00089         using std::clog;
00090 
00091         using std::endl;
00092         using std::ends;
00093         using std::flush;
00094 
00095         using std::ws;
00096 
00097         using std::resetiosflags;
00098         using std::setfill;
00099         using std::setiosflags;
00100         using std::setprecision;
00101         using std::setw;
00102 
00103         using std::dec;
00104         using std::hex;
00105         using std::oct;
00106 #     endif 
00107 
00108 #   endif 
00109 
00110 #   if defined (_MSC_VER)
00111 #     pragma warning(4: 4018 4114 4146 4245)
00112 #     pragma warning(4: 4663 4664 4665 4512 4511)
00113 #   endif 
00114 
00115 # else 
00116 
00117 #   include  <fstream.h>
00118 #   include  <iostream.h>
00119 #   include  <iomanip.h>
00120 
00121 #   if defined (ACE_WIN32) && !defined(__MINGW32__)
00122 #     if defined(_MSC_VER) // VSB
00123 #       include  <ios.h>
00124 #       include  <streamb.h>
00125 #       include  <istream.h>
00126 #       include  <ostream.h>
00127 #     endif 
00128 #   endif 
00129 
00130 # endif 
00131 
00132 #endif 
00133 
00134 
00135 
00136 #if defined (_MSC_VER)
00137 #pragma warning(pop)
00138 #endif 
00139 
00140 #include  "ace/post.h"
00141 #endif