Specifies modifications to the conversion of the format string, through use of one or more format flags in the source format string.
Declared in <absl/strings/str_format.h>
class FormatConversionSpec;
| Name | Description |
|---|---|
conversion_char | Returns the underlying conversion character. |
has_alt_flag | Indicates whether an "alternate" format is applied to the result for this conversion character. |
has_left_flag | Indicates whether the result should be left justified for this conversion character in the format string. |
has_show_pos_flag | Indicates whether a sign column is prepended to the result for this conversion character in the format string, even if the result is positive. |
has_sign_col_flag | Indicates whether a mandatory sign column is added to the result for this conversion character. |
has_zero_flag | Indicates whether zeroes should be prepended to the result for this conversion character instead of spaces. |
is_basic | Indicates that width and precision are not specified, and no additional flags are set for this conversion character in the format string. |
precision | Returns the specified precision (through use of the '.' character followed by a non-zero integer value or '*' character) of the conversion character. |
width | Returns the specified width (indicated through use of a non-zero integer value or '*' character) of the conversion character. |
| Name | Description |
|---|---|
absl::str_format_internal::FormatConversionSpecImpl |