VTK
vtkInformationIterator.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkInformationIterator.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 =========================================================================*/
29 #ifndef vtkInformationIterator_h
30 #define vtkInformationIterator_h
31 
32 #include "vtkCommonCoreModule.h" // For export macro
33 #include "vtkObject.h"
34 
35 class vtkInformation;
36 class vtkInformationKey;
37 class vtkInformationIteratorInternals;
38 
40 {
41 public:
44  void PrintSelf(ostream& os, vtkIndent indent);
45 
47 
51 
56 
58  void InitTraversal() { this->GoToFirstItem(); }
59 
61  virtual void GoToFirstItem();
62 
64  virtual void GoToNextItem();
65 
68  virtual int IsDoneWithTraversal();
69 
73 
74 protected:
77 
79  vtkInformationIteratorInternals* Internal;
80 
82 
83 private:
84  vtkInformationIterator(const vtkInformationIterator&); // Not implemented.
85  void operator=(const vtkInformationIterator&); // Not implemented.
86 };
87 
88 #endif
vtkInformationIterator
Iterates over keys of an information object.
Definition: vtkInformationIterator.h:40
vtkGetObjectMacro
#define vtkGetObjectMacro(name, type)
Definition: vtkSetGet.h:232
VTKCOMMONCORE_EXPORT
#define VTKCOMMONCORE_EXPORT
Definition: vtkCommonCoreModule.h:15
vtkInformationIterator::New
static vtkInformationIterator * New()
vtkInformationIterator::SetInformationWeak
void SetInformationWeak(vtkInformation *)
vtkTypeMacro
#define vtkTypeMacro(thisClass, superclass)
Definition: vtkSetGet.h:642
vtkObject
abstract base class for most VTK objects
Definition: vtkObject.h:62
vtkInformationIterator::SetInformation
void SetInformation(vtkInformation *)
vtkInformationIterator::~vtkInformationIterator
~vtkInformationIterator()
vtkCommonCoreModule.h
vtkInformationIterator::Internal
vtkInformationIteratorInternals * Internal
Definition: vtkInformationIterator.h:79
vtkInformationIterator::IsDoneWithTraversal
virtual int IsDoneWithTraversal()
vtkInformationIterator::GetCurrentKey
virtual vtkInformationKey * GetCurrentKey()
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:39
vtkInformationIterator::Information
vtkInformation * Information
Definition: vtkInformationIterator.h:78
vtkObject.h
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:86
vtkInformationIterator::vtkInformationIterator
vtkInformationIterator()
vtkInformationIterator::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent)
vtkInformationIterator::GoToFirstItem
virtual void GoToFirstItem()
vtkInformationIterator::ReferenceIsWeak
bool ReferenceIsWeak
Definition: vtkInformationIterator.h:81
vtkInformationIterator::GoToNextItem
virtual void GoToNextItem()
vtkInformationKey
Superclass for vtkInformation keys.
Definition: vtkInformationKey.h:38
vtkInformationIterator::InitTraversal
void InitTraversal()
Definition: vtkInformationIterator.h:58