Zen
A cross-platform functional programming language
Public Member Functions | Private Member Functions | Private Attributes

Indent Class Reference

Class that maintains an indentation level. More...

List of all members.

Public Member Functions

 Indent ()
 Default constructor.
 ~Indent ()
 Destructor.
void enter ()
 Increase indentation level by one.
void leave ()
 Decrease indentation level by one.
z::streamwrite (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.

Detailed Description

Class that maintains an indentation level.


Constructor & Destructor Documentation

Indent ( const Indent src) [inline, private]

Copy constructor, private to prevent copy.

Parameters:
srcThe source to copy from.

Member Function Documentation

z::stream& write ( z::stream os) [inline]

Writes the type reference to the output stream.

Parameters:
osThe output stream
Returns:
The output stream

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines