std::basic_streambuf<CharT,Traits>::uflow
De cppreference.com
< cpp | io | basic streambuf
![]() |
Esta página se ha traducido por ordenador/computador/computadora de la versión en inglés de la Wiki usando Google Translate.
La traducción puede contener errores y palabras aparatosas/incorrectas. Planea sobre el texto para ver la versión original. Puedes ayudar a corregir los errores y mejorar la traducción. Para instrucciones haz clic aquí. |
int_type uflow(); |
||
Se asegura de que al menos un carácter está disponible en el área de entrada mediante la actualización de los punteros a la zona de entrada (si es necesario). En caso de éxito devuelve el valor de ese carácter y desplaza el valor de la' conseguir puntero en un carácter. En declaraciones fallo 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 función puede actualizar
gptr
, egptr
y eback
punteros para definir la ubicación de los datos recién cargados (si los hay). En caso de fallo, la función se asegura de que sea 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 versión de la clase base de la función llama
underflow
. Las clases derivadas pueden reemplazar esta función para permitir las actualizaciones del área get en el caso de agotamiento .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.
Contenido |
[editar] Parámetros
(Ninguno)
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
El valor del carácter que fue apuntado por el puntero del' llegar antes de que se adelantó a uno, o de lo contrario 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.
La versión de la clase base de la función devuelve el valor devuelto por
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
Las funciones públicas de std::streambuf llamar a esta función sólo si 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.
[editar] Ejemplo
Esta sección está incompleta Razón: sin ejemplo |
[editar] Ver también
[virtual] |
Lee los caracteres de la secuencia de entrada asociada a la zona de obtención. (función miembro virtual protegida) |
[virtual] |
Escribe los caracteres del área de colocación a la secuencia de salida asociada. (función miembro virtual protegida) |