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

This class provides the implementations of `parse` and `format` for formatters that format a type using its streaming operator&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class t&lowbar;STREAMABLE&gt;
struct StreamedFormatter;
----

== Member Functions

[cols="1,4"]
|===
| Name| Description
| xref:BloombergLP/bslfmt/StreamedFormatter/format.adoc[`format`] 
| Format the specified `value` according to the specification stored as a result of a previous call to the `parse` method, and write the result to the iterator accessed by calling the `out()` method on the specified `formatContext` parameter&period; Return an end iterator of the output range&period; Throw an exception of type `bsl&colon;&colon;format&lowbar;error` in the event of failure&period;
| xref:BloombergLP/bslfmt/StreamedFormatter/parse.adoc[`parse`] 
| Parse and validate the specification string stored in the iterator accessed via the `begin()` method of the parseContext passed via the specified `parseContext` parameter&period; Where nested parameters are encountered in the specification string then the `next&lowbar;arg&lowbar;id` and `check&lowbar;arg&lowbar;id` are called on `fc` as specified in the C&plus;&plus; Standard&period; Return an end iterator of the parsed range&period; Throw an exception of type `bsl&colon;&colon;format&lowbar;error` in the event of failure&period;
|===



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