std::basic_streambuf::pubseekoff, std::basic_streambuf::seekoff
Da cppreference.com.
< cpp | io | basic streambuf
![]() | Questa pagina è stata tradotta in modo automatico dalla versione in ineglese della wiki usando Google Translate. La traduzione potrebbe contenere errori e termini strani. Muovi il puntatore sopra al testo per vedere la versione originale. Puoi aiutarci a correggere gli gli errori. Per ulteriori istruzioni clicca qui. |
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) | |
Imposta l'indicatore di posizione di ingresso e / o sequenza di uscita rispetto ad una qualche altra posizione.
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.
Chiamate
2) seekoff(off, dir, which)
della classe più derivataOriginal:
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.
La versione della classe base di questa funzione non ha effetto. Le classi derivate possono sostituire questa funzione per consentire il posizionamento relativo della posizione dell'indicatore.
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.
Indice |
[modifica]Parametri
off | - | posizione relativa per impostare l'indicatore di posizione di . 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 | - | definisce la posizione di base per applicare l'offset rispetto. Essa può essere una delle seguenti costanti:
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 | - | che definisce dell'ingresso e / o sequenze di uscita per incidere. Essa può essere una o una combinazione delle seguenti costanti:
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. |
[modifica]Valore di ritorno
1)Il valore di ritorno di
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.
La conseguente posizione assoluta definita dall'indicatore di posizione. La versione della classe base restituisce 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.
[modifica]Esempio
This section is incomplete Reason: no example |
[modifica]Vedi anche
Invoca 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. (metodo pubblico) |