/* * Copyright (c) 1999 * Boris Fomitchev * * This material is provided "as is", with absolutely no warranty expressed * or implied. Any use is at your own risk. * * Permission to use or copy this software for any purpose is hereby granted * without fee, provided the above notices are retained on all copies. * Permission to modify the code and to distribute modified code is granted, * provided the above notices are retained, and a notice that the code was * modified is included with the above copyright notice. * */ #ifndef __STLPORT_IOSFWD # define __STLPORT_IOSFWD #ifndef __STL_CONFIG_H #include #endif # ifndef __STLPORT_CSTDDEF # include /* wchar_t */ # endif # ifndef __STLPORT_CSTRING # include # endif # if defined (__STL_USE_NEW_IOSTREAMS) # if defined ( __STL_REDEFINE_STD ) && defined (std) # undef std # define __STL_RESUME_STD_FOR_IOSFWD # define __STLPORT_NATIVE_PASS # endif # include __STL_NATIVE_HEADER(iosfwd) # if defined ( __MWERKS__ ) || defined (__KCC) // MSL leaves a few important things out of . // We expect this to be fixed in later MSL implementations # if !defined( __MSL_CPP__ ) || __MSL_CPP__ <= 0x4105 # ifdef MSIPL_USING_NAMESPACE namespace std { # endif // A few things that seem to be missing from CodeWarrior's # ifdef __MWERKS__ template > class istreambuf_iterator; template > class ostreambuf_iterator; # endif /* __MWERKS__ */ # if defined (__STL_NO_NATIVE_WIDE_STREAMS) class streampos; # endif # ifdef MSIPL_USING_NAMESPACE } // namespace std # endif # endif /* __MSL__ version */ # endif /* MWERKS */ # if defined ( __STL_RESUME_STD_FOR_IOSFWD ) # undef __STL_RESUME_STD_FOR_IOSFWD # define std __STLPORT_NAMESPACE # undef __STLPORT_NATIVE_PASS # endif # if defined (__STL_USE_OWN_NAMESPACE) __STL_BEGIN_NAMESPACE // import everything here # ifndef __STL_BROKEN_USING_DIRECTIVE using __STL_VENDOR_STD::char_traits; using __STL_VENDOR_STD::basic_ios; using __STL_VENDOR_STD::basic_streambuf; using __STL_VENDOR_STD::basic_istream; using __STL_VENDOR_STD::basic_ostream; using __STL_VENDOR_STD::basic_iostream; using __STL_VENDOR_STD::basic_stringbuf; using __STL_VENDOR_STD::basic_istringstream; using __STL_VENDOR_STD::basic_ostringstream; using __STL_VENDOR_STD::basic_stringstream; using __STL_VENDOR_STD::basic_filebuf; using __STL_VENDOR_STD::basic_ifstream; using __STL_VENDOR_STD::basic_ofstream; using __STL_VENDOR_STD::basic_fstream; using __STL_VENDOR_STD::fpos; using __STL_VENDOR_STD::istreambuf_iterator; using __STL_VENDOR_STD::ostreambuf_iterator; # endif using __STL_VENDOR_STD::ios; using __STL_VENDOR_STD::streambuf; using __STL_VENDOR_STD::istream; using __STL_VENDOR_STD::ostream; using __STL_VENDOR_STD::iostream; using __STL_VENDOR_STD::stringbuf; using __STL_VENDOR_STD::istringstream; using __STL_VENDOR_STD::ostringstream; using __STL_VENDOR_STD::stringstream; using __STL_VENDOR_STD::filebuf; using __STL_VENDOR_STD::ifstream; using __STL_VENDOR_STD::ofstream; using __STL_VENDOR_STD::fstream; using __STL_VENDOR_STD::streampos; using __STL_VENDOR_STD::streamoff; # if !defined (__STL_NO_NATIVE_WIDE_STREAMS) using __STL_VENDOR_STD::wios; using __STL_VENDOR_STD::wstreambuf; using __STL_VENDOR_STD::wistream; using __STL_VENDOR_STD::wostream; using __STL_VENDOR_STD::wiostream; using __STL_VENDOR_STD::wstringbuf; using __STL_VENDOR_STD::wistringstream; using __STL_VENDOR_STD::wostringstream; using __STL_VENDOR_STD::wstringstream; using __STL_VENDOR_STD::wfilebuf; using __STL_VENDOR_STD::wifstream; using __STL_VENDOR_STD::wofstream; using __STL_VENDOR_STD::wfstream; using __STL_VENDOR_STD::wstreampos; # endif __STL_END_NAMESPACE # endif # elif ! defined ( __STL_USE_NO_IOSTREAMS ) // use old-style iostreams # include # endif /* __STL_USE_NEW_IOSTREAMS */ #ifndef __SGI_STL_INTERNAL_FUNCTION_H # include #endif // now define things one expects to see here #ifndef __SGI_STL_CHAR_TRAITS_H // that defines char_traits or imports std::char_traits # include #endif #if !defined (__IN_STLPORT_IOSFWD_OLD ) // predefinition of stream iterators. __STL_BEGIN_NAMESPACE # ifdef __STL_USE_ABBREVS # define istream_iterator _iS__It # define ostream_iterator _oS__It # endif __STL_END_NAMESPACE # endif /* defined (NEW_IOSTREAMS ) */ // # ifndef __STLPORT_IOSFWD // # define __STLPORT_IOSFWD // # endif #endif /* __STLPORT_IOSFWD */ // Local Variables: // mode:C++ // End: