std::basic_filebuf::underflow
De cppreference.com
< cpp | io | basic filebuf
![]() | 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í. |
protected: virtual int_type underflow() | ||
Se comporta como el std::basic_streambuf::underflow clase base, excepto que para leer los datos de la secuencia de caracteres asociado (el archivo) en el área get, primero lee los bytes desde el archivo en una memoria intermedia temporal (asignado tan grande como sea necesario), a continuación, utiliza std::codecvt::in de la configuración regional impregnado para convertir la externa (normalmente, de varios bytes) representación de la forma interna que se utiliza después para rellenar el área get. La conversión puede ser evitado si std::codecvt::always_noconv devuelve la configuración regional de true
Original:
Behaves like the base class std::basic_streambuf::underflow, except that to read the data from the associated character sequence (the file) into the get area, first reads the bytes from the file into a temporary buffer (allocated as large as necessary), then uses std::codecvt::in of the imbued locale to convert the external (typically, multibyte) representation to the internal form which is then used to populate the get area. The conversion may be skipped if the locale's std::codecvt::always_noconv returns true
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
Traits::to_int_type(*gptr()) (el primer carácter de la secuencia de pendiente) en caso de éxito, o Traits::eof() en caso de fallo .
Original:
Traits::to_int_type(*gptr()) (the first character of the pending sequence) in case of success, or Traits::eof() in case of failure.
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 de std::basic_streambuf<CharT,Traits> ) |
[virtual] | lee desde el archivo asociado y los avances el siguiente puntero en la zona get Original: reads from the associated file and advances the next pointer in 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. (función miembro virtual protegida) |
[virtual] | escribe caracteres en el fichero de asociados de la zona de venta Original: writes characters to the associated file 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. (función miembro virtual protegida) |