std::basic_ios::rdstate
提供: cppreference.com
![]() | このページは、Google 翻訳を使って英語版から機械翻訳されました。 翻訳には誤りや奇妙な言い回しがあるかもしれません。文章の上にポインタをおくと、元の文章が見れます。誤りを修正して翻訳を改善する手助けをしてください。翻訳についての説明は、ここをクリックしてください。 |
iostate rdstate()const; | ||
現在のストリームのエラー状態を返します。.
Original:
Returns the current stream error state.
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:
current stream error state. It is a bitmask type and 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.
You can help to correct and verify the translation. Click here for instructions.
定数 Original: Constant The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. | Explanation |
goodbit | エラーなし Original: no error The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
badbit | 回復不能なストリームエラー Original: irrecoverable stream error The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
failbit | 入力/出力操作(書式設定や抽出誤差)に失敗しました Original: input/output operation failed (formatting or extraction error) The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
eofbit | 関連する入力シーケンスはファイルの終わりに達している Original: associated input sequence has reached end-of-file 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: sets 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. (パブリックメンバ関数) |