Namensräume
Varianten
Aktionen

std::basic_filebuf::overflow

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 overflow ( int_type c = Traits::eof() );
Verhält sich wie die Basisklasse std::basic_streambuf::overflow, außer dass die Daten aus der Put Bereich der zugeordneten Zeichenfolge (an der Datei) einzutragen, verwendet zuerst codecvt::out() des durchdrungen Gebietsschema, um die Zeichen in äußere (möglicherweise Multibyte) Darstellung, in einer Datenbank gespeichert zu konvertieren temporären Puffer (zugeteilten so groß wie nötig), dann verwendet Datei-I / O, alle voll konvertierten Bytes in der Datei kopieren .
Original:
Behaves like the base class std::basic_streambuf::overflow, except that to write the data from the put area to the associated character sequence (to the file), first uses codecvt::out() of the imbued locale to convert the characters into external (possibly multibyte) representation, stored in a temporary buffer (allocated as large as necessary), then uses file I/O to copy all fully-converted bytes into the file.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Wenn die Konvertierung fehlschlägt mit std::codecvt_base::error, gibt Traits::eof() ohne zu versuchen, jede Ausgabe .
Original:
If the conversion fails with std::codecvt_base::error, returns Traits::eof() without attempting any output.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Wenn die zugehörige Datei nicht geöffnet ist (is_open()==false, gibt Traits::eof(), bevor Sie etwas .
Original:
If the associated file is not open (is_open()==false, returns Traits::eof() before doing anything.
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

(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] Rückgabewert

Traits::not_eof(c) um Erfolg oder Traits::eof() zeigen zum Scheitern .
Original:
Traits::not_eof(c) to indicate success or Traits::eof() to indicate 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]
schreibt Zeichen auf die zugehörige Ausgangsscheibe Sequenz aus dem Bereich gebracht
Original:
writes characters to the associated output sequence 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_streambuf) [edit]
[virtuell]
liest aus der zugehörigen Datei
Original:
reads from the associated file
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]