Tabber Class Reference

#include <tree.hh>

List of all members.

Public Member Functions

 Tabber (int n=0)
Tabberoperator++ ()
Tabberoperator-- ()
ostream & print (ostream &fout)

Private Attributes

int fIndent

Detailed Description

Definition at line 240 of file tree.hh.


Constructor & Destructor Documentation

Tabber::Tabber ( int  n = 0  )  [inline]

Definition at line 244 of file tree.hh.

00244 : fIndent(n)    {}


Member Function Documentation

Tabber& Tabber::operator++ (  )  [inline]

Definition at line 245 of file tree.hh.

References fIndent.

00245 { fIndent++; return *this;}

Tabber& Tabber::operator-- (  )  [inline]

Definition at line 246 of file tree.hh.

References fIndent.

00246 { assert(fIndent > 0); fIndent--; return *this; }

ostream& Tabber::print ( ostream &  fout  )  [inline]

Definition at line 248 of file tree.hh.

References fIndent.

Referenced by operator<<().

00249                         { for (int i=0; i<fIndent; i++) fout << '\t'; return fout; }

Here is the caller graph for this function:


Member Data Documentation

int Tabber::fIndent [private]

Definition at line 242 of file tree.hh.

Referenced by operator++(), operator--(), and print().


The documentation for this class was generated from the following file:
Generated on Thu Jul 15 15:47:37 2010 for FAUST compiler by  doxygen 1.6.3