[#BloombergLP-bslfmt-FormatterIntegralBase-outputValue]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslfmt.adoc[bslfmt]::xref:BloombergLP/bslfmt/FormatterIntegralBase.adoc[FormatterIntegralBase]::outputValue
:relfileprefix: ../../../
:mrdocs:

Copy the formatted prefix and value into `formatContext`&period;

== Synopsis

Declared in `&lt;bslfmt&lowbar;formatterintegralbase&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class t&lowbar;FORMAT&lowbar;CONTEXT&gt;
t&lowbar;FORMAT&lowbar;CONTEXT::iterator
outputValue(
    char const* prefixBegin,
    char const* prefixEnd,
    t&lowbar;CHAR const* valueBegin,
    t&lowbar;CHAR const* valueEnd,
    t&lowbar;FORMAT&lowbar;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&period; Throw `bsl&colon;&colon;format&lowbar;error` if parsed format specification states incorrect alignment type&period;

== Return Value

output iterator after writing

== Parameters

[cols="1,4"]
|===
| 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
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
