Copyright (C) 2000-2012 |
Whole document tree std_iosfwd.hGo to the documentation of this file.00001 // Forwarding declarations -*- C++ -*- 00002 00003 // Copyright (C) 1997, 1998, 1999, 2001 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 00034 #ifndef _CPP_IOSFWD 00035 #define _CPP_IOSFWD 1 00036 00037 #pragma GCC system_header 00038 00039 #include <bits/c++config.h> 00040 #include <bits/stringfwd.h> // For string forward declarations. 00041 #include <bits/fpos.h> 00042 #include <bits/functexcept.h> 00043 00044 namespace std 00045 { 00046 template<typename _CharT, typename _Traits = char_traits<_CharT> > 00047 class basic_ios; 00048 00049 template<typename _CharT, typename _Traits = char_traits<_CharT> > 00050 class basic_streambuf; 00051 00052 template<typename _CharT, typename _Traits = char_traits<_CharT> > 00053 class basic_istream; 00054 00055 template<typename _CharT, typename _Traits = char_traits<_CharT> > 00056 class basic_ostream; 00057 00058 template<typename _CharT, typename _Traits = char_traits<_CharT> > 00059 class basic_iostream; 00060 00061 template<typename _CharT, typename _Traits = char_traits<_CharT>, 00062 typename _Alloc = allocator<_CharT> > 00063 class basic_stringbuf; 00064 00065 template<typename _CharT, typename _Traits = char_traits<_CharT>, 00066 typename _Alloc = allocator<_CharT> > 00067 class basic_istringstream; 00068 00069 template<typename _CharT, typename _Traits = char_traits<_CharT>, 00070 typename _Alloc = allocator<_CharT> > 00071 class basic_ostringstream; 00072 00073 template<typename _CharT, typename _Traits = char_traits<_CharT>, 00074 typename _Alloc = allocator<_CharT> > 00075 class basic_stringstream; 00076 00077 template<typename _CharT, typename _Traits = char_traits<_CharT> > 00078 class basic_filebuf; 00079 00080 template<typename _CharT, typename _Traits = char_traits<_CharT> > 00081 class basic_ifstream; 00082 00083 template<typename _CharT, typename _Traits = char_traits<_CharT> > 00084 class basic_ofstream; 00085 00086 template<typename _CharT, typename _Traits = char_traits<_CharT> > 00087 class basic_fstream; 00088 00089 template<typename _CharT, typename _Traits = char_traits<_CharT> > 00090 class istreambuf_iterator; 00091 00092 template<typename _CharT, typename _Traits = char_traits<_CharT> > 00093 class ostreambuf_iterator; 00094 00095 #ifdef _GLIBCPP_RESOLVE_LIB_DEFECTS 00096 // Not included. 00097 class ios_base; 00098 #endif 00099 00100 typedef basic_ios<char> ios; 00101 typedef basic_streambuf<char> streambuf; 00102 typedef basic_istream<char> istream; 00103 typedef basic_ostream<char> ostream; 00104 typedef basic_iostream<char> iostream; 00105 typedef basic_stringbuf<char> stringbuf; 00106 typedef basic_istringstream<char> istringstream; 00107 typedef basic_ostringstream<char> ostringstream; 00108 typedef basic_stringstream<char> stringstream; 00109 typedef basic_filebuf<char> filebuf; 00110 typedef basic_ifstream<char> ifstream; 00111 typedef basic_ofstream<char> ofstream; 00112 typedef basic_fstream<char> fstream; 00113 00114 #ifdef _GLIBCPP_USE_WCHAR_T 00115 typedef basic_ios<wchar_t> wios; 00116 typedef basic_streambuf<wchar_t> wstreambuf; 00117 typedef basic_istream<wchar_t> wistream; 00118 typedef basic_ostream<wchar_t> wostream; 00119 typedef basic_iostream<wchar_t> wiostream; 00120 typedef basic_stringbuf<wchar_t> wstringbuf; 00121 typedef basic_istringstream<wchar_t> wistringstream; 00122 typedef basic_ostringstream<wchar_t> wostringstream; 00123 typedef basic_stringstream<wchar_t> wstringstream; 00124 typedef basic_filebuf<wchar_t> wfilebuf; 00125 typedef basic_ifstream<wchar_t> wifstream; 00126 typedef basic_ofstream<wchar_t> wofstream; 00127 typedef basic_fstream<wchar_t> wfstream; 00128 #endif 00129 } // namespace std 00130 00131 #endif // _CPP_IOSFWD 00132 00133 00134 00135 00136 Generated on Mon Apr 8 03:11:33 2002 for libstdc++-v3 Source by 1.2.15 |