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
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 #define ACE_HAS_CPP98_IOSTREAMS 1
00048 # else
00049
00050
00051
00052
00053 class ios;
00054 class streambuf;
00055 class istream;
00056 class ostream;
00057 class iostream;
00058 class filebuf;
00059 class ifstream;
00060 class ofstream;
00061 class fstream;
00062 # endif
00063
00064 # if defined (ACE_USES_STD_NAMESPACE_FOR_STDCPP_LIB) && \
00065 (ACE_USES_STD_NAMESPACE_FOR_STDCPP_LIB != 0)
00066
00067 # if !defined (ACE_USES_OLD_IOSTREAMS)
00068
00069 using std::ios;
00070 using std::streambuf;
00071 using std::istream;
00072 using std::ostream;
00073 using std::iostream;
00074 using std::filebuf;
00075 using std::ifstream;
00076 using std::ofstream;
00077 using std::fstream;
00078 # endif
00079
00080 # endif
00081
00082 #else
00083
00084 class ios;
00085 class streambuf;
00086 class istream;
00087 class ostream;
00088 class iostream;
00089 class filebuf;
00090 class ifstream;
00091 class ofstream;
00092 class fstream;
00093
00094 # endif
00095
00096 #include "ace/post.h"
00097
00098 #endif
00099
00100 #endif