3 //=============================================================================
7 * $Id: streams.h 82445 2008-07-28 13:40:01Z johnnyw $
9 * @author Irfan Pyarali
11 * This file contains the portability ugliness for the Standard C++
12 * Library. As implementations of the "standard" emerge, this file
13 * will need to be updated.
15 * This files deals with the streams includes.
19 //=============================================================================
24 #include /**/ "ace/pre.h"
26 #include /**/ "ace/config-all.h"
28 #if !defined (ACE_LACKS_PRAGMA_ONCE)
30 #endif /* ACE_LACKS_PRAGMA_ONCE */
32 // Do this so the #pragma warning in the MSVC headers do not
33 // affect our #pragma warning settings
34 #if defined (_MSC_VER)
39 #if !defined (ACE_LACKS_IOSTREAM_TOTALLY)
41 # if defined (ACE_HAS_STANDARD_CPP_LIBRARY) && \
42 (ACE_HAS_STANDARD_CPP_LIBRARY != 0)
44 # if defined (_MSC_VER)
45 # pragma warning(disable: 4018 4114 4146 4245)
46 # pragma warning(disable: 4663 4664 4665 4511 4512)
47 # endif /* _MSC_VER */
49 # if defined (ACE_USES_OLD_IOSTREAMS)
50 # include /**/ <iostream.h>
51 # include /**/ <fstream.h>
52 // This has been commented as it is not needed and causes problems with Qt.
53 // (brunsch) But has been uncommented since it should be included. Qt
54 // probably should have some sort of macro that will prevent including this
56 # include /**/ <iomanip.h>
58 # include /**/ <iostream>
59 # include /**/ <fstream>
60 # include /**/ <istream>
61 # include /**/ <ostream>
62 # include /**/ <streambuf>
63 # include /**/ <iomanip>
65 # endif /* ACE_USES_OLD_IOSTREAMS */
67 # if defined (ACE_USES_STD_NAMESPACE_FOR_STDCPP_LIB) && \
68 (ACE_USES_STD_NAMESPACE_FOR_STDCPP_LIB != 0)
70 # if !defined (ACE_USES_OLD_IOSTREAMS)
71 // Make these available in the global name space
94 using std::resetiosflags
;
96 using std::setiosflags
;
97 using std::setprecision
;
103 # endif /* ! ACE_USES_OLD_IOSTREAMS */
105 # endif /* ACE_USES_STD_NAMESPACE_FOR_STDCPP_LIB */
107 # if defined (_MSC_VER)
108 # pragma warning(4: 4018 4114 4146 4245)
109 # pragma warning(4: 4663 4664 4665 4512 4511)
110 # endif /* _MSC_VER */
112 # else /* ! ACE_HAS_STANDARD_CPP_LIBRARY */
114 # include /**/ <fstream.h>
115 # include /**/ <iostream.h>
116 # include /**/ <iomanip.h>
118 # if defined (ACE_WIN32) && !defined(__MINGW32__)
119 # if defined(_MSC_VER) // VSB
120 # include /**/ <ios.h>
121 # include /**/ <streamb.h>
122 # include /**/ <istream.h>
123 # include /**/ <ostream.h>
124 # endif /* _MSC_VER */
125 # endif /* ACE_WIN32 && !__MINGW32__ */
127 # endif /* ! ACE_HAS_STANDARD_CPP_LIBRARY */
129 #endif /* ! ACE_LACKS_IOSTREAM_TOTALLY */
131 // Do this so the #pragma warning in the MSVC headers do not
132 // affect our #pragma warning settings
133 #if defined (_MSC_VER)
135 #endif /* _MSC_VER */
137 #include /**/ "ace/post.h"
138 #endif /* ACE_STREAMS_H */