std::basic_ios::setstate
提供:cppreference.com
|
|
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. |
| 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. | ||||||||||||||||||||||||||||||||||||||||
[編集] 値を返します
(なし)
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.
[編集] 例
| 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. (パブリックメンバ関数) | |