std::basic_ios::setstate
提供: cppreference.com
|
|
このページは、Google 翻訳を使って英語版から機械翻訳されました。
翻訳には誤りや奇妙な言い回しがあるかもしれません。文章の上にポインタをおくと、元の文章が見れます。誤りを修正して翻訳を改善する手助けをしてください。翻訳についての説明は、ここをクリックしてください。 |
| void setstate( iostate state ); |
||
現在のフラグを設定するだけでなく、ストリーム·エラー·フラグ
stateを設定します。本質的にclear(rdstate() | state)呼び出します。例外をスローすることがあります.Original:
Sets the stream error flags
state in addition to currently set flags. Essentially calls clear(rdstate() | state). May throw an exception.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.
目次 |
[編集] パラメータ
| state | - | 設定するには、ストリームのエラー状態フラグ。それは、以下の定数を組み合わせて指定できます。
Original: stream error state flags to set. It can be a combination of the following constants:
The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
[編集] 値を返します
(なし)
[編集] 例
| This section is incomplete Reason: no example |
[編集] 参照
| 状態フラグを返します Original: returns state flags The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (パブリックメンバ関数) | |
| エラーとEOFフラグをクリアします Original: clears error and eof flags The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (パブリックメンバ関数) |

