basic_filebuf Members

The following tables list the members of the basic_filebuf Class. For a list of members inherited by the basic_filebuf class, see basic_streambuf Members.

Reference

Constructors

basic_filebuf

Constructs an object of type basic_filebuf.

Typedefs

char_type

Associates a type name with the Elem template parameter.

int_type

Makes this type within basic_filebuf's scope equivalent to the type of the same name in the Tr scope.

off_type

Makes this type within basic_filebuf's scope equivalent to the type of the same name in the Tr scope.

pos_type

Makes this type within basic_filebuf's scope equivalent to the type of the same name in the Tr scope.

traits_type

Associates a type name with the Tr template parameter.

Member Functions

close

Closes a file.

is_open

Indicates whether a file is open.

open

Opens a file.

overflow

A protected virtual function that can be called when a new character is inserted into a full buffer.

pbackfail

The protected virtual member function tries to put back an element into the input stream, then make it the current element (pointed to by the next pointer).

seekoff

The protected virtual member function tries to alter the current positions for the controlled streams.

seekpos

The protected virtual member function tries to alter the current positions for the controlled streams.

setbuf

The protected virtual member function performs an operation particular to each derived stream buffer.

Swap

Exchanges the content of this basic_filebuf for the content of the provided basic_filebuf parameter.

sync

Protected, virtual function tries to synchronize the controlled streams with any associated external streams.

uflow

Protected, virtual function to extract the current element from the input stream.

underflow

Protected, virtual function to extract the current element from the input stream.

See Also

Reference

basic_filebuf Class

basic_streambuf Class

Thread Safety in the Standard C++ Library

iostream Programming

iostreams Conventions

Other Resources

basic_streambuf Members