Go to the documentation of this file.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 # include <iostream>
00059 # include <fstream>
00060 # include <istream>
00061 # include <ostream>
00062 # include <streambuf>
00063 # include <iomanip>
00064 # include <ios>
00065 # endif
00066
00067 # if defined (ACE_USES_STD_NAMESPACE_FOR_STDCPP_LIB) && \
00068 (ACE_USES_STD_NAMESPACE_FOR_STDCPP_LIB != 0)
00069
00070 # if !defined (ACE_USES_OLD_IOSTREAMS)
00071
00072 using std::ios;
00073 using std::ios_base;
00074 using std::streambuf;
00075 using std::istream;
00076 using std::ostream;
00077 using std::iostream;
00078 using std::filebuf;
00079 using std::ifstream;
00080 using std::ofstream;
00081 using std::fstream;
00082
00083 using std::cin;
00084 using std::cout;
00085 using std::cerr;
00086 using std::clog;
00087
00088 using std::endl;
00089 using std::ends;
00090 using std::flush;
00091
00092 using std::ws;
00093
00094 using std::resetiosflags;
00095 using std::setfill;
00096 using std::setiosflags;
00097 using std::setprecision;
00098 using std::setw;
00099
00100 using std::dec;
00101 using std::hex;
00102 using std::oct;
00103 # endif
00104
00105 # endif
00106
00107 # if defined (_MSC_VER)
00108 # pragma warning(4: 4018 4114 4146 4245)
00109 # pragma warning(4: 4663 4664 4665 4512 4511)
00110 # endif
00111
00112 # else
00113
00114 # include <fstream.h>
00115 # include <iostream.h>
00116 # include <iomanip.h>
00117
00118 # if defined (ACE_WIN32) && !defined(__MINGW32__)
00119 # if defined(_MSC_VER) // VSB
00120 # include <ios.h>
00121 # include <streamb.h>
00122 # include <istream.h>
00123 # include <ostream.h>
00124 # endif
00125 # endif
00126
00127 # endif
00128
00129 #endif
00130
00131
00132
00133 #if defined (_MSC_VER)
00134 #pragma warning(pop)
00135 #endif
00136
00137 #include "ace/post.h"
00138 #endif