std::basic_streambuf::uflow
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. |
int_type uflow(); | ||
Assicura che almeno un carattere è disponibile nell'area di immissione aggiornando i puntatori alla zona di ingresso (se necessario). In caso di successo restituisce il valore di quel personaggio e fa avanzare il valore della arrivare puntatore di un carattere. Il ritorno di guasto traits::eof().
Original:
Ensures that at least one character is available in the input area by updating the pointers to the input area (if needed). On success returns the value of that character and advances the value of the get pointer by one character. On failure returns traits::eof().
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 funzione può aggiornare
gptr
, egptr
e eback
puntatori per definire la posizione dei dati appena caricati (se presenti). In caso di fallimento, la funzione fa sì che sia gptr()== nullptr o gptr()== egptr.Original:
The function may update
gptr
, egptr
and eback
pointers to define the location of newly loaded data (if any). On failure, the function ensures that either gptr()== nullptr or gptr()== egptr.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 versione della classe base delle chiamate di funzione
underflow
. Le classi derivate possono eseguire l'override di questa funzione per consentire gli aggiornamenti alla zona get in caso di esaurimento.Original:
The base class version of the function calls
underflow
. The derived classes may override this function to allow updates to the get area in the case of exhaustion.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
(Nessuno)
Original:
(none)
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]Valore di ritorno
Il valore del carattere che è stato puntato dal puntatore ottenere' prima che fosse avanzata da uno o traits::eof() altrimenti.
Original:
The value of the character that was pointed to by the get pointer before it was advanced by one, or traits::eof() otherwise.
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 versione della classe base della funzione restituisce il valore restituito da
underflow
.Original:
The base class version of the function returns the value returned by
underflow
.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]Nota
Le funzioni pubbliche di std::streambuf chiamare questa funzione solo se gptr()== nullptr o gptr()>= egptr().
Original:
The public functions of std::streambuf call this function only if gptr()== nullptr or gptr()>= egptr().
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
[virtuale] | legge caratteri dalla sequenza di input associato alla zona get Original: reads characters from the associated input sequence to the get area The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (virtuale protetto funzione membro) |
[virtuale] | scrive caratteri della sequenza di emissione associato dalla zona put 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. (virtuale protetto funzione membro) |