Rogue Wave banner
Previous fileTop of DocumentContentsIndex pageNext file
Rogue Wave C++ Standard Library Reference Guide
Rogue Wave web site:  Home Page  |  Main Documentation Page

<fstream>

Module:  Standard C++ Library   Library:  Input/output


Header

Local Index

No Entries

Summary

The header <fstream> is part of the Input/output library of the Standard C++ Library. It defines the class templates basic_filebuf, basic_ifstream, basic_ofstream, and basic_fstream, and the types filebuf, wfilebuf, ifstream, wifstream, ofstream, wofstream, fstream, and wfstream as aliases for specializations of the class templates on char and wchar_t.

Synopsis

namespace std {
  template <class charT, class traits = char_traits<charT> >
  class basic_filebuf;
  typedef basic_filebuf<char> filebuf;
  typedef basic_filebuf<wchar_t> wfilebuf;

  template <class charT, class traits = char_traits<charT> >
  class basic_ifstream;
  typedef basic_ifstream<char> ifstream;
  typedef basic_ifstream<wchar_t> wifstream;

  template <class charT, class traits = char_traits<charT> >
  class basic_ofstream;
  typedef basic_ofstream<char> ofstream;
  typedef basic_ofstream<wchar_t> wofstream;

  template <class charT, class traits = char_traits<charT> >
  class basic_fstream;
  typedef basic_fstream<char>  fstream;
  typedef basic_fstream<wchar_t> wfstream;
}

See Also

basic_filebuf, basic_ifstream, basic_ofstream, basic_fstream

Standards Conformance

ISO/IEC 14882:1998 -- International Standard for Information Systems --Programming Language C++, Section 27.8.1



Previous fileTop of DocumentContentsIndex pageNext file

Copyright (c) 1994-2006 Rogue Wave Software, a Quovadx Division.
Licensed under the Apache License, Version 2.0.
Contact Rogue Wave about documentation or support issues. You can also seek help from other developers through the Apache stdcxx community (see below).

For more information on the Rogue Wave Standard C++ Library under open source, see Section 1.2 of the user's guide.