Bayeux
3.4.1
Core Foundation library for SuperNEMO
|
I/O indenter class. More...
#include <bayeux/datatools/ioutils.h>
Public Member Functions | |
indenter () | |
Default constructor. More... | |
size_t | get_width () const |
Returns the with of each indentation level. More... | |
size_t | get_level () const |
Returns the current level of indentation. More... | |
indenter & | operator++ (int) |
Increment indendation level by one unit. More... | |
indenter & | operator-- (int) |
Decrement indendation level by one unit. More... | |
std::ostream & | operator() (std::ostream &) const |
indenter & | operator() (size_t) |
Friends | |
std::ostream & | operator<< (std::ostream &, const indenter &) |
I/O indenter class.
datatools::io::indenter::indenter | ( | ) |
Default constructor.
size_t datatools::io::indenter::get_level | ( | ) | const |
Returns the current level of indentation.
size_t datatools::io::indenter::get_width | ( | ) | const |
Returns the with of each indentation level.
std::ostream& datatools::io::indenter::operator() | ( | std::ostream & | ) | const |
indenter& datatools::io::indenter::operator() | ( | size_t | ) |
indenter& datatools::io::indenter::operator++ | ( | int | ) |
Increment indendation level by one unit.
indenter& datatools::io::indenter::operator-- | ( | int | ) |
Decrement indendation level by one unit.