[#absl-FormatConversionSpec] = xref:absl.adoc[absl]::FormatConversionSpec :relfileprefix: ../ :mrdocs: Specifies modifications to the conversion of the format string, through use of one or more format flags in the source format string. == Synopsis Declared in `<absl/strings/str_format.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- class FormatConversionSpec; ---- == Member Functions [cols="1,4"] |=== | Name| Description | xref:absl/FormatConversionSpec/conversion_char.adoc[`conversion_char`] | Returns the underlying conversion character. | xref:absl/FormatConversionSpec/has_alt_flag.adoc[`has_alt_flag`] | Indicates whether an "alternate" format is applied to the result for this conversion character. | xref:absl/FormatConversionSpec/has_left_flag.adoc[`has_left_flag`] | Indicates whether the result should be left justified for this conversion character in the format string. | xref:absl/FormatConversionSpec/has_show_pos_flag.adoc[`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. | xref:absl/FormatConversionSpec/has_sign_col_flag.adoc[`has_sign_col_flag`] | Indicates whether a mandatory sign column is added to the result for this conversion character. | xref:absl/FormatConversionSpec/has_zero_flag.adoc[`has_zero_flag`] | Indicates whether zeroes should be prepended to the result for this conversion character instead of spaces. | xref:absl/FormatConversionSpec/is_basic.adoc[`is_basic`] | Indicates that width and precision are not specified, and no additional flags are set for this conversion character in the format string. | xref:absl/FormatConversionSpec/precision.adoc[`precision`] | Returns the specified precision (through use of the '.' character followed by a non‐zero integer value or '*' character) of the conversion character. | xref:absl/FormatConversionSpec/width.adoc[`width`] | Returns the specified width (indicated through use of a non‐zero integer value or '*' character) of the conversion character. |=== == Friends [cols="1,4"] |=== | Name| Description | `absl::str_format_internal::FormatConversionSpecImpl` | |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#