Man Page for vtkIndent
Table of Contents

NAME

vtkIndent - a simple class to control print indentation

SYNOPSIS


#include "/opt/vtk-c++/common/vtkIndent.h"

class VTK_EXPORT vtkIndent

vtkIndent(int ind=0) {this->Indent=ind;};
static vtkIndent *New() {return new vtkIndent;};
vtkIndent GetNextIndent();
int Indent;
friend VTK_EXPORT ostream& operator<<(ostream& os, vtkIndent& o);

DESCRIPTION

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

SUMMARY

vtkIndent GetNextIndent()
Determine the next indentation level. Keep indenting by two until the max of forty.

ostream& operator<<(ostream& os, vtkIndent& ind)
Print out the indentation. Basically output a bunch of spaces.


Table of Contents