Vcsn  2.0
Be Rational
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
indent.hh
Go to the documentation of this file.
1 
6 #ifndef VCSN_MISC_INDENT_HH
7 # define VCSN_MISC_INDENT_HH
8 
9 # include <iosfwd>
10 # include <vcsn/misc/export.hh>
11 
12 namespace vcsn LIBVCSN_API
13 {
15  std::ostream& incindent(std::ostream& o);
16 
18  std::ostream& decindent(std::ostream& o);
19 
21  std::ostream& resetindent(std::ostream& o);
22 
24  std::ostream& indent(std::ostream& o);
25 
27  std::ostream& iendl(std::ostream& o);
28 
30  std::ostream& incendl(std::ostream& o);
31 
33  std::ostream& decendl(std::ostream& o);
34 }
35 
36 #endif // !VCSN_MISC_INDENT_HH
std::ostream & iendl(std::ostream &o)
Print an end of line, then set the indentation.
Definition: indent.cc:49
std::ostream & incendl(std::ostream &o)
Increment the indentation, print an end of line, and set the indentation.
Definition: indent.cc:54
std::ostream & decendl(std::ostream &o)
Decrement the indentation, print an end of line, and set the indentation.
Definition: indent.cc:59
std::ostream & resetindent(std::ostream &o)
Reset the indentation.
Definition: indent.cc:34
std::ostream & incindent(std::ostream &o)
Increment the indentation.
Definition: indent.cc:21
#define LIBVCSN_API
Definition: export.hh:9
std::ostream & indent(std::ostream &o)
Set the indentation.
Definition: indent.cc:40
std::ostream & decindent(std::ostream &o)
Decrement the indentation.
Definition: indent.cc:27