[#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. == Synopsis Declared in `<bslfmt_streamedformatter.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class t_STREAMABLE> 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. Return an end iterator of the output range. Throw an exception of type `bsl::format_error` in the event of failure. | 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. Where nested parameters are encountered in the specification string then the `next_arg_id` and `check_arg_id` are called on `fc` as specified in the C++ Standard. Return an end iterator of the parsed range. Throw an exception of type `bsl::format_error` in the event of failure. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#