Insert a literal newline into the XML output.
Declared in <balxml_formatter_compactimpl.h>
static
std::ostream&
addNewline(
std::ostream& stream,
State* state);
Write to the specified stream, with formatting depending on the specified state, and update state accordingly. Return the stream. 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 |