std::basic_streambuf::overflow
提供: cppreference.com
< cpp | io | basic streambuf
![]() |
このページは、Google 翻訳を使って英語版から機械翻訳されました。
翻訳には誤りや奇妙な言い回しがあるかもしれません。文章の上にポインタをおくと、元の文章が見れます。誤りを修正して翻訳を改善する手助けをしてください。翻訳についての説明は、ここをクリックしてください。 |
int_type overflow( int_type ch = traits::eof() ); |
||
文字出力シーケンスに
pbase()
から始まり、出力領域へのポインタを更新する(必要な場合)のいくつかの初期のサブシーケンスを保存することにより、少なくとも1文字の出力領域であり、そのスペースを確保します。 ch
されていない場合はtraits::eof()(すなわちtraits::eq_int_type(c, traits::eof()) != true)、それはどちらの出力領域に置くか、または直接出力シーケンスに保存されます.Original:
Ensures that there space at the put area for at least one character by saving some initial subsequence of characters starting at
pbase()
to the output sequence and updating the pointers to the output area (if needed). If ch
is not traits::eof() (i.e. traits::eq_int_type(c, traits::eof()) != true), it is either put to the output area or directly saved to the output sequence.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.
関数は
pptr
、epptr
とpback
ポインタはより多くのデータを書き込むための場所を定義するために更新することがあります。失敗した場合、関数はそのどちらpptr() == nullptrまたはpptr() == epptr確実に.Original:
The function may update
pptr
, epptr
and pback
pointers to define the location to write more data. On failure, the function ensures that either pptr() == nullptr or pptr() == epptr.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.
関数の基本クラスのバージョンは何もしません。派生クラスは、枯渇の場合get領域への更新を許可するには、この関数をオーバーライドすることができます.
Original:
The base class version of the function does nothing. 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.
目次 |
[編集] パラメータ
(なし)
[編集] 値を返します
traits::eof()失敗で、成功した場合にtraits::eof()等しくない不特定の値を返します。.
Original:
Returns unspecified value not equal to traits::eof() on success, traits::eof() on 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.
関数が戻るtraits::eof()の基本クラスバージョン.
Original:
The base class version of the function 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.
[編集] 注意してください
sputc()
とsputn()
オーバーフローの場合、この関数を呼び出す(pptr() == nullptrまたはpptr() >= epptr()).Original:
The
sputc()
and sputn()
call this function in case of an overflow (pptr() == nullptr or pptr() >= epptr()).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 and advances the next pointer The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (仮想protectedメンバ関数) |
[仮想] |
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 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. (仮想protectedメンバ関数of std::basic_filebuf )
|
[仮想] |
出力シーケンスに追加した文字 Original: appends a character to the output sequence The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (仮想protectedメンバ関数of std::basic_stringbuf )
|
[仮想] |
追加出力シーケンスに文字、再割り当てしたり、ダイナミックで凍結されていない場合最初にバッファを割り当てることができる Original: appends a character to the output sequence, may reallocate or initially allocate the buffer if dynamic and not frozen The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (仮想protectedメンバ関数of std::strstreambuf )
|