Namensräume
Varianten
Aktionen

std::basic_filebuf::pbackfail

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

 
 
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_filebuf
Öffentliche Member-Funktionen
Original:
Public 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_filebuf::basic_filebuf
basic_filebuf::~basic_filebuf
basic_filebuf::operator=(C++11)
basic_filebuf::swap(C++11)
basic_filebuf::is_open
basic_filebuf::open
basic_filebuf::close
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_filebuf::showmanyc
basic_filebuf::underflow
basic_filebuf::uflow
basic_filebuf::pbackfail
basic_filebuf::overflow
basic_filebuf::setbuf
basic_filebuf::seekoff
basic_filebuf::seekpos
basic_filebuf::sync
basic_filebuf::imbue
Non-Member-Funktionen
Original:
Non-member functions
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
swap(std::basic_filebuf)(C++11)
 
protected:
virtual int_type pbackfail( int_type c = Traits::eof() )
Versetzt den Charakter c zurück in die get-Bereich, in einer der drei Möglichkeiten:
Original:
Puts the character c back into the get area, in one of the three ways:
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
1)
Wenn c nicht die EOF-Zeichen, wie durch den Aufruf Traits::eq_int_type(c,traits::eof()) und wenn es Raum für eine putback bestimmt, und wenn c genau ist das Zeichen, dass wurde zuletzt von der get-Bereich, wie Traits::eq(to_char_type(c),gptr()[-1]) bestimmt, dann einfach dekrementiert gptr() einzeln gelesen .
Original:
If c is not the EOF character, as determined by calling Traits::eq_int_type(c,traits::eof()) and if there is room for a putback, and if c is exactly the character that was most recently read from the get area, as determined by Traits::eq(to_char_type(c),gptr()[-1]), then simply decrements gptr() by one.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
2)
Wenn c nicht das EOF-Zeichen, wie durch Aufrufen Traits::eq_int_type(c,traits::eof()) und wenn es Raum für eine putback bestimmt, und wenn der Puffer erlaubt, die Fläche zu erhalten, dekrementiert gptr() modifizieren und schreibt c nach dort. Beachten Sie, dass dies nicht zu ändern die zugehörige Zeichenfolge (die Datei), sondern nur die sich im Arbeitsspeicher .
Original:
If c is not the EOF character, as determined by calling Traits::eq_int_type(c,traits::eof()) and if there is room for a putback, and if the buffer is allowed to modify the get area, decrements gptr() and writes c to there. Note that this does not modify the associated character sequence (the file), but only the get area in memory.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
3)
Wenn c ist die EOF-Zeichen (Traits::eq_int_type(c,traits::eof()) kehrt true), und wenn es Raum für eine putback, dekrementiert gptr(). Dies hat den Effekt, dass das letzte Zeichen ausgelesen zum Lesen wieder .
Original:
If c is the EOF character (Traits::eq_int_type(c,traits::eof()) returns true), and if there is room for a putback, decrements gptr(). This has the effect of making the last character read available for reading once again.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Wenn die Datei nicht geöffnet ist (is_open()==false diese Funktion kehrt Traits::eof() sofort .
Original:
If the file is not open (is_open()==false, this function returns Traits::eof() immediately.
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

c -
das Zeichen putback oder eof
Original:
the character to putback, or eof
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

1-2) c

3) Traits::not_eof(c)

Traits::eof() im Falle des Scheiterns .
Original:
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.

[Bearbeiten] Beispiel

[Bearbeiten] Siehe auch

[virtuell]
stellt ein Zeichen wieder in der Eingangssequenz, gegebenenfalls Modifizierung der Eingabesequenz
Original:
puts a character back into the input sequence, possibly modifying the input 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_streambuf) [edit]
bewegt den nächsten Zeiger in der Eingabesequenz zurück um eins
Original:
moves the next pointer in the input sequence back by one
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(öffentliche Elementfunktion of std::basic_streambuf) [edit]
stellt ein Zeichen wieder in der Eingabesequenz
Original:
puts one character back in the input sequence
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(öffentliche Elementfunktion of std::basic_streambuf) [edit]
unextracts ein Zeichen
Original:
unextracts a character
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(öffentliche Elementfunktion of std::basic_istream) [edit]
setzt Zeichen in Input-Stream
Original:
puts character into input stream
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(öffentliche Elementfunktion of std::basic_istream) [edit]