Difference between revisions of "Template:cpp/io/basic ios/inherit"
From cppreference.com
Andreas Krug (Talk | contribs) m (fmt) |
|||
(10 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
− | {{inherited | [[cpp/io/basic_ios | {{small|std::}}basic_ios]] | | + | {{inherited|[[cpp/io/basic_ios|{{small|std::}}basic_ios]]| |
− | {{ | + | ===Member types=== |
− | {{ | + | {{dsc begin}} |
− | + | {{dsc hitem|Member type|Definition}} | |
− | {{ | + | {{dsc|{{tt|char_type}}|{{tt|CharT}}}} |
− | {{ | + | {{dsc|{{tt|traits_type}}|{{tt|Traits}}}} |
− | {{ | + | {{dsc|{{tt|int_type}}|{{tt|Traits::int_type}}}} |
− | {{ | + | {{dsc|{{tt|pos_type}}|{{tt|Traits::pos_type}}}} |
− | {{ | + | {{dsc|{{tt|off_type}}|{{tt|Traits::off_type}}}} |
− | {{ | + | {{dsc end}} |
− | {{ | + | ===Member functions=== |
− | {{ | + | {{dsc begin}} |
− | {{ | + | {{dsc h2|State functions}} |
− | {{ | + | {{dsc inc|cpp/io/basic_ios/dsc good}} |
− | {{ | + | {{dsc inc|cpp/io/basic_ios/dsc eof}} |
− | {{ | + | {{dsc inc|cpp/io/basic_ios/dsc fail}} |
− | {{ | + | {{dsc inc|cpp/io/basic_ios/dsc bad}} |
− | {{ | + | {{dsc inc|cpp/io/basic_ios/dsc operator!}} |
− | {{ | + | {{dsc inc|cpp/io/basic_ios/dsc operator bool}} |
− | {{ | + | {{dsc inc|cpp/io/basic_ios/dsc rdstate}} |
− | {{ | + | {{dsc inc|cpp/io/basic_ios/dsc setstate}} |
+ | {{dsc inc|cpp/io/basic_ios/dsc clear}} | ||
− | {{ | + | {{dsc h2|Formatting}} |
− | {{ | + | {{dsc inc|cpp/io/basic_ios/dsc copyfmt}} |
− | {{ | + | {{dsc inc|cpp/io/basic_ios/dsc fill}} |
− | {{ | + | {{dsc h2|Miscellaneous}} |
− | {{ | + | {{dsc inc|cpp/io/basic_ios/dsc exceptions}} |
− | {{ | + | {{dsc inc|cpp/io/basic_ios/dsc imbue}} |
− | {{ | + | {{dsc inc|cpp/io/basic_ios/dsc rdbuf}} |
− | {{ | + | {{dsc inc|cpp/io/basic_ios/dsc tie}} |
− | {{ | + | {{dsc inc|cpp/io/basic_ios/dsc narrow}} |
− | {{ | + | {{dsc inc|cpp/io/basic_ios/dsc widen}} |
− | {{ | + | {{dsc end}} |
}} | }} |
Latest revision as of 00:27, 6 December 2023
Contents |
Inherited from std::basic_ios
Member types
Member type | Definition |
char_type
|
CharT
|
traits_type
|
Traits
|
int_type
|
Traits::int_type
|
pos_type
|
Traits::pos_type
|
off_type
|
Traits::off_type
|
Member functions
State functions | |
checks if no error has occurred i.e. I/O operations are available (public member function) | |
checks if end-of-file has been reached (public member function) | |
checks if an error has occurred (public member function) | |
checks if a non-recoverable error has occurred (public member function) | |
checks if an error has occurred (synonym of fail()) (public member function) | |
checks if no error has occurred (synonym of ! fail()) (public member function) | |
returns state flags (public member function) | |
sets state flags (public member function) | |
modifies state flags (public member function) | |
Formatting | |
copies formatting information (public member function) | |
manages the fill character (public member function) | |
Miscellaneous | |
manages exception mask (public member function) | |
sets the locale (public member function) | |
manages associated stream buffer (public member function) | |
manages tied stream (public member function) | |
narrows characters (public member function) | |
widens characters (public member function) |