std::basic_streambuf::pubseekpos, std::basic_streambuf::seekpos
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 pubseekpos( pos_type pos, ios_base::openmode which = ios_base::in | ios_base::out ); |
(1) | |
protected: virtual pos_type seekpos( pos_type pos, |
(2) | |
Imposta l'indicatore di posizione di ingresso e / o sequenza di uscita in una posizione assoluta.
1) Original:
Sets the position indicator of the input and/or output sequence to an absolute 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) seekpos(pos, which)
della classe più derivataOriginal:
Calls
seekpos(pos, 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 eseguire l'override di questa funzione per consentire il posizionamento assoluto dell'indicatore di posizione.
Original:
The base class version of this function has no effect. The derived classes may override this function to allow absolute 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
pos | - | posizione assoluta per impostare l'indicatore di posizione di .
Original: absolute 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. | ||||||||||||||||||||||||
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) seekpos(pos, which)
Original:
The return value of
seekpos(pos, 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 seekoff() Original: invokes seekoff() The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (metodo pubblico) |