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 "vtkObject.h"
30 
31 class vtkInformation;
32 class vtkInformationKey;
33 class vtkInformationIteratorInternals;
34 
36 {
37 public:
38  static vtkInformationIterator *New();
40  void PrintSelf(ostream& os, vtkIndent indent);
41 
43 
44  void SetInformation(vtkInformation*);
45  vtkGetObjectMacro(Information, vtkInformation);
47 
51  void SetInformationWeak(vtkInformation*);
52 
54  void InitTraversal() { this->GoToFirstItem(); }
55 
57  virtual void GoToFirstItem();
58 
60  virtual void GoToNextItem();
61 
64  virtual int IsDoneWithTraversal();
65 
68  virtual vtkInformationKey* GetCurrentKey();
69 
70 protected:
73 
75  vtkInformationIteratorInternals* Internal;
76 
78 
79 private:
80  vtkInformationIterator(const vtkInformationIterator&); // Not implemented.
81  void operator=(const vtkInformationIterator&); // Not implemented.
82 };
83 
84 #endif
abstract base class for most VTK objects
Definition: vtkObject.h:60
Store vtkAlgorithm input/output information.
vtkInformationIteratorInternals * Internal
Superclass for vtkInformation keys.
virtual void PrintSelf(ostream &os, vtkIndent indent)
a simple class to control print indentation
Definition: vtkIndent.h:37
Iterates over keys of an information object.
#define VTK_COMMON_EXPORT
static vtkObject * New()