Share via


basic_ios Members

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

Reference

Constructors

basic_ios

Constructs the basic_ios class.

Typedefs

char_type

A synonym for the template parameter Elem.

int_type

A synonym for Traits::int_type.

off_type

A synonym for Traits::off_type.

pos_type

A synonym for Traits::pos_type.

traits_type

A synonym for the template parameter Traits.

Member Functions

bad

Indicates a loss of integrity of the stream buffer.

clear

Clears all error flags.

copyfmt

Copies flags from one stream to another.

eof

Indicates if the end of a stream has been reached.

exceptions

Indicates which exceptions will be thrown by the stream.

fail

Indicates failure to extract a valid field from a stream.

fill

Specifies or returns the character that will be used when the text is not as wide as the stream.

good

Indicates the stream is in good condition.

imbue

Changes the locale.

init

Called by basic_ios constructors.

narrow

Finds the equivalent char to a given char_type.

rdbuf

Routes stream to specified buffer.

rdstate

Reads the state of bits for flags.

setstate

Sets additional flags.

tie

Ensures that one stream is processed before another stream.

widen

Finds the equivalent char_type to a given char.

Operators

operator void *

Indicates if the stream is still good.

operator!

Indicates if the stream is not bad.

See Also

Reference

basic_ios Class

ios_base Class

Thread Safety in the Standard C++ Library

iostream Programming

iostreams Conventions

Other Resources

ios_base Members

Change History

Date

History

Reason

October 2008

Corrected descriptions of off_type and pos_type.

Customer feedback.