BloombergLP::balxml::Formatter_PrettyImplUtil::flush

Insert the closing > if there is an incomplete tag, and flush the output stream.

Synopsis

Declared in <balxml_formatter_prettyimpl.h>

static
std::ostream&
flush(
    std::ostream& stream,
    State* state);

Description

Formatting depends on the specified state, which is updated accordingly. Return the stream.

Return Value

a reference to the modifiable stream

Parameters

NameDescription
streamoutput stream to flush
stateformatter state to update