Main Page | Directories | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

vtkIOStreamFwd.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    $RCSfile: vtkIOStreamFwd.h,v $
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 =========================================================================*/
00034 #ifndef __vtkIOStreamFwd_h
00035 #define __vtkIOStreamFwd_h
00036 
00037 #include "vtkConfigure.h"
00038 
00039 #ifdef VTK_USE_ANSI_STDLIB
00040 
00041 #ifdef _MSC_VER
00042 #pragma warning (push, 3)
00043 #endif
00044 
00045 // Forward-declare ansi streams.
00046 # include <iosfwd>
00047 using std::ios;
00048 using std::streambuf;
00049 using std::istream;
00050 using std::ostream;
00051 using std::iostream;
00052 using std::filebuf;
00053 using std::ifstream;
00054 using std::ofstream;
00055 using std::fstream;
00056 
00057 #ifdef _MSC_VER
00058 #pragma warning(pop)
00059 #endif
00060 
00061 #else
00062 # ifdef __BORLANDC__
00063 #  include <iosfwd.h>
00064 # else
00065 
00066 // Forward-declare non-ansi streams.
00067 class ios;
00068 class streambuf;
00069 class istream;
00070 class ostream;
00071 class iostream;
00072 class filebuf;
00073 class ifstream;
00074 class ofstream;
00075 class fstream;
00076 # endif
00077 
00078 #endif
00079 
00080 
00081 #endif // __vtkIOStreamFwd_h