This template is the implementation of the bsl::format specification for bdldfp::Decimal* types.
Declared in <bdldfp_decimal.h>
template<class t_CHAR>
struct Decimal_FormatterSpecification;
It parses as well as postprocesses format specifications for bdldfp::Decimal* type formatted arguments, as well as stores the results of that pasring: the specification.
| Name | Description |
|---|---|
FormatType | This enumeration is used as an indication of the format-type letter in a decimal floating point format string. |
| Name | Description |
|---|---|
Decimal_FormatterSpecification [constructor] | Create an uninitialized Decimal_FormatterSpecification object. |
alignment | Return the requested alignment. |
alternativeFlag | Return whether alternative formatting was requested. |
filler | Return a pointer to the parsed filler character sequence. |
fillerCharacters | Return the number of code units in the filler character sequence. |
fillerCodePointDisplayWidth | Return the display width of the code point represented by the array returned by filler(). |
formatType | Return the format-type requested unless the status is not at least e_STATE_PARSED in which case throw a bsl::format_error exception indicating that error. |
localeSpecificFlag | Return whether the locale-specific flag was present. |
parse | Parse the format specification from the specified context. |
postprocess | Resolve deferred width and precision arguments using context. |
postprocessedPrecision | Return the postprocessed precision from the format specification. |
postprocessedWidth | Return the postprocessed width from the format specification. |
sign | Return the requested sign-treatment option. |
zeroPaddingFlag | Return whether zero padding was requested. |