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
[legend]
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

Friends

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

Detailed Description

a simple class to control print indentation.

Date:
2001/10/02 21:06:27
Revision:
1.29

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

Examples:
vtkIndent (Examples)
Tests:
vtkIndent (Tests)

Definition at line 63 of file vtkIndent.h.


Constructor & Destructor Documentation

vtkIndent::vtkIndent int    ind = 0 [inline]
 

Definition at line 67 of file vtkIndent.h.


Member Function Documentation

void vtkIndent::Delete   [inline]
 

Definition at line 66 of file vtkIndent.h.

vtkIndent* vtkIndent::New   [static]
 

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

Definition at line 70 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_COMMON_EXPORT ostream& operator<< ostream &    os,
vtkIndent &    o
[friend]
 

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


Member Data Documentation

int vtkIndent::Indent [protected]
 

Definition at line 84 of file vtkIndent.h.


The documentation for this class was generated from the following file:
Generated on Thu Mar 28 14:32:16 2002 for VTK by doxygen1.2.11.1 written by Dimitri van Heesch, © 1997-2001