std::basic_streambuf::overflow
Aus cppreference.com
< cpp | io | basic streambuf
![]() |
This page has been machine-translated from the English version of the wiki using Google Translate.
The translation may contain errors and awkward wording. Hover over text to see the original version. You can help to fix errors and improve the translation. For instructions click here. |
int_type overflow( int_type ch = traits::eof() ); |
||
Sichergestellt, dass es im Raum gelegt Bereich für wenigstens ein Zeichen durch Speichern einige anfängliche Teilfolge von Zeichen ab
pbase()
der Ausgangsfolge und der Aktualisierung der Zeiger in den Ausgangsbereich (falls erforderlich). Wenn ch
nicht traits::eof() (dh traits::eq_int_type(c, traits::eof()) != true), wird es entweder mit dem Ausgang Bereich gebracht oder direkt mit dem Ausgang Sequenz gespeichert .Original:
Ensures that there space at the put area for at least one character by saving some initial subsequence of characters starting at
pbase()
to the output sequence and updating the pointers to the output area (if needed). If ch
is not traits::eof() (i.e. traits::eq_int_type(c, traits::eof()) != true), it is either put to the output area or directly saved to the output sequence.The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
Die Funktion kann
pptr
aktualisieren, epptr
und pback
Zeiger auf die Position, um mehr Daten zu schreiben definieren. Bei Ausfall sorgt die Funktion, dass entweder pptr() == nullptr oder pptr() == epptr .Original:
The function may update
pptr
, epptr
and pback
pointers to define the location to write more data. On failure, the function ensures that either pptr() == nullptr or pptr() == epptr.The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
Die Basisklasse Version der Funktion tut nichts. Die abgeleiteten Klassen können diese Funktion überschreiben, um Aktualisierungen der get-Bereich im Falle der Erschöpfung ermöglichen .
Original:
The base class version of the function does nothing. The derived classes may override this function to allow updates to the get area in the case of exhaustion.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
Inhaltsverzeichnis |
[Bearbeiten] Parameter
(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.
You can help to correct and verify the translation. Click here for instructions.
[Bearbeiten] Rückgabewert
Versandkosten nicht angegeben Wert ungleich traits::eof() bei Erfolg traits::eof() bei Ausfall .
Original:
Returns unspecified value not equal to traits::eof() on success, traits::eof() on failure.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
Die Basisklasse Version der Funktion gibt traits::eof() .
Original:
The base class version of the function returns traits::eof().
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
[Bearbeiten] Hinweis
Die
sputc()
und sputn()
rufen Sie diese Funktion im Falle eines Überlauf (pptr() == nullptr oder pptr() >= epptr()) .Original:
The
sputc()
and sputn()
call this function in case of an overflow (pptr() == nullptr or pptr() >= epptr()).The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
[Bearbeiten] Beispiel
This section is incomplete Reason: no example |
[Bearbeiten] Siehe auch
[virtuell] |
liest Zeichen aus dem dazugehörigen Eingang Sequenz an die get-Bereich und Fortschritte der nächste Zeiger Original: reads characters from the associated input sequence to the get area and advances the next pointer The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (virtuellen geschützten Member-Funktion) |
[virtuell] |
liest Zeichen aus dem dazugehörigen Eingang Sequenz an die get-Bereich Original: reads characters from the associated input sequence to the get area The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (virtuellen geschützten Member-Funktion) |
[virtuell] |
schreibt Zeichen der zugehörige Datei aus der Put-Bereich Original: writes characters to the associated file from the put area The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (virtuellen geschützten Member-Funktion of std::basic_filebuf )
|
[virtuell] |
anhängt ein Charakter mit dem Ausgang Sequenz Original: appends a character to the output sequence The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (virtuellen geschützten Member-Funktion of std::basic_stringbuf )
|
[virtuell] |
fügt ein Zeichen an die Ausgabe-Sequenz kann umzuschichten oder zunächst die Aufteilung der Puffer, wenn dynamisch und nicht eingefroren Original: appends a character to the output sequence, may reallocate or initially allocate the buffer if dynamic and not frozen The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (virtuellen geschützten Member-Funktion of std::strstreambuf )
|