22 #ifndef __vtkIOStream_h
23 #define __vtkIOStream_h
25 #include "vtkConfigure.h"
27 #define __VTK_SYSTEM_INCLUDES__INSIDE
29 #undef __VTK_SYSTEM_INCLUDES__INSIDE
31 #ifdef VTK_USE_ANSI_STDLIB
34 #pragma warning (push, 3)
47 using std::setprecision;
68 # include "vtkWinCE.h"
70 # include <iostream.h>
89 #if !defined(VTK_INCLUDE_STRSTREAM_HEADERS)
90 # if defined(VTK_LEGACY_REMOVE)
92 # elif defined(VTK_LEGACY_SILENT)
94 # define VTK_INCLUDE_STRSTREAM_HEADERS
99 # if !defined(VTK_EXCLUDE_STRSTREAM_HEADERS)
100 # define VTK_INCLUDE_STRSTREAM_HEADERS
105 #if defined(VTK_INCLUDE_STRSTREAM_HEADERS)
107 # ifdef VTK_USE_ANSI_STDLIB
111 # pragma warning(push, 3)
114 # include <strstream>
116 using std::ostrstream;
117 using std::istrstream;
118 using std::strstream;
121 # pragma warning(pop)
128 # if defined(_MSC_VER)
129 # include <strstrea.h>
131 # include <strstream.h>
140 #if defined(VTK_IOSTREAM_NEED_OPERATORS_LL)
142 # if !defined(VTK_ISTREAM_SUPPORTS_LONG_LONG)
144 # if !defined(VTK_DO_NOT_DEFINE_ISTREAM_SLL)
145 inline istream& operator >> (istream& is, vtkIOStreamSLL& value)
147 return vtkIOStreamScan(is, value);
152 # if !defined(VTK_DO_NOT_DEFINE_ISTREAM_ULL)
153 inline istream& operator >> (istream& is, vtkIOStreamULL& value)
155 return vtkIOStreamScan(is, value);
160 # if !defined(VTK_OSTREAM_SUPPORTS_LONG_LONG)
162 # if !defined(VTK_DO_NOT_DEFINE_OSTREAM_SLL)
163 inline ostream&
operator << (ostream& os, vtkIOStreamSLL value)
165 return vtkIOStreamPrint(os, value);
170 # if !defined(VTK_DO_NOT_DEFINE_OSTREAM_ULL)
171 inline ostream&
operator << (ostream& os, vtkIOStreamULL value)
173 return vtkIOStreamPrint(os, value);
180 #endif // __vtkIOStream_h
VTK_COMMON_EXPORT ostream & operator<<(ostream &os, const vtkIndent &o)