a simple class to control print indentation
More...
#include <vtkIndent.h>
|
VTKCOMMONCORE_EXPORT ostream & | operator<< (ostream &os, const vtkIndent &o) |
| Print out the indentation.
|
|
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.
- Examples:
- vtkIndent (Examples)
- Online Examples:
- Tests:
- vtkIndent (Tests)
Definition at line 107 of file vtkIndent.h.
◆ vtkIndent()
vtkIndent::vtkIndent |
( |
int |
ind = 0 | ) |
|
|
inlineexplicit |
◆ Delete()
void vtkIndent::Delete |
( |
| ) |
|
|
inline |
◆ New()
◆ GetNextIndent()
Determine the next indentation level.
Keep indenting by two until the max of forty.
◆ operator<<
VTKCOMMONCORE_EXPORT ostream & operator<< |
( |
ostream & |
os, |
|
|
const vtkIndent & |
o |
|
) |
| |
|
friend |
Print out the indentation.
Basically output a bunch of spaces.
◆ Indent
The documentation for this class was generated from the following file: