A general mechanism to parse and validate a Standard format specification string for a given argument type.
Synopsis
Declared in <bslfmt_standardformatspecification.h>
template<class t_CHAR>
class StandardFormatSpecification
: public FormatSpecificationParserEnums
Base Classes
Name |
Description |
Namespace struct holding enums used for parsing. |
Enums
Name |
Description |
Alignment options parsed from a format specification. |
|
Format category enumeration. |
|
Format type enumeration. |
|
Parser processing states for a format specification. |
|
Bit flags indicating which format‐spec sections were parsed. |
|
Sign options parsed from a format specification. |
Member Functions
Name |
Description |
|
Create an uninitialized |
Return the requested alignment enumerator. |
|
Return whether alternative formatting was requested. |
|
Return a pointer to the parsed filler character storage. |
|
Return the display width of the filler code point. |
|
Return the requested format‐type enumerator. |
|
Return whether a locale‐specific formatting flag was present. |
|
Return the number of characters in the filler storage. |
|
Parse a Standard format specification from |
|
Resolve nested width and precision from |
|
Return the postprocessed format precision, if any. |
|
Return the postprocessed format width, if any. |
|
Return the current processing state of this specification. |
|
Return the requested sign‐treatment enumerator. |
|
Return whether zero padding was requested. |
Created with MrDocs