[#BloombergLP-balxml-Formatter_StreamHolder] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/balxml.adoc[balxml]::Formatter_StreamHolder :relfileprefix: ../../ :mrdocs: This component‐private class provides a mechanism for holding the `bsl::ostream` used by the `Formatter` to emit XML documents. Objects of `Formatter_StreamHolder` type can be constructed with either a `bsl::streambuf *` or a `bsl::ostream *`. If a stream holder is constructed with a `bsl::streambuf *`, then it owns its held `bsl::ostream`, which is constructed with the supplied stream buffer. If a stream holder is constructed with a `bsl::ostream *`, its held `bsl::ostream` is the supplied stream. == Synopsis Declared in `<balxml_formatter.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- class Formatter_StreamHolder; ---- == Member Functions [cols="1,4"] |=== | Name| Description | xref:BloombergLP/balxml/Formatter_StreamHolder/2constructor-0f5.adoc[`Formatter_StreamHolder`] [.small]#[constructor]# | Constructors | xref:BloombergLP/balxml/Formatter_StreamHolder/stream-0a.adoc[`stream`] | `stream` overloads |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#