15 IndentPrintWriter::IndentPrintWriter(ostream* outstream,
int level)
34 if (!indented) doIndent();
58 void IndentPrintWriter::doIndent() {
59 for (
int i=0; i<indentLevel; i++) {
86 indentString = anIndent;
virtual ~IndentPrintWriter()
std::string getIndentString() const
void setIndentString(const std::string &indentString)
void setIndent(const int level)
IndentPrintWriter & operator<<(const std::string &s)
void print(const std::string &s)