basic_fstream Members

The following table lists the members of the basic_fstream Class. For a list of members inherited by the basic_fstream class, see basic_iostream Class.

Reference

Constructors

basic_fstream

Constructs an object of type basic_fstream.

Member Functions

close

Closes a file.

is_open

Determines if a file is open.

open

Opens a file.

rdbuf

Returns the address of the stored stream buffer, of type pointer to basic_filebuf<Elem, Tr>.

swap

Exchanges the content of this object with the content of another basic_fstream object.

See Also

Reference

basic_fstream Class

basic_iostream Class

Thread Safety in the Standard C++ Library

iostream Programming

iostreams Conventions