// -*- C++ -*- /*************************************************************************** * * iosfwd - forward declarations for the iostreams * * $Id$ * *************************************************************************** * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed * with this work for additional information regarding copyright * ownership. The ASF licenses this file to you under the Apache * License, Version 2.0 (the "License"); you may not use this file * except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or * implied. See the License for the specific language governing * permissions and limitations under the License. * * Copyright 1994-2006 Rogue Wave Software. * **************************************************************************/ #ifndef _RWSTD_IOSFWD_INCLUDED #define _RWSTD_IOSFWD_INCLUDED #include #include // for _RWSTD_MBSTATE_T _RWSTD_NAMESPACE (std) { template class allocator; #ifndef _RWSTD_RW_BASIC_IOS_H_INCLUDED _EXPORT template > class basic_ios; typedef basic_ios ios; # ifndef _RWSTD_NO_WCHAR_T typedef basic_ios wios; # endif // _RWSTD_NO_WCHAR_T #endif // _RWSTD_RW_BASIC_IOS_H_INCLUDED #ifndef _RWSTD_STREAMBUF_INCLUDED _EXPORT template > class basic_streambuf; typedef basic_streambuf streambuf; # ifndef _RWSTD_NO_WCHAR_T typedef basic_streambuf wstreambuf; # endif // _RWSTD_NO_WCHAR_T #endif // _RWSTD_STREAMBUF_INCLUDED #ifndef _RWSTD_ISTREAM_INCLUDED // 27.2, p4 _EXPORT template > class basic_istream; // 27.2, p6 template > class basic_iostream; typedef basic_istream istream; typedef basic_iostream iostream; # ifndef _RWSTD_NO_WCHAR_T typedef basic_istream wistream; typedef basic_iostream wiostream; # endif // _RWSTD_NO_WCHAR_T #endif // _RWSTD_ISTREAM_INCLUDED #ifndef _RWSTD_OSTREAM_INCLUDED // 27.2, p5 _EXPORT template > class basic_ostream; typedef basic_ostream > ostream; # ifndef _RWSTD_NO_WCHAR_T typedef basic_ostream > wostream; # endif // _RWSTD_NO_WCHAR_T #endif // _RWSTD_OSTREAM_INCLUDED #ifndef _RWSTD_SSTREAM_INCLUDED _EXPORT template , class _Allocator = allocator<_CharT> > class basic_stringbuf; template , class _Allocator = allocator<_CharT> > class basic_istringstream; template , class _Allocator = allocator<_CharT> > class basic_ostringstream; template , class _Allocator = allocator<_CharT> > class basic_stringstream; typedef basic_stringbuf stringbuf; typedef basic_istringstream istringstream; typedef basic_ostringstream ostringstream; typedef basic_stringstream stringstream; # ifndef _RWSTD_NO_WCHAR_T typedef basic_stringbuf wstringbuf; typedef basic_istringstream wistringstream; typedef basic_ostringstream wostringstream; typedef basic_stringstream wstringstream; # endif // _RWSTD_NO_WCHAR_T #endif // _RWSTD_SSTREAM_INCLUDED #ifndef _RWSTD_FSTREAM_INCLUDED _EXPORT template > class basic_filebuf; template > class basic_ifstream; template > class basic_ofstream; template > class basic_fstream; typedef basic_filebuf filebuf; typedef basic_ifstream ifstream; typedef basic_ofstream ofstream; typedef basic_fstream fstream; # ifndef _RWSTD_NO_WCHAR_T typedef basic_filebuf wfilebuf; typedef basic_ifstream wifstream; typedef basic_ofstream wofstream; typedef basic_fstream wfstream; # endif // _RWSTD_NO_WCHAR_T #endif // _RWSTD_FSTREAM_INCLUDED #ifndef _RWSTD_RW_IOITER_H_INCLUDED template > struct ostreambuf_iterator; template > struct istreambuf_iterator; #endif // _RWSTD_RW_IOITER_H_INCLUDED // 27.2, p8 template class fpos; // 27.2, p9 - identical to std::fpos::state_type> // and std::fpos::state_type>, respectively typedef fpos<_RWSTD_MBSTATE_T> streampos; typedef fpos<_RWSTD_MBSTATE_T> wstreampos; } // namespace std #endif // _RWSTD_IOSFWD_INCLUDED