Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members | Related Pages

vtkIndent Class Reference

#include <vtkIndent.h>

List of all members.

Detailed Description

a simple class to control print indentation

vtkIndent is used to control indentation during the chaining print process. This way nested objects can correctly indent themselves.

vtkIndent (Examples)
vtkIndent (Tests)

Definition at line 37 of file vtkIndent.h.
vtkIndent GetNextIndent ()
VTK_COMMON_EXPORT ostream & operator<< (ostream &os, const vtkIndent &o)

Public Member Functions

void Delete ()
 vtkIndent (int ind=0)

Static Public Member Functions

static vtkIndentNew ()

Protected Attributes

int Indent

Constructor & Destructor Documentation

vtkIndent::vtkIndent int  ind = 0  )  [inline]

Definition at line 41 of file vtkIndent.h.

Member Function Documentation

void vtkIndent::Delete  )  [inline]

Definition at line 40 of file vtkIndent.h.

static vtkIndent* vtkIndent::New  )  [static]

vtkIndent vtkIndent::GetNextIndent  ) 

Determine the next indentation level. Keep indenting by two until the max of forty.

Friends And Related Function Documentation

VTK_COMMON_EXPORT ostream& operator<< ostream &  os,
const vtkIndent o

Print out the indentation. Basically output a bunch of spaces.

Member Data Documentation

int vtkIndent::Indent [protected]

Definition at line 56 of file vtkIndent.h.

The documentation for this class was generated from the following file:
Generated on Mon Jan 21 23:55:30 2008 for VTK by  doxygen 1.4.3-20050530