40 std::ostream&
indent(std::ostream& o)
43 char fill = o.fill(
' ');
46 << std::setfill(fill);
49 std::ostream&
iendl(std::ostream& o)
51 return o <<
'\n' <<
indent;
std::ostream & incindent(std::ostream &o)
Increment the indentation.
std::ostream & incendl(std::ostream &o)
Increment the indentation, print an end of line, and set the indentation.
std::ostream & indent(std::ostream &o)
Set the indentation.
std::ostream & iendl(std::ostream &o)
Print an end of line, then set the indentation.
xalloc< long int > indentation
std::ostream & decendl(std::ostream &o)
Decrement the indentation, print an end of line, and set the indentation.
std::ostream & decindent(std::ostream &o)
Decrement the indentation.
Indentation relative functions.
Declaration of vcsn::xalloc.
Allocate slots in std::ostreams.
std::ostream & resetindent(std::ostream &o)
Reset the indentation.