Compartilhar via


basic_ofstream Members

The following table lists the members of the basic_ofstream Class. For a list of members inherited by the basic_ofstream class, see basic_ostream Members.

Reference

Constructors

basic_ofstream

Creates an object of type basic_ofstream.

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.

swap

Exchange the contents of this basic_ofstream for the contents of the provided basic_ofstream.

Operators

operator=

Assigns the content of this stream object. This is a move assignment involving an rvalue reference that does not leave a copy behind.

See Also

Reference

basic_ofstream Class

basic_ostream Class

Thread Safety in the Standard C++ Library

iostream Programming

iostreams Conventions

Other Resources

basic_ostream Members