VTK
9.2.6
Main Page
Related Pages
Topics
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
=========================================================================*/
30
#ifndef vtkInformationIterator_h
31
#define vtkInformationIterator_h
32
33
#include "vtkCommonCoreModule.h"
// For export macro
34
#include "
vtkObject.h
"
35
36
class
vtkInformation
;
37
class
vtkInformationKey
;
38
class
vtkInformationIteratorInternals;
39
40
class
VTKCOMMONCORE_EXPORT
vtkInformationIterator
:
public
vtkObject
41
{
42
public
:
43
static
vtkInformationIterator
*
New
();
44
vtkTypeMacro(
vtkInformationIterator
,
vtkObject
);
45
void
PrintSelf
(ostream& os,
vtkIndent
indent)
override
;
46
48
51
void
SetInformation
(
vtkInformation
*);
52
vtkGetObjectMacro(Information,
vtkInformation
);
54
61
void
SetInformationWeak
(
vtkInformation
*);
62
66
void
InitTraversal
() { this->GoToFirstItem(); }
67
71
virtual
void
GoToFirstItem
();
72
76
virtual
void
GoToNextItem
();
77
82
virtual
int
IsDoneWithTraversal
();
83
88
virtual
vtkInformationKey
*
GetCurrentKey
();
89
90
protected
:
91
vtkInformationIterator
();
92
~vtkInformationIterator
()
override
;
93
94
vtkInformation
*
Information
;
95
vtkInformationIteratorInternals*
Internal
;
96
97
bool
ReferenceIsWeak
;
98
99
private
:
100
vtkInformationIterator
(
const
vtkInformationIterator
&) =
delete
;
101
void
operator=(
const
vtkInformationIterator
&) =
delete
;
102
};
103
104
#endif
vtkIndent
a simple class to control print indentation
Definition
vtkIndent.h:40
vtkInformationIterator
Iterates over keys of an information object.
Definition
vtkInformationIterator.h:41
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:94
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:97
vtkInformationIterator::Internal
vtkInformationIteratorInternals * Internal
Definition
vtkInformationIterator.h:95
vtkInformationIterator::InitTraversal
void InitTraversal()
Move the iterator to the beginning of the collection.
Definition
vtkInformationIterator.h:66
vtkInformationKey
Superclass for vtkInformation keys.
Definition
vtkInformationKey.h:42
vtkInformation
Store vtkAlgorithm input/output information.
Definition
vtkInformation.h:74
vtkObject
abstract base class for most VTK objects
Definition
vtkObject.h:63
vtkObject.h
Generated on Mon May 13 2024 00:00:00 for VTK by
1.10.0