BloombergLP::bslfmt::FormatterSpecificationNumericValue

Value-semantic type holding a category and optional integral value.

Synopsis

Declared in <bslfmt_formatterspecificationnumericvalue.h>

struct FormatterSpecificationNumericValue;

Description

Primarily used to represent width and precision of a format specification.

Enums

NameDescription
Category Categories for parsed numeric format-specification values.

Member Functions

NameDescription
FormatterSpecificationNumericValue [constructor]Constructors
category Return the category attribute of this object.
parse Parse a hard-coded integer or nested argument specification.
postprocess Resolve a nested argument id into a concrete numeric value.
value Return the value attribute of this object. The behavior is undefined if category is either e_DEFAULT or e_NEXT_ARG_ID.
operator== Return true if this object equals the specified other object.

Friends

NameDescription
BloombergLP::bslfmt::FormatterSpecificationNumericValue_ArgVisitorVisitor that extracts an integral nested format-argument value.