Insert one or two newlines so that a blank line results.
Declared in <balxml_formatter_compactimpl.h>
static
std::ostream&
addBlankLine(
std::ostream& stream,
State* state);
Insert one or two newline characters into the specified stream such that a blank line results, depending on the specified state, and update the state accordingly. Return the stream. If the last output was a newline, then only one newline is added, otherwise two newlines are added. If following a call to openElement, or addAttribute, add a closing > to the opened tag.
a reference to the modifiable stream
| Name | Description |
|---|---|
| stream | output stream |
| state | formatter state to consult and update |