VTK
9.1.0
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
Common
Core
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
=========================================================================*/
27
#ifndef vtkInformationIterator_h
28
#define vtkInformationIterator_h
29
30
#include "vtkCommonCoreModule.h"
// For export macro
31
#include "
vtkObject.h
"
32
33
class
vtkInformation
;
34
class
vtkInformationKey
;
35
class
vtkInformationIteratorInternals;
36
37
class
VTKCOMMONCORE_EXPORT
vtkInformationIterator
:
public
vtkObject
38
{
39
public
:
40
static
vtkInformationIterator
*
New
();
41
vtkTypeMacro(
vtkInformationIterator
,
vtkObject
);
42
void
PrintSelf
(ostream& os,
vtkIndent
indent)
override
;
43
45
48
void
SetInformation
(
vtkInformation
*);
49
vtkGetObjectMacro(Information,
vtkInformation
);
51
58
void
SetInformationWeak
(
vtkInformation
*);
59
63
void
InitTraversal
() { this->GoToFirstItem(); }
64
68
virtual
void
GoToFirstItem
();
69
73
virtual
void
GoToNextItem
();
74
79
virtual
int
IsDoneWithTraversal
();
80
85
virtual
vtkInformationKey
*
GetCurrentKey
();
86
87
protected
:
88
vtkInformationIterator
();
89
~vtkInformationIterator
()
override
;
90
91
vtkInformation
*
Information
;
92
vtkInformationIteratorInternals*
Internal
;
93
94
bool
ReferenceIsWeak
;
95
96
private
:
97
vtkInformationIterator
(
const
vtkInformationIterator
&) =
delete
;
98
void
operator=(
const
vtkInformationIterator
&) =
delete
;
99
};
100
101
#endif
vtkIndent
a simple class to control print indentation
Definition:
vtkIndent.h:113
vtkInformationIterator
Iterates over keys of an information object.
Definition:
vtkInformationIterator.h:38
vtkInformationIterator::SetInformationWeak
void SetInformationWeak(vtkInformation *)
Set the function to iterate over.
vtkInformationIterator::GoToFirstItem
virtual void GoToFirstItem()
Move the iterator to the beginning of the collection.
vtkInformationIterator::Information
vtkInformation * Information
Definition:
vtkInformationIterator.h:91
vtkInformationIterator::GoToNextItem
virtual void GoToNextItem()
Move the iterator to the next item in the collection.
vtkInformationIterator::SetInformation
void SetInformation(vtkInformation *)
Set/Get the information to iterator over.
vtkInformationIterator::New
static vtkInformationIterator * New()
vtkInformationIterator::IsDoneWithTraversal
virtual int IsDoneWithTraversal()
Test whether the iterator is currently pointing to a valid item.
vtkInformationIterator::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkInformationIterator::vtkInformationIterator
vtkInformationIterator()
vtkInformationIterator::~vtkInformationIterator
~vtkInformationIterator() override
vtkInformationIterator::GetCurrentKey
virtual vtkInformationKey * GetCurrentKey()
Get the current item.
vtkInformationIterator::ReferenceIsWeak
bool ReferenceIsWeak
Definition:
vtkInformationIterator.h:94
vtkInformationIterator::Internal
vtkInformationIteratorInternals * Internal
Definition:
vtkInformationIterator.h:92
vtkInformationIterator::InitTraversal
void InitTraversal()
Move the iterator to the beginning of the collection.
Definition:
vtkInformationIterator.h:63
vtkInformationKey
Superclass for vtkInformation keys.
Definition:
vtkInformationKey.h:39
vtkInformation
Store vtkAlgorithm input/output information.
Definition:
vtkInformation.h:183
vtkObject
abstract base class for most VTK objects
Definition:
vtkObject.h:82
vtkObject.h
Generated on Fri Apr 21 2023 10:28:28 for VTK by
1.9.6