|
libxr
1.0
Want to be the best embedded framework
|
运行期对单个字段描述字节组的解码视图 / Runtime view of one decoded field specification byte group More...
Public Member Functions | |
| constexpr bool | LeftAlign () const |
| 判断是否请求了左对齐 / Return whether left alignment is requested | |
| constexpr bool | ForceSign () const |
| 判断是否请求了显式正号输出 / Return whether explicit plus-sign output is requested | |
| constexpr bool | CenterAlign () const |
| 判断是否请求了居中对齐 / Return whether center alignment is requested | |
| constexpr bool | SpaceSign () const |
| 判断是否请求了正值前补空格的符号策略 / Return whether space-sign output for positive values is requested | |
| constexpr bool | Alternate () const |
| 判断是否请求了备用格式 / Return whether alternate form is requested | |
| constexpr bool | ZeroPad () const |
| 判断是否请求了零填充 / Return whether zero-padding is requested | |
| constexpr bool | UpperCase () const |
| 判断是否请求了大写输出 / Return whether uppercase output is requested | |
| constexpr bool | HasPrecision () const |
| 判断是否显式指定了精度 / Return whether precision was explicitly specified | |
Data Fields | |
| uint8_t | flags = 0 |
| FormatFlag bitset / 字段修饰位集合 | |
| char | fill = ' ' |
| field fill character / 字段填充字符 | |
| uint8_t | width = 0 |
| field width, or zero when absent / 字段宽度,未指定时为 0 | |
| uint8_t | precision = unspecified_precision |
运行期对单个字段描述字节组的解码视图 / Runtime view of one decoded field specification byte group
Definition at line 187 of file writer.hpp.
|
inlinenodiscardconstexpr |
判断是否请求了备用格式 / Return whether alternate form is requested
true,否则返回 false / Returns true when alternate form is enabled, otherwise false Definition at line 242 of file writer.hpp.
|
inlinenodiscardconstexpr |
判断是否请求了居中对齐 / Return whether center alignment is requested
true,否则返回 false / Returns true when center alignment is enabled, otherwise false Definition at line 221 of file writer.hpp.
|
inlinenodiscardconstexpr |
判断是否请求了显式正号输出 / Return whether explicit plus-sign output is requested
true,否则返回 false / Returns true when explicit plus-sign output is enabled, otherwise false Definition at line 211 of file writer.hpp.
|
inlinenodiscardconstexpr |
判断是否显式指定了精度 / Return whether precision was explicitly specified
true,否则返回 false / Returns true when precision is present, otherwise false Definition at line 272 of file writer.hpp.
|
inlinenodiscardconstexpr |
判断是否请求了左对齐 / Return whether left alignment is requested
true,否则返回 false / Returns true when left alignment is enabled, otherwise false Definition at line 200 of file writer.hpp.
|
inlinenodiscardconstexpr |
判断是否请求了正值前补空格的符号策略 / Return whether space-sign output for positive values is requested
true,否则返回 false / Returns true when the space-sign policy is enabled, otherwise false Definition at line 232 of file writer.hpp.
|
inlinenodiscardconstexpr |
判断是否请求了大写输出 / Return whether uppercase output is requested
true,否则返回 false / Returns true when uppercase output is enabled, otherwise false Definition at line 262 of file writer.hpp.
|
inlinenodiscardconstexpr |
判断是否请求了零填充 / Return whether zero-padding is requested
true,否则返回 false / Returns true when zero-padding is enabled, otherwise false Definition at line 252 of file writer.hpp.
| char LibXR::Print::Writer::Spec::fill = ' ' |
field fill character / 字段填充字符
Definition at line 190 of file writer.hpp.
| uint8_t LibXR::Print::Writer::Spec::flags = 0 |
FormatFlag bitset / 字段修饰位集合
Definition at line 189 of file writer.hpp.
| uint8_t LibXR::Print::Writer::Spec::precision = unspecified_precision |
precision, or unspecified_precision / 字段精度,未指定时为哨兵值
Definition at line 192 of file writer.hpp.
| uint8_t LibXR::Print::Writer::Spec::width = 0 |
field width, or zero when absent / 字段宽度,未指定时为 0
Definition at line 191 of file writer.hpp.