VTK
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 "vtkCommonCoreModule.h" // For export macro
35 #include "vtkObject.h"
36 
37 class vtkInformation;
38 class vtkInformationVectorInternals;
39 
41 {
42 public:
45  void PrintSelf(ostream& os, vtkIndent indent);
46 
48 
52  int GetNumberOfInformationObjects() { return this->NumberOfInformationObjects; };
55 
57 
64 
66 
69  void Remove(int idx);
71 
73 
74  virtual void Register(vtkObjectBase* o);
75  virtual void UnRegister(vtkObjectBase* o);
77 
83  void Copy(vtkInformationVector* from, int deep=0);
84 
85 protected:
88 
89  // Internal implementation details.
90  vtkInformationVectorInternals* Internal;
91 
93 
94  // Garbage collection support.
96 private:
97  vtkInformationVector(const vtkInformationVector&); // Not implemented.
98  void operator=(const vtkInformationVector&); // Not implemented.
99 };
100 
101 #endif
vtkInformationVector::SetNumberOfInformationObjects
void SetNumberOfInformationObjects(int n)
vtkInformationVector::SetInformationObject
void SetInformationObject(int index, vtkInformation *info)
VTKCOMMONCORE_EXPORT
#define VTKCOMMONCORE_EXPORT
Definition: vtkCommonCoreModule.h:15
vtkInformationVector::New
static vtkInformationVector * New()
vtkInformationVector::vtkInformationVector
vtkInformationVector()
vtkInformationVector::Copy
void Copy(vtkInformationVector *from, int deep=0)
vtkInformationVector::Internal
vtkInformationVectorInternals * Internal
Definition: vtkInformationVector.h:90
vtkInformationVector
Store zero or more vtkInformation instances.
Definition: vtkInformationVector.h:41
vtkTypeMacro
#define vtkTypeMacro(thisClass, superclass)
Definition: vtkSetGet.h:642
vtkgl::n
GLclampd n
Definition: vtkgl.h:14370
vtkObject
abstract base class for most VTK objects
Definition: vtkObject.h:62
vtkInformationVector::~vtkInformationVector
~vtkInformationVector()
vtkCommonCoreModule.h
vtkObjectBase
abstract base class for most VTK objects
Definition: vtkObjectBase.h:60
vtkInformationVector::NumberOfInformationObjects
int NumberOfInformationObjects
Definition: vtkInformationVector.h:92
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:39
vtkInformationVector::Remove
void Remove(vtkInformation *info)
vtkGarbageCollector
Detect and break reference loops.
Definition: vtkGarbageCollector.h:99
vtkObject.h
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:86
vtkX3D::info
@ info
Definition: vtkX3D.h:376
vtkInformationVector::GetInformationObject
vtkInformation * GetInformationObject(int index)
vtkgl::index
GLuint index
Definition: vtkgl.h:11983
vtkInformationVector::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent)
vtkInformationVector::Append
void Append(vtkInformation *info)
vtkInformationVector::ReportReferences
virtual void ReportReferences(vtkGarbageCollector *)
vtkInformationVector::GetNumberOfInformationObjects
int GetNumberOfInformationObjects()
Definition: vtkInformationVector.h:52
vtkInformationVector::Remove
void Remove(int idx)
vtkInformationVector::Register
virtual void Register(vtkObjectBase *o)
vtkInformationVector::UnRegister
virtual void UnRegister(vtkObjectBase *o)