Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Defines several classes that support iostreams operations on sequences stored in external files.
Syntax
#include <fstream>
Typedefs
| Type name | Description | 
|---|---|
| filebuf | A type basic_filebufspecialized onchartemplate parameters. | 
| fstream | A type basic_fstreamspecialized onchartemplate parameters. | 
| ifstream | A type basic_ifstreamspecialized onchartemplate parameters. | 
| ofstream | A type basic_ofstreamspecialized onchartemplate parameters. | 
| wfstream | A type basic_fstreamspecialized onwchar_ttemplate parameters. | 
| wifstream | A type basic_ifstreamspecialized onwchar_ttemplate parameters. | 
| wofstream | A type basic_ofstreamspecialized onwchar_ttemplate parameters. | 
| wfilebuf | A type basic_filebufspecialized onwchar_ttemplate parameters. | 
Classes
| Class | Description | 
|---|---|
| basic_filebuf | The class template describes a stream buffer that controls the transmission of elements of type Elem, whose character traits are determined by the classTr, to and from a sequence of elements stored in an external file. | 
| basic_fstream | The class template describes an object that controls insertion and extraction of elements and encoded objects using a stream buffer of class basic_filebuf<Elem, Tr>, with elements of typeElem, whose character traits are determined by the classTr. | 
| basic_ifstream | The class template describes an object that controls extraction of elements and encoded objects from a stream buffer of class basic_filebuf<Elem, Tr>, with elements of typeElem, whose character traits are determined by the classTr. | 
| basic_ofstream | The class template describes an object that controls insertion of elements and encoded objects into a stream buffer of class basic_filebuf<Elem, Tr>, with elements of typeElem, whose character traits are determined by the classTr. | 
See also
Header Files Reference
Thread Safety in the C++ Standard Library
iostream Programming
iostreams Conventions