VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
Common
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
29
#ifndef __vtkIndent_h
30
#define __vtkIndent_h
31
32
#include "
vtkSystemIncludes.h
"
33
34
class
vtkIndent
;
35
VTK_COMMON_EXPORT
ostream&
operator<<
(ostream& os,
const
vtkIndent
& o);
36
37
class
VTK_COMMON_EXPORT
vtkIndent
38
{
39
public
:
40
void
Delete
() {
delete
this
;};
41
explicit
vtkIndent
(
int
ind=0) {this->Indent=ind;};
42
static
vtkIndent
*New();
43
46
vtkIndent
GetNextIndent();
47
48
//BTX
50
51
friend
VTK_COMMON_EXPORT
ostream&
operator<<
(ostream& os,
const
vtkIndent
& o);
52
//ETX
54
55
protected
:
56
int
Indent
;
57
58
};
59
60
#endif
vtkSystemIncludes.h
vtkIndent::Indent
int Indent
Definition:
vtkIndent.h:56
vtkIndent::vtkIndent
vtkIndent(int ind=0)
Definition:
vtkIndent.h:41
vtkIndent
a simple class to control print indentation
Definition:
vtkIndent.h:37
VTK_COMMON_EXPORT
#define VTK_COMMON_EXPORT
Definition:
vtkWin32Header.h:269
vtkIndent::Delete
void Delete()
Definition:
vtkIndent.h:40
operator<<
VTK_COMMON_EXPORT ostream & operator<<(ostream &os, const vtkIndent &o)
Generated on Thu Oct 24 2019 21:14:24 for VTK by
1.8.6