[7297] Fixed profession spells sorting in trainer spell list at client.
[getmangos.git] / dep / ACE_wrappers / ace / streams.h
blob396a67c712e5d4dbf9ac31688ca6056c0972e335
1 // -*- C++ -*-
3 //=============================================================================
4 /**
5 * @file streams.h
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 //=============================================================================
22 #ifndef ACE_STREAMS_H
23 #define ACE_STREAMS_H
24 #include /**/ "ace/pre.h"
26 #include /**/ "ace/config-all.h"
28 #if !defined (ACE_LACKS_PRAGMA_ONCE)
29 # 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)
35 #pragma warning(push)
36 #endif /* _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
55 // when it is used.
56 # include /**/ <iomanip.h>
57 # else
58 # include /**/ <iostream>
59 # include /**/ <fstream>
60 # include /**/ <istream>
61 # include /**/ <ostream>
62 # include /**/ <streambuf>
63 # include /**/ <iomanip>
64 # include /**/ <ios>
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
72 using std::ios;
73 using std::ios_base;
74 using std::streambuf;
75 using std::istream;
76 using std::ostream;
77 using std::iostream;
78 using std::filebuf;
79 using std::ifstream;
80 using std::ofstream;
81 using std::fstream;
83 using std::cin;
84 using std::cout;
85 using std::cerr;
86 using std::clog;
88 using std::endl;
89 using std::ends;
90 using std::flush;
92 using std::ws;
94 using std::resetiosflags;
95 using std::setfill;
96 using std::setiosflags;
97 using std::setprecision;
98 using std::setw;
100 using std::dec;
101 using std::hex;
102 using std::oct;
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)
134 #pragma warning(pop)
135 #endif /* _MSC_VER */
137 #include /**/ "ace/post.h"
138 #endif /* ACE_STREAMS_H */