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 & iendl(std::ostream &o)
Print an end of line, then set the indentation.
Indentation relative functions.
std::ostream & incendl(std::ostream &o)
Increment the indentation, print an end of line, and set the indentation.
Declaration of vcsn::xalloc.
std::ostream & decendl(std::ostream &o)
Decrement the indentation, print an end of line, and set the indentation.
std::ostream & resetindent(std::ostream &o)
Reset the indentation.
Allocate slots in std::ostreams.
xalloc< long int > indentation
std::ostream & incindent(std::ostream &o)
Increment the indentation.
std::ostream & indent(std::ostream &o)
Set the indentation.
std::ostream & decindent(std::ostream &o)
Decrement the indentation.