std::basic_streambuf::uflow
De 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(); |
||
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
| This section is incomplete Reason: no example |
[editar] Ver también
| [virtual] |
lee los caracteres de la secuencia de entrada asociado a la zona de 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. (virtuales protegidos miembro de función) |
| [virtual] |
escribe los caracteres a la secuencia de salida asociado del área de venta 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. (virtuales protegidos miembro de función) |