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;
67 # include <iostream.h>
85 #if !defined(VTK_INCLUDE_STRSTREAM_HEADERS)
86 # if defined(VTK_LEGACY_REMOVE)
88 # elif defined(VTK_LEGACY_SILENT)
90 # define VTK_INCLUDE_STRSTREAM_HEADERS
95 # if !defined(VTK_EXCLUDE_STRSTREAM_HEADERS)
96 # define VTK_INCLUDE_STRSTREAM_HEADERS
101 #if defined(VTK_INCLUDE_STRSTREAM_HEADERS)
103 # ifdef VTK_USE_ANSI_STDLIB
107 # pragma warning(push, 3)
110 # include <strstream>
112 using std::ostrstream;
113 using std::istrstream;
114 using std::strstream;
117 # pragma warning(pop)
124 # if defined(_MSC_VER)
125 # include <strstrea.h>
127 # include <strstream.h>
136 #if defined(VTK_IOSTREAM_NEED_OPERATORS_LL)
138 # if !defined(VTK_ISTREAM_SUPPORTS_LONG_LONG)
140 # if !defined(VTK_DO_NOT_DEFINE_ISTREAM_SLL)
141 inline istream& operator >> (istream& is, vtkIOStreamSLL&
value)
143 return vtkIOStreamScan(is, value);
148 # if !defined(VTK_DO_NOT_DEFINE_ISTREAM_ULL)
149 inline istream& operator >> (istream& is, vtkIOStreamULL&
value)
151 return vtkIOStreamScan(is, value);
156 # if !defined(VTK_OSTREAM_SUPPORTS_LONG_LONG)
158 # if !defined(VTK_DO_NOT_DEFINE_OSTREAM_SLL)
161 return vtkIOStreamPrint(os, value);
166 # if !defined(VTK_DO_NOT_DEFINE_OSTREAM_ULL)
169 return vtkIOStreamPrint(os, value);
176 #endif // __vtkIOStream_h