VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
Common
vtkInformationVector.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkInformationVector.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
=========================================================================*/
31
#ifndef __vtkInformationVector_h
32
#define __vtkInformationVector_h
33
34
#include "
vtkObject.h
"
35
36
class
vtkInformation
;
37
class
vtkInformationVectorInternals;
38
39
class
VTK_COMMON_EXPORT
vtkInformationVector
:
public
vtkObject
40
{
41
public
:
42
static
vtkInformationVector
*
New
();
43
vtkTypeMacro(
vtkInformationVector
,
vtkObject
);
44
void
PrintSelf
(ostream& os,
vtkIndent
indent);
45
47
51
int
GetNumberOfInformationObjects
() {
return
this->NumberOfInformationObjects; };
52
void
SetNumberOfInformationObjects(
int
n);
54
56
60
void
SetInformationObject(
int
index
,
vtkInformation
*
info
);
61
vtkInformation
* GetInformationObject(
int
index
);
63
65
66
void
Append(
vtkInformation
*
info
);
67
void
Remove(
vtkInformation
*
info
);
69
71
72
virtual
void
Register
(
vtkObjectBase
* o);
73
virtual
void
UnRegister
(
vtkObjectBase
* o);
75
81
void
Copy(
vtkInformationVector
* from,
int
deep=0);
82
83
protected
:
84
vtkInformationVector
();
85
~
vtkInformationVector
();
86
87
// Internal implementation details.
88
vtkInformationVectorInternals*
Internal
;
89
90
int
NumberOfInformationObjects
;
91
92
// Garbage collection support.
93
virtual
void
ReportReferences
(
vtkGarbageCollector
*);
94
private
:
95
vtkInformationVector
(
const
vtkInformationVector
&);
// Not implemented.
96
void
operator=(
const
vtkInformationVector
&);
// Not implemented.
97
};
98
99
#endif
Generated on Wed Nov 21 2012 21:33:40 for VTK by
1.8.2