Partager via


ios_base Members

Reference

Constructors

ios_base

Constructs ios_base objects.

Typedefs

event

Specifies event types.

event_callback

Describes a function passed to register_call.

fmtflags

Constants to specify the appearance of output.

iostate

Defines constants describing the state of a stream.

openmode

Describes how to interact with a stream.

seekdir

Specifies starting point for offset operations.

Member Functions

failure

The member class serves as the base class for all exceptions thrown by the member function clear in template class basic_ios.

flags

Sets or returns the current flag settings.

getloc

Returns the stored locale object.

imbue

Changes the locale.

Init

Creates the standard iostream objects when constructed.

iword

Assigns a value to be stored as an iword.

precision

Specifies the number of digits to display in a floating-point number.

pword

Assigns a value to be stored as a pword.

register_callback

Specifies a callback function.

setf

Sets the specified flags.

sync_with_stdio

Ensures that iostream and C run-time library operations occur in the order that they appear in source code.

unsetf

Causes the specified flags to be off.

width

Sets the length of the output stream.

xalloc

Specifies that a variable shall be part of the stream.

Operators

operator=

The assignment operator for ios_base objects.

See Also

Concepts

ios_base Class

Thread Safety in the Standard C++ Library

iostream Programming

iostreams Conventions