Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

vtkIndent Class Reference

a simple class to control print indentation. More...

#include <vtkIndent.h>

Collaboration diagram for vtkIndent:

Collaboration graph
List of all members.

Public Methods

void Delete ()
 vtkIndent (int ind=0)
virtual const char * GetClassName ()
vtkIndent GetNextIndent ()

Static Public Methods

vtkIndent * New ()

Protected Attributes

int Indent


VTK_EXPORT ostream & operator<< (ostream &os, vtkIndent &o)

Detailed Description

a simple class to control print indentation.

2000/12/10 20:08:11

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

vtkIndent (examples)

Definition at line 60 of file vtkIndent.h.

Constructor & Destructor Documentation

vtkIndent::vtkIndent int    ind = 0 [inline]

Definition at line 64 of file vtkIndent.h.

Member Function Documentation

void vtkIndent::Delete   [inline]

Definition at line 63 of file vtkIndent.h.

vtkIndent* vtkIndent::New   [static]

virtual const char* vtkIndent::GetClassName   [inline, virtual]

Definition at line 67 of file vtkIndent.h.

vtkIndent vtkIndent::GetNextIndent  

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

Friends And Related Function Documentation

VTK_EXPORT ostream& operator<< ostream &    os,
vtkIndent &    o

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

Member Data Documentation

int vtkIndent::Indent [protected]

Definition at line 79 of file vtkIndent.h.

The documentation for this class was generated from the following file:
Generated on Wed Nov 21 12:49:24 2001 for VTK by doxygen1.2.11.1 written by Dimitri van Heesch, © 1997-2001