[#BloombergLP-bslfmt-FormatterIntegralBase] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslfmt.adoc[bslfmt]::FormatterIntegralBase :relfileprefix: ../../ :mrdocs: Base class for integral and integral‐like `bsl::formatter` specializations. == Synopsis Declared in `<bslfmt_formatterintegralbase.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< class t_VALUE, class t_CHAR> struct FormatterIntegralBase; ---- == Description This struct is a base class for `bsl::formatter` specializations for integer types as well as for other types that can be represented as integer (i.e. `bool`, character and pointer types). This is a private class and should not be used directly. The formatting of variables of a certain type is performed using the corresponding classes inherited from this one. Accordingly, the auxiliary functions used are declared protected. == Member Functions [cols="1,4"] |=== | Name| Description | xref:BloombergLP/bslfmt/FormatterIntegralBase/formatPrefix.adoc[`formatPrefix`] | Write the output prefix for `value` into `prefixStorage`. | xref:BloombergLP/bslfmt/FormatterIntegralBase/formatValue.adoc[`formatValue`] | Write the string representation of `value` into `valueStorage`. | xref:BloombergLP/bslfmt/FormatterIntegralBase/outputValue.adoc[`outputValue`] | Copy the formatted prefix and value into `formatContext`. | xref:BloombergLP/bslfmt/FormatterIntegralBase/parse.adoc[`parse`] | Parse the specified `parseContext` and return an iterator, pointing to the beginning of the format string. | xref:BloombergLP/bslfmt/FormatterIntegralBase/specification.adoc[`specification`] | Return a reference to the specification of this formatter. |=== == Derived Classes [cols="1,4"] |=== | Name| Description | xref:BloombergLP/bslfmt/FormatterPointer_Nullptr.adoc[`FormatterPointer_Nullptr`] | This struct is a specialization of the `bsl::formatter` template for the `bsl::nullptr_t`. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#