std::ios_base::setf
提供: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. |
| fmtflags setf( fmtflags flags ); |
(1) | |
| fmtflags setf( fmtflags flags, fmtflags mask ); |
(2) | |
指定した設定に書式化フラグを設定します。.
1) Original:
Sets the formatting flags to specified settings.
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.
フラグに書式化フラグを設定します
2) Original:
Sets the formatting flags to flags
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.
mask下の書式化フラグをクリアし、flagsで定めるものにクリアフラグを設定します。 (flags & mask)は内部書式化フラグの状態を定義するところ、基本的に以下の操作が実行されfl.Original:
Clears the formatting flags under
mask, and sets the cleared flags to those specified by flags. Essentially the following operation is performed (flags & mask) where fl defines the state of internal formatting flags.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.
目次 |
[編集] パラメータ
| flags, mask | - | 新しい書式設定。
mask変更することができますどのフラグが定義され、flagsは、(他のものはクリアされます)に設定する必要があり、変更されるそれらのどのフラグが定義されています。両方のパラメータは、以下の定数を組み合わせて指定できます。
Original: new formatting setting. mask defines which flags can be altered, flags defines which flags of those to be altered should be set (others will be cleared). Both parameters 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:
the formatting flags before the call to the function
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: manages format flags The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (パブリックメンバ関数) | |
| clears specific format flag (パブリックメンバ関数) | |