BloombergLP::balxml::Formatter_CompactImplUtil::flush

Flush the output stream, completing any open start tag first.

Synopsis

Declared in <balxml_formatter_compactimpl.h>

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

Description

Insert the closing > if there is an incomplete tag, and flush the specified output stream, with formatting depending on the specified state, and update state accordingly. Return the stream.

Return Value

a reference to the modifiable stream

Parameters

NameDescription
streamoutput stream
stateformatter state to consult and update