iosfwd

Go to the documentation of this file.
00001 // Forwarding declarations -*- C++ -*- 00002 00003 // Copyright (C) 1997, 1998, 1999, 2001, 2002 Free Software Foundation, Inc. 00004 // 00005 // This file is part of the GNU ISO C++ Library. This library is free 00006 // software; you can redistribute it and/or modify it under the 00007 // terms of the GNU General Public License as published by the 00008 // Free Software Foundation; either version 2, or (at your option) 00009 // any later version. 00010 00011 // This library is distributed in the hope that it will be useful, 00012 // but WITHOUT ANY WARRANTY; without even the implied warranty of 00013 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00014 // GNU General Public License for more details. 00015 00016 // You should have received a copy of the GNU General Public License along 00017 // with this library; see the file COPYING. If not, write to the Free 00018 // Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, 00019 // USA. 00020 00021 // As a special exception, you may use this file as part of a free software 00022 // library without restriction. Specifically, if other files instantiate 00023 // templates or use macros or inline functions from this file, or you compile 00024 // this file and link it with other files to produce an executable, this 00025 // file does not by itself cause the resulting executable to be covered by 00026 // the GNU General Public License. This exception does not however 00027 // invalidate any other reasons why the executable file might be covered by 00028 // the GNU General Public License. 00029 00030 // 00031 // ISO C++ 14882: 27.2 Forward declarations 00032 // 00033 00039 #ifndef _CPP_IOSFWD 00040 #define _CPP_IOSFWD 1 00041 00042 #pragma GCC system_header 00043 00044 #include <bits/c++config.h> 00045 #include <bits/stringfwd.h> // For string forward declarations. 00046 #include <bits/fpos.h> 00047 #include <bits/functexcept.h> 00048 00049 namespace std 00050 { 00051 template<typename _CharT, typename _Traits = char_traits<_CharT> > 00052 class basic_ios; 00053 00054 template<typename _CharT, typename _Traits = char_traits<_CharT> > 00055 class basic_streambuf; 00056 00057 template<typename _CharT, typename _Traits = char_traits<_CharT> > 00058 class basic_istream; 00059 00060 template<typename _CharT, typename _Traits = char_traits<_CharT> > 00061 class basic_ostream; 00062 00063 template<typename _CharT, typename _Traits = char_traits<_CharT> > 00064 class basic_iostream; 00065 00066 template<typename _CharT, typename _Traits = char_traits<_CharT>, 00067 typename _Alloc = allocator<_CharT> > 00068 class basic_stringbuf; 00069 00070 template<typename _CharT, typename _Traits = char_traits<_CharT>, 00071 typename _Alloc = allocator<_CharT> > 00072 class basic_istringstream; 00073 00074 template<typename _CharT, typename _Traits = char_traits<_CharT>, 00075 typename _Alloc = allocator<_CharT> > 00076 class basic_ostringstream; 00077 00078 template<typename _CharT, typename _Traits = char_traits<_CharT>, 00079 typename _Alloc = allocator<_CharT> > 00080 class basic_stringstream; 00081 00082 template<typename _CharT, typename _Traits = char_traits<_CharT> > 00083 class basic_filebuf; 00084 00085 template<typename _CharT, typename _Traits = char_traits<_CharT> > 00086 class basic_ifstream; 00087 00088 template<typename _CharT, typename _Traits = char_traits<_CharT> > 00089 class basic_ofstream; 00090 00091 template<typename _CharT, typename _Traits = char_traits<_CharT> > 00092 class basic_fstream; 00093 00094 template<typename _CharT, typename _Traits = char_traits<_CharT> > 00095 class istreambuf_iterator; 00096 00097 template<typename _CharT, typename _Traits = char_traits<_CharT> > 00098 class ostreambuf_iterator; 00099 00100 #ifdef _GLIBCPP_RESOLVE_LIB_DEFECTS 00101 // Not included. (??? Apparently no LWG number?) 00102 class ios_base; 00103 #endif 00104 00105 typedef basic_ios<char> ios; 00106 typedef basic_streambuf<char> streambuf; 00107 typedef basic_istream<char> istream; 00108 typedef basic_ostream<char> ostream; 00109 typedef basic_iostream<char> iostream; 00110 typedef basic_stringbuf<char> stringbuf; 00111 typedef basic_istringstream<char> istringstream; 00112 typedef basic_ostringstream<char> ostringstream; 00113 typedef basic_stringstream<char> stringstream; 00114 typedef basic_filebuf<char> filebuf; 00115 typedef basic_ifstream<char> ifstream; 00116 typedef basic_ofstream<char> ofstream; 00117 typedef basic_fstream<char> fstream; 00118 00119 #ifdef _GLIBCPP_USE_WCHAR_T 00120 typedef basic_ios<wchar_t> wios; 00121 typedef basic_streambuf<wchar_t> wstreambuf; 00122 typedef basic_istream<wchar_t> wistream; 00123 typedef basic_ostream<wchar_t> wostream; 00124 typedef basic_iostream<wchar_t> wiostream; 00125 typedef basic_stringbuf<wchar_t> wstringbuf; 00126 typedef basic_istringstream<wchar_t> wistringstream; 00127 typedef basic_ostringstream<wchar_t> wostringstream; 00128 typedef basic_stringstream<wchar_t> wstringstream; 00129 typedef basic_filebuf<wchar_t> wfilebuf; 00130 typedef basic_ifstream<wchar_t> wifstream; 00131 typedef basic_ofstream<wchar_t> wofstream; 00132 typedef basic_fstream<wchar_t> wfstream; 00133 #endif 00134 } // namespace std 00135 00136 #endif

Generated on Wed Sep 29 13:54:49 2004 for libstdc++-v3 Source by doxygen 1.3.7