std::ios_base::fmtflags
|
|
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. |
| typedef /*implementation defined*/ fmtflags; |
||
| static constexpr fmtflags dec = /*implementation defined*/ static constexpr fmtflags oct = /*implementation defined*/ |
||
| static constexpr fmtflags left = /*implementation defined*/ static constexpr fmtflags right = /*implementation defined*/ |
||
| static constexpr fmtflags scientific = /*implementation defined*/ static constexpr fmtflags fixed = /*implementation defined*/ |
||
| static constexpr fmtflags boolalpha = /*implementation defined*/ static constexpr fmtflags showbase = /*implementation defined*/ |
||
BitmaskType,下面的常量定义 BitmaskType, the following constants are defined: 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 |
| dec | 使用十进制整数I / O
Original: use decimal base for integer I/O The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
| oct | 使用八进制基地整数I / O
Original: use octal base for integer I/O The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
| hex | 使用16进制整数I / O
Original: use hexadecimal base for integer I/O The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
| basefield | dec|oct|hex|0。用于屏蔽操作
Original: dec|oct|hex|0. Useful for masking operations The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
| left | 左调整(填充字符添加到右侧)
Original: left adjustment (adds fill characters to the right) The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
| right | 右调整(填充字符添加到左)
Original: right adjustment (adds fill characters to the left) The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
| internal | 内部调整(填充字符添加到内部指定的点)
Original: internal adjustment (adds fill characters to the internal designated point) The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
| adjustfield | left|right|internal。用于屏蔽操作
Original: left|right|internal. Useful for masking operations The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
| scientific | 产生的浮点类型,如果再加上固定用科学记数法,或十六进制记数法
Original: generate floating point types using scientific notation, or hex notation if combined with fixed The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
| fixed | 产生的浮点类型,使用固定的符号,或十六进制记数法如果与科学相结合
Original: generate floating point types using fixed notation, or hex notation if combined with scientific The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
| floatfield | scientific|fixed|(scientific|fixed)|0。用于屏蔽操作
Original: scientific|fixed|(scientific|fixed)|0. Useful for masking operations The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
| boolalpha | 插入和提取bool类型字母数字格式
Original: insert and extract bool type in alphanumeric format The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
| showbase | 生成一个的前缀表示数字的整数输出基地,需要的I / O货币的货币指标
Original: generate a prefix indicating the numeric base for integer output, require the currency indicator in monetary I/O The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
| showpoint | 无条件地为浮点数输出生成一个小数点字符
Original: generate a decimal-point character unconditionally for floating-point number output The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
| showpos | 生成+字符对于非负的数值输出
Original: generate a + character for non-negative numeric output The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
| skipws | 一定的输入操作之前,跳过前导空白
Original: skip leading whitespace before certain input operations The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
| unitbuf | 冲洗后的输出的每个输出操作
Original: flush the output after each output operation The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
| uppercase | 更换一定的小写字母与他们的uppercase
equivalents在一定的输出输出操作 Original: replace certain lowercase letters with their uppercase equivalents in certain output output operations The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
[编辑] 为例
| 本节是不完整的 原因: 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. (公共成员函数) | |
| 设置特定格式的标志 Original: sets specific format flag 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 (公共成员函数) | |
| 改变用于整数I / O基地 Original: changes the base used for integer I/O The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (函数) | |
| 改变填充字符 Original: changes the fill character The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (函数模板) | |
| (C++11) (C++11) |
使用的格式为浮点I / O Original: changes formatting used for floating-point I/O The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (函数) |
| 控制是否前缀用于指示数字基 Original: controls whether prefix is used to indicate numeric base The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (函数) | |
| 文字和数字表示的布尔值之间切换 Original: switches between textual and numeric representation of booleans The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (函数) | |
| 控制是否 +符号用于与非负数Original: controls whether the + sign used with non-negative numbersThe text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (函数) | |
| 控制是否始终包含在浮点表示小数点 Original: controls whether decimal point is always included in floating-point representation The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (函数) | |
| 控制输出是否每次操作后冲洗 Original: controls whether output is flushed after each operation The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (函数) | |
| 被跳过的输入控制是否前导空格 Original: controls whether leading whitespace is skipped on input The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (函数) | |
| controls whether uppercase characters are used with some output formats (函数) | |