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(); |
||
少なくとも1文字は入力エリア(必要な場合)へのポインタを更新することによって、入力領域に使用可能であることを保証します。成功した場合、その文字の値を返し、進歩の値は、1文字でポインタを取得します。不良返品に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()それ以外の場合は1で進めた前ポインタを取得、または.
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.
[編集] 例
| This section is incomplete Reason: no example |
[編集] も参照してください
| [仮想] |
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. (仮想protectedメンバ関数) |
| [仮想] |
put領域から関連する出力シーケンスに文字を書き込みます 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. (仮想protectedメンバ関数) |