00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023 #ifndef ACE_IOSFWD_H
00024 #define ACE_IOSFWD_H
00025
00026 #include "ace/pre.h"
00027
00028 #include "ace/config-all.h"
00029
00030 #if !defined (ACE_LACKS_PRAGMA_ONCE)
00031 # pragma once
00032 #endif
00033
00034 #if !defined (ACE_LACKS_IOSTREAM_TOTALLY)
00035
00036 #if defined (__APPLE_CC__)
00037
00038
00039 # include "ace/streams.h"
00040 #endif
00041
00042 #if defined (ACE_HAS_STANDARD_CPP_LIBRARY) && \
00043 (ACE_HAS_STANDARD_CPP_LIBRARY != 0)
00044
00045 # if !defined (ACE_USES_OLD_IOSTREAMS)
00046 # include <iosfwd>
00047 # else
00048
00049
00050
00051
00052 class ios;
00053 class streambuf;
00054 class istream;
00055 class ostream;
00056 class iostream;
00057 class filebuf;
00058 class ifstream;
00059 class ofstream;
00060 class fstream;
00061 # endif
00062
00063 # if defined (ACE_USES_STD_NAMESPACE_FOR_STDCPP_LIB) && \
00064 (ACE_USES_STD_NAMESPACE_FOR_STDCPP_LIB != 0)
00065
00066 # if !defined (ACE_USES_OLD_IOSTREAMS)
00067
00068 using std::ios;
00069 using std::streambuf;
00070 using std::istream;
00071 using std::ostream;
00072 using std::iostream;
00073 using std::filebuf;
00074 using std::ifstream;
00075 using std::ofstream;
00076 using std::fstream;
00077 # endif
00078
00079 # endif
00080
00081 #else
00082
00083 class ios;
00084 class streambuf;
00085 class istream;
00086 class ostream;
00087 class iostream;
00088 class filebuf;
00089 class ifstream;
00090 class ofstream;
00091 class fstream;
00092
00093 # endif
00094
00095 #include "ace/post.h"
00096
00097 #endif
00098
00099 #endif