VTK
9.0.20210120
|
a simple class to control print indentation More...
#include <vtkIndent.h>
Public Member Functions | |
void | Delete () |
vtkIndent (int ind=0) | |
vtkIndent | GetNextIndent () |
Determine the next indentation level. More... | |
Static Public Member Functions | |
static vtkIndent * | New () |
Protected Attributes | |
int | Indent |
Friends | |
VTKCOMMONCORE_EXPORT ostream & | operator<< (ostream &os, const vtkIndent &o) |
Print out the indentation. More... | |
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 33 of file vtkIndent.h.
|
inlineexplicit |
Definition at line 37 of file vtkIndent.h.
|
inline |
Definition at line 36 of file vtkIndent.h.
|
static |
vtkIndent vtkIndent::GetNextIndent | ( | ) |
Determine the next indentation level.
Keep indenting by two until the max of forty.
|
friend |
Print out the indentation.
Basically output a bunch of spaces.
|
protected |
Definition at line 52 of file vtkIndent.h.