std::basic_streambuf::pubseekoff, std::basic_streambuf::seekoff
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. |
pos_type pubseekoff( off_type off, ios_base::seekdir dir, ios_base::openmode which = ios_base::in | ios_base::out ); |
(1) | |
protected: virtual pos_type seekoff( off_type off, ios_base::seekdir dir, |
(2) | |
Stellt die Stellungsanzeige der Eingangs und / oder Ausgangs-Sequenz relativ zu einer anderen Position .
1) Original:
Sets the position indicator of the input and/or output sequence relative to some other position.
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.
Ruft
2) seekoff(off, dir, which)
der am meisten abgeleiteten KlasseOriginal:
Calls
seekoff(off, dir, which)
of the most derived classThe 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 dieser Funktion hat keine Wirkung. Die abgeleiteten Klassen überschreiben können diese Funktion, um die relative Positionierung der Stellungsanzeige ermöglichen .
Original:
The base class version of this function has no effect. The derived classes may override this function to allow relative positioning of the position indicator.
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
off | - | relativen Position, um die Position Indikator gesetzt .
Original: relative position to set the position indicator to. The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. | ||||||||||||||||||||||||||||||||
dir | - | definiert Grundposition den relativen Offset zu bewerben. Es kann eine der folgenden Konstanten sein:
Original: defines base position to apply the relative offset to. It can be one of the following constants:
The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. | ||||||||||||||||||||||||||||||||
which | - | Legt fest, welche der Ein-und / oder Ausgabe-Sequenzen zu beeinflussen. Es kann eine oder eine Kombination der folgenden Konstanten:
Original: defines which of the input and/or output sequences to affect. It can be one or a combination of the following constants:
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)Der Rückgabewert
2) seekoff(off, dir, which)
Original:
The return value of
seekoff(off, dir, which)
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.
Der resultierende absolute Position wie vom Stellungsgeber definiert. Die Basisklasse Version gibt pos_type(off_type(1-)) .
Original:
The resulting absolute position as defined by the position indicator. The base class version returns pos_type(off_type(1-)).
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
Beruft seekpos() Original: invokes seekpos() The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (öffentliche Elementfunktion) |