Namensräume
Varianten
Aktionen

std::basic_ios::clear

Aus cppreference.com
< cpp‎ | io‎ | basic ios

 
 
Input / Output-Bibliothek
I / O-Manipulatoren
C-style I / O
Puffern
Original:
Buffers
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
basic_streambuf
basic_filebuf
basic_stringbuf
strstreambuf(veraltet)
Streams
Original:
Streams
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Abstraktionen
Original:
Abstractions
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
ios_base
basic_ios
basic_istream
basic_ostream
basic_iostream
Datei-I / O
Original:
File I/O
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
basic_ifstream
basic_ofstream
basic_fstream
String I / O
Original:
String I/O
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
basic_istringstream
basic_ostringstream
basic_stringstream
Array I / O
Original:
Array I/O
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
istrstream(veraltet)
ostrstream(veraltet)
strstream(veraltet)
Types
Original:
Types
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
streamoff
streamsize
fpos
Fehler Kategorie Schnittstelle
Original:
Error category interface
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
iostream_category(C++11)
io_errc(C++11)
 
std::basic_ios
Member-Funktionen
Original:
Member functions
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
basic_ios::basic_ios
basic_ios::~basic_ios
Funktionen des Staates
Original:
State functions
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
basic_ios::good
basic_ios::eof
basic_ios::fail
basic_ios::bad
basic_ios::operator!
basic_ios::operator bool
basic_ios::rdstate
basic_ios::setstate
basic_ios::clear
Formatierung
Original:
Formatting
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
basic_ios::copyfmt
basic_ios::fill
Verschiedenes
Original:
Miscellaneous
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
basic_ios::exceptions
basic_ios::imbue
basic_ios::rdbuf
basic_ios::tie
basic_ios::narrow
basic_ios::widen
Geschützt Member-Funktionen
Original:
Protected member functions
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
basic_ios::init
basic_ios::move
basic_ios::swap
basic_ios::set_rdbuf
 
void clear( iostate state = goodbit );
Löscht die Stream error state flags, indem Sie ihnen den Wert der state. Wenn rdbuf() == 0 dann state | badbit zugeordnet ist. Kann eine Ausnahme werfen .
Original:
Clears the stream error state flags by assigning them the value of state. If rdbuf() == 0 then state | badbit is assigned. May throw an exception.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Inhaltsverzeichnis

[Bearbeiten] Parameter

state -
neuer Fehler Status-Flags setzen. Es kann eine Kombination der folgenden Konstanten sein:
Constant
Original:
Constant
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Explanation
goodbit
kein Fehler
Original:
no error
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
badbit
uneinbringlich Stream Fehler
Original:
irrecoverable stream error
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
failbit
Input / Output-Vorgang ist fehlgeschlagen (Formatierung oder Extraktion Fehler)
Original:
input/output operation failed (formatting or extraction error)
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
eofbit
assoziiert Eingabesequenz hat end-of-Datei erreicht
Original:
associated input sequence has reached end-of-file
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Original:
new error state flags setting. It can be a combination of the following constants:
Constant
Original:
Constant
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Explanation
goodbit
kein Fehler
Original:
no error
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
badbit
uneinbringlich Stream Fehler
Original:
irrecoverable stream error
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
failbit
Input / Output-Vorgang ist fehlgeschlagen (Formatierung oder Extraktion Fehler)
Original:
input/output operation failed (formatting or extraction error)
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
eofbit
assoziiert Eingabesequenz hat end-of-Datei erreicht
Original:
associated input sequence has reached end-of-file
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

[Bearbeiten] Rückgabewert

(None)
Original:
(none)
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

[Bearbeiten] Beispiel

[Bearbeiten] Siehe auch

setzt Staatsflaggen
Original:
sets state flags
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(öffentliche Elementfunktion) [edit]
kehrt Staatsflaggen
Original:
returns state flags
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(öffentliche Elementfunktion) [edit]