VTK
|
a simple class to control print indentation More...
#include <vtkIndent.h>
Public Member Functions | |
void | Delete () |
vtkIndent (int ind=0) | |
vtkIndent | GetNextIndent () |
Static Public Member Functions | |
static vtkIndent * | New () |
Protected Attributes | |
int | Indent |
Friends | |
VTK_COMMON_EXPORT ostream & | operator<< (ostream &os, const vtkIndent &o) |
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.
Definition at line 37 of file vtkIndent.h.
vtkIndent::vtkIndent | ( | int | ind = 0 | ) | [inline, explicit] |
Definition at line 41 of file vtkIndent.h.
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.
VTK_COMMON_EXPORT ostream& operator<< | ( | ostream & | os, |
const vtkIndent & | o | ||
) | [friend] |
Print out the indentation. Basically output a bunch of spaces.
int vtkIndent::Indent [protected] |
Definition at line 56 of file vtkIndent.h.