BloombergLP::bslim::Printer::end

Print a closing bracket and trailing newline for this object's output.

Synopsis

Declared in <bslim_printer.h>

void
end(bool suppressBracket = false) const;

Description

If spacesPerLevel() >= 0, print a newline character to the output stream supplied at construction. If the optionally specified suppressBracket is false, print a closing square bracket, indented by absLevel() * spacesPerLevel() blank spaces.

Parameters

NameDescription
suppressBracketif true, omit the closing square bracket