std::basic_streambuf::uflow
Da 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. |
int_type uflow(); |
||
Garante que pelo menos um caracter está disponível na área de entrada, actualizando os ponteiros para a área de entrada (se necessário). Em caso de sucesso retorna o valor do caráter e avanços o valor da' ponteiro começar por um caractere. No retorno de falha 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.
A função pode atualizar
gptr
, egptr
e eback
ponteiros para definir a localização dos dados recém-carregados (se houver). Em caso de falha, a função que assegura quer gptr() == nullptr ou 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.
A versão da classe base da função chama
underflow
. As classes derivadas podem substituir essa função para permitir atualizações para a área get no caso de exaustão.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.
Índice |
[editar] Parâmetros
(Nenhum)
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.
[editar] Valor de retorno
O valor do personagem que foi apontado pelo ponteiro' começar antes de ter sido avançado por um, ou de outro modo traits::eof().
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.
A versão classe base da função retorna o valor retornado pelo
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.
[editar] Nota
As funções públicas de std::streambuf chamar esta função somente se gptr() == nullptr ou 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.
[editar] Exemplo
Esta seção está incompleta Motivo: sem exemplo |
[editar] Veja também
[virtual] |
lê caracteres da seqüência de entrada associado para a área 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. (virtual protegido função de membro) |
[virtual] |
escreve caracteres para a seqüência de saída associado da área de venda 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. (virtual protegido função de membro) |