std::basic_streambuf::uflow
Материал из 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(); |
||
Гарантирует, что по крайней мере один символ доступен в области ввода путем обновления указателей на область ввода (при необходимости). В случае успеха возвращает значение этого символа и перемещает значение' получить указатель на один символ. В случае неудачи возвращает 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.
Функция может обновить
gptr, egptr и eback указателей для определения местоположения вновь загруженные данные (если таковые имеются). В случае ошибки, функция гарантирует, что либо gptr() == nullptr или 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.
Версия базового класса вызова функции
underflow. Производные классы могут переопределить эту функцию, чтобы разрешить обновление Get области в случае истощения.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.
Содержание |
[править] Параметры
(Нет)
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.
[править] Возвращаемое значение
Значение символа, на который указывает' получить указатель прежде чем она была проведена на одну или 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.
Версия базового класса возвращает значение, возвращаемое
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.
[править] Примечание
Общественные функции std::streambuf вызывать эту функцию только тогда, когда gptr() == nullptr или 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.
[править] Пример
| Этот раздел не завершён Причина: нет примера |
[править] См. также
| [virtual] |
читает символы из соответствующей последовательности ввода 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 protected функция-член) |
| [virtual] |
пишет символы с соответствующей последовательности выхода из поставленных области 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 protected функция-член) |