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:
(typedef) |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| formatting flags type
The following constants are also defined:
(typedef) |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| state of the stream type
The following constants are also defined:
(typedef) |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| seeking direction type
The following constants are also defined:
(typedef) |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| specifies event type (typedef) |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| callback function type (typedef) |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Deprecated member types | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Type | Explanation | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| io_state(deprecated) | integer type that may be used like iostate | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| open_mode(deprecated) | integer type that may be used like openmode | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| seek_dir(deprecated) | integer type that may be used like seekdir | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| streamoff(deprecated) | unspecified type that may be used like off_type, not necessarily std::streamoff | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| streampos(deprecated) | unspecified type that may be used like pos_type, not necessarily std::streampos | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||