LRDE Tiger Compiler  1.34a $Id: 7fef12e1f5fa43449d667a0eec1d837c40fc1202 $
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
indent.cc File Reference

Implementation of indentation relative functions. More...

#include <iomanip>
#include <ostream>
#include <misc/indent.hh>
#include <misc/contract.hh>
Include dependency graph for indent.cc:

Namespaces

namespace  misc
 Handling of generic, oriented or undirected, graph.

Functions

std::ostream & misc::incindent (std::ostream &o)
 Increment the indentation.
std::ostream & misc::decindent (std::ostream &o)
 Decrement the indentation.
std::ostream & misc::resetindent (std::ostream &o)
 Reset the indentation.
std::ostream & misc::iendl (std::ostream &o)
 Print an end of line, then set the indentation.
std::ostream & misc::incendl (std::ostream &o)
 Increment the indentation, print an end of line, and set the indentation.
std::ostream & misc::decendl (std::ostream &o)
 Decrement the indentation, print an end of line, and set the indentation.

Detailed Description

Implementation of indentation relative functions.