![]() |
Zen
A cross-platform functional programming language
|
Class that maintains an indentation level. More...
Public Member Functions | |
| Indent () | |
| Default constructor. | |
| ~Indent () | |
| Destructor. | |
| void | enter () |
| Increase indentation level by one. | |
| void | leave () |
| Decrease indentation level by one. | |
| z::stream & | write (z::stream &os) |
| Writes the type reference to the output stream. | |
Private Member Functions | |
| Indent (const Indent &src) | |
| Copy constructor, private to prevent copy. | |
Private Attributes | |
| int | _indent |
| Current indentation level. | |
Class that maintains an indentation level.
Copy constructor, private to prevent copy.
| src | The source to copy from. |
Writes the type reference to the output stream.
| os | The output stream |