VTK
|
00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: vtkIOStreamFwd.h 00005 00006 Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen 00007 All rights reserved. 00008 See Copyright.txt or http://www.kitware.com/Copyright.htm for details. 00009 00010 This software is distributed WITHOUT ANY WARRANTY; without even 00011 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 00012 PURPOSE. See the above copyright notice for more information. 00013 00014 =========================================================================*/ 00023 #ifndef __vtkIOStreamFwd_h 00024 #define __vtkIOStreamFwd_h 00025 00026 #include "vtkConfigure.h" 00027 00028 #ifdef VTK_USE_ANSI_STDLIB 00029 00030 #ifdef _MSC_VER 00031 #pragma warning (push, 3) 00032 #endif 00033 00034 // Forward-declare ansi streams. 00035 # include <iosfwd> 00036 using std::ios; 00037 using std::streambuf; 00038 using std::istream; 00039 using std::ostream; 00040 using std::iostream; 00041 using std::filebuf; 00042 using std::ifstream; 00043 using std::ofstream; 00044 using std::fstream; 00045 00046 #ifdef _MSC_VER 00047 #pragma warning(pop) 00048 #endif 00049 00050 #else 00051 # ifdef __BORLANDC__ 00052 # include <iosfwd.h> 00053 # else 00054 00055 // Forward-declare non-ansi streams. 00056 class ios; 00057 class streambuf; 00058 class istream; 00059 class ostream; 00060 class iostream; 00061 class filebuf; 00062 class ifstream; 00063 class ofstream; 00064 class fstream; 00065 # endif 00066 00067 #endif 00068 00069 00070 #endif // __vtkIOStreamFwd_h