std::ios_base
From Cppreference
| Defined in header <ios>
|
||
| class ios_base;
|
||
The class ios_base provides facilities for inspecting error state of the stream object. Character type independent formatting flags are stored here as well.
Contents |
[edit] Member functions
| constructs the object (public member function) |
|
| destructs the object (public member function) |
|
Formatting | |
| manages format flags (public member function) |
|
| sets specific format flag (public member function) |
|
| clears specific format flag (public member function) |
|
| manages decimal precision of floating point operations (public member function) |
|
| manages field width (public member function) |
|
Locales | |
| sets locale (public member function) |
|
| returns current locale (public member function) |
|
Internal extensible array | |
| [static]
|
returns an unique index to be used to access elements in the internal extensible array (public static member function) |
| accesses specified element in the internal extensible array of long elements (public member function) |
|
| accesses specified element in the internal extensible array of void* elements (public member function) |
|
Miscellaneous | |
| registers event callback function (public member function) |
|
| [static]
|
sets whether C++ and C IO libraries are interoperable (public static member function) |
Member classes | |
| stream exception (public member class) |
|
| initializes standard stream objects (public member class) |
|
Member types and constants | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Type | Explanation | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| stream open mode type
The following constants are also defined:
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| formatting flags type
The following constants are also defined:
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| state of the stream type
The following constants are also defined:
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| seeking direction type
The following constants are also defined:
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| specifies event type | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| callback function type | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||