![]() |
Zen
A cross-platform functional programming language
|
Class that maintains indentation in output files. More...
Public Member Functions | |
| Indenter (Indent &ind) | |
| Default constructor. Enters an indentation level. | |
| Indenter (Indenter &src) | |
| Default constructor. Enters an indentation level. | |
| ~Indenter () | |
| Destructor. Leaves an indentation level. | |
| z::stream & | write (z::stream &os) |
| Writes the type reference to the output stream. | |
Private Attributes | |
| Indent & | _ind |
| Current indenter. | |
Class that maintains indentation in output files.
Default constructor. Enters an indentation level.
| ind | The source indenter |
Default constructor. Enters an indentation level.
| src | The source indenter |
Writes the type reference to the output stream.
| os | The output stream |