42 <<
"Ostream::decrIndent() : attempt to decrement 0 indent level\n";
68 label padding = (entryIndentation_ - label(kw.size()));
81 while (--padding > 0);
Useful combination of include files which define Sin, Sout and Serr and the use of IO streams general...
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
virtual Ostream & endBlock()
Write end block group.
virtual Ostream & writeKeyword(const keyType &kw)
Write the keyword followed by an appropriate indentation.
virtual Ostream & beginBlock()
Write begin block group without a name.
void decrIndent()
Decrement the indent level.
unsigned short indentLevel_
Current indent level.
virtual Ostream & endEntry()
Write end entry (';') followed by newline.
virtual bool write()
Write the output fields.
A class for handling keywords in dictionaries.
bool isPattern() const noexcept
The keyType is treated as a pattern, not as literal string.
@ BEGIN_BLOCK
Begin block [isseparator].
@ END_BLOCK
End block [isseparator].
@ END_STATEMENT
End entry [isseparator].
os writeQuoted(("# "+outputName+"\n"), false)
Ostream & beginBlock(Ostream &os)
Write begin block group without a name.
Ostream & incrIndent(Ostream &os)
Increment the indent level.
Ostream & indent(Ostream &os)
Indent stream.
Ostream & decrIndent(Ostream &os)
Decrement the indent level.