VTK
vtkIOStreamFwd.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkIOStreamFwd.h
5 
6  Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7  All rights reserved.
8  See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9 
10  This software is distributed WITHOUT ANY WARRANTY; without even
11  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12  PURPOSE. See the above copyright notice for more information.
13 
14 =========================================================================*/
23 #ifndef __vtkIOStreamFwd_h
24 #define __vtkIOStreamFwd_h
25 
26 #include "vtkConfigure.h"
27 
28 #ifdef VTK_USE_ANSI_STDLIB
29 
30 #ifdef _MSC_VER
31 #pragma warning (push, 3)
32 #endif
33 
34 // Forward-declare ansi streams.
35 # include <iosfwd>
36 using std::ios;
37 using std::streambuf;
38 using std::istream;
39 using std::ostream;
40 using std::iostream;
41 using std::filebuf;
42 using std::ifstream;
43 using std::ofstream;
44 using std::fstream;
45 
46 #ifdef _MSC_VER
47 #pragma warning(pop)
48 #endif
49 
50 #else
51 # ifdef __BORLANDC__
52 # include <iosfwd.h>
53 # else
54 
55 // Forward-declare non-ansi streams.
56 class ios;
57 class streambuf;
58 class istream;
59 class ostream;
60 class iostream;
61 class filebuf;
62 class ifstream;
63 class ofstream;
64 class fstream;
65 # endif
66 
67 #endif
68 
69 
70 #endif // __vtkIOStreamFwd_h