Copy the formatted prefix and value into formatContext.

Synopsis

Declared in <bslfmt_formatterintegralbase.h>

template<class t_FORMAT_CONTEXT>
t_FORMAT_CONTEXT::iterator
outputValue(
    char const* prefixBegin,
    char const* prefixEnd,
    t_CHAR const* valueBegin,
    t_CHAR const* valueEnd,
    t_FORMAT_CONTEXT& formatContext) const;

Description

Copy the prefix of value string representation starting at the specified prefixBegin and ending at the specified prefixEnd as well as representation itself starting at the specified valueBegin and ending at the specified valueEnd to the output that the output iterator of the formatContext points to. Throw bsl::format_error if parsed format specification states incorrect alignment type.

Return Value

output iterator after writing

Parameters

Name

Description

prefixBegin

beginning of the prefix character range

prefixEnd

end of the prefix character range

valueBegin

beginning of the value character range

valueEnd

end of the value character range

formatContext

output context receiving the formatted result

Created with MrDocs