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 =========================================================================*/
26 #ifndef __vtkInformationIterator_h
27 #define __vtkInformationIterator_h
28 
29 #include "vtkCommonCoreModule.h" // For export macro
30 #include "vtkObject.h"
31 
32 class vtkInformation;
33 class vtkInformationKey;
34 class vtkInformationIteratorInternals;
35 
37 {
38 public:
39  static vtkInformationIterator *New();
41  void PrintSelf(ostream& os, vtkIndent indent);
42 
44 
45  void SetInformation(vtkInformation*);
46  vtkGetObjectMacro(Information, vtkInformation);
48 
52  void SetInformationWeak(vtkInformation*);
53 
55  void InitTraversal() { this->GoToFirstItem(); }
56 
58  virtual void GoToFirstItem();
59 
61  virtual void GoToNextItem();
62 
65  virtual int IsDoneWithTraversal();
66 
69  virtual vtkInformationKey* GetCurrentKey();
70 
71 protected:
74 
76  vtkInformationIteratorInternals* Internal;
77 
79 
80 private:
81  vtkInformationIterator(const vtkInformationIterator&); // Not implemented.
82  void operator=(const vtkInformationIterator&); // Not implemented.
83 };
84 
85 #endif
abstract base class for most VTK objects
Definition: vtkObject.h:61
Store vtkAlgorithm input/output information.
#define VTKCOMMONCORE_EXPORT
vtkInformationIteratorInternals * Internal
#define vtkTypeMacro(thisClass, superclass)
Definition: vtkSetGet.h:619
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.
#define vtkGetObjectMacro(name, type)
Definition: vtkSetGet.h:222
static vtkObject * New()