VTK
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
dox
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
29
#ifndef vtkIndent_h
30
#define vtkIndent_h
31
32
#include "
vtkCommonCoreModule.h
"
// For export macro
33
#include "
vtkSystemIncludes.h
"
34
35
class
vtkIndent
;
36
VTKCOMMONCORE_EXPORT
ostream&
operator<<
(ostream& os,
const
vtkIndent
& o);
37
38
class
VTKCOMMONCORE_EXPORT
vtkIndent
39
{
40
public
:
41
void
Delete
() {
delete
this
;};
42
explicit
vtkIndent
(
int
ind=0) {this->Indent=ind;};
43
static
vtkIndent
*New();
44
47
vtkIndent
GetNextIndent();
48
49
//BTX
51
52
friend
VTKCOMMONCORE_EXPORT
ostream&
operator<<
(ostream& os,
const
vtkIndent
& o);
53
//ETX
55
56
protected
:
57
int
Indent
;
58
59
};
60
61
#endif
62
// VTK-HeaderTest-Exclude: vtkIndent.h
vtkSystemIncludes.h
vtkCommonCoreModule.h
vtkIndent::Indent
int Indent
Definition:
vtkIndent.h:57
vtkIndent::vtkIndent
vtkIndent(int ind=0)
Definition:
vtkIndent.h:42
VTKCOMMONCORE_EXPORT
#define VTKCOMMONCORE_EXPORT
Definition:
vtkCommonCoreModule.h:15
vtkIndent
a simple class to control print indentation
Definition:
vtkIndent.h:38
operator<<
VTKCOMMONCORE_EXPORT ostream & operator<<(ostream &os, const vtkIndent &o)
vtkIndent::Delete
void Delete()
Definition:
vtkIndent.h:41
Generated on Wed Dec 16 2015 17:14:47 for VTK by
1.8.9.1