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:
42  static vtkInformationIterator *New();
44  void PrintSelf(ostream& os, vtkIndent indent);
45 
47 
48  void SetInformation(vtkInformation*);
49  vtkGetObjectMacro(Information, vtkInformation);
51 
55  void SetInformationWeak(vtkInformation*);
56 
58  void InitTraversal() { this->GoToFirstItem(); }
59 
61  virtual void GoToFirstItem();
62 
64  virtual void GoToNextItem();
65 
68  virtual int IsDoneWithTraversal();
69 
72  virtual vtkInformationKey* GetCurrentKey();
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
abstract base class for most VTK objects
Definition: vtkObject.h:61
Store vtkAlgorithm input/output information.
#define VTKCOMMONCORE_EXPORT
vtkInformationIteratorInternals * Internal
Superclass for vtkInformation keys.
virtual void PrintSelf(ostream &os, vtkIndent indent)
a simple class to control print indentation
Definition: vtkIndent.h:38
Iterates over keys of an information object.
static vtkObject * New()