VTK
9.1.0
Common
Core
vtkIndent.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkIndent.h
5
6
Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7
All rights reserved.
8
See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9
10
This software is distributed WITHOUT ANY WARRANTY; without even
11
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12
PURPOSE. See the above copyright notice for more information.
13
14
=========================================================================*/
15
103
#ifndef vtkIndent_h
104
#define vtkIndent_h
105
106
#include "vtkCommonCoreModule.h"
// For export macro
107
#include "
vtkSystemIncludes.h
"
108
109
class
vtkIndent
;
110
VTKCOMMONCORE_EXPORT ostream&
operator<<
(ostream& os,
const
vtkIndent
& o);
111
112
class
VTKCOMMONCORE_EXPORT
vtkIndent
113
{
114
public
:
115
void
Delete
() {
delete
this
; }
116
explicit
vtkIndent
(
int
ind = 0) { this->Indent = ind; }
117
static
vtkIndent
*
New
();
118
123
vtkIndent
GetNextIndent
();
124
128
friend
VTKCOMMONCORE_EXPORT ostream&
operator<<
(ostream& os,
const
vtkIndent
& o);
129
130
protected
:
131
int
Indent
;
132
};
133
134
#endif
135
// VTK-HeaderTest-Exclude: vtkIndent.h
vtkIndent::Indent
int Indent
Definition:
vtkIndent.h:131
vtkIndent::Delete
void Delete()
Definition:
vtkIndent.h:115
vtkIndent::vtkIndent
vtkIndent(int ind=0)
Definition:
vtkIndent.h:116
vtkIndent
a simple class to control print indentation
Definition:
vtkIndent.h:113
vtkIndent::New
static vtkIndent * New()
operator<<
VTKCOMMONCORE_EXPORT ostream & operator<<(ostream &os, const vtkIndent &o)
vtkIndent::operator<<
friend VTKCOMMONCORE_EXPORT ostream & operator<<(ostream &os, const vtkIndent &o)
Print out the indentation.
vtkIndent::GetNextIndent
vtkIndent GetNextIndent()
Determine the next indentation level.
vtkSystemIncludes.h
Generated on Fri Nov 5 2021 00:10:55 for VTK by
1.8.20