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>

class Formatter_StreamHolder;

Member Functions

Name

Description

Formatter_StreamHolder [constructor]

Constructors

stream

stream overloads

Created with MrDocs