◐ Shell
clean mode source ↗

std::basic_filebuf::underflow – cppreference.com

Aus cppreference.com

<metanoindex/>

<tbody> </tbody>

protected: virtual int_type underflow()

Verhält sich wie der Basisklasse std::basic_streambuf::underflow, außer dass die Daten aus der zugehörigen Zeichenfolge (die Datei) in den get-Bereich lesen, liest zuerst die Bytes aus der Datei in einem temporären Puffer (zugewiesene so groß wie nötig), dann nutzt std::codecvt::in der Die durchdrungen Gebietsschema um den externen (typischerweise Multibyte) Darstellung der internen Form der dann verwendet wird, um den Bereich zu füllen get umzuwandeln. Die Umwandlung kann, wenn der Ländereinstellung std::codecvt::always_noconv kehrt true übersprungen werden

Original:

Behaves like the base class std::basic_streambuf::underflow, except that to read the data from the associated character sequence (the file) into the get area, first reads the bytes from the file into a temporary buffer (allocated as large as necessary), then uses std::codecvt::in of the imbued locale to convert the external (typically, multibyte) representation to the internal form which is then used to populate the get area. The conversion may be skipped if the locale's std::codecvt::always_noconv returns true

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

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.

Rückgabewert

Traits::to_int_type(*gptr()) (das erste Zeichen des anhängigen Sequenz) im Falle des Erfolgs oder Traits::eof() bei Ausfall .

Original:

Traits::to_int_type(*gptr()) (the first character of the pending sequence) in case of success, or Traits::eof() in case of failure.

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

Beispiel

Siehe auch

[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 of std::basic_streambuf) [edit]

[virtuell]

liest aus der zugehörigen Datei und Fortschritte der nächste Zeiger in der get-Bereich

Original:

reads from the associated file and advances the next pointer in 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) [edit]

[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) [edit]