Insert one or two newlines so that a blank line results.
Declared in <balxml_formatter_prettyimpl.h>
static
std::ostream&
addBlankLine(
std::ostream& stream,
State* state);
Write to the specified stream, 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 to write to |
| state | formatter state to update |