VTK  9.1.0
vtkInformationIntegerRequestKey.h
Go to the documentation of this file.
1/*=========================================================================
2
3 Program: Visualization Toolkit
4 Module: vtkInformationIntegerRequestKey.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=========================================================================*/
33#ifndef vtkInformationIntegerRequestKey_h
34#define vtkInformationIntegerRequestKey_h
35
36#include "vtkCommonExecutionModelModule.h" // For export macro
38
39#include "vtkCommonInformationKeyManager.h" // Manage instances of this type.
40
41class VTKCOMMONEXECUTIONMODEL_EXPORT vtkInformationIntegerRequestKey
43{
44public:
46 void PrintSelf(ostream& os, vtkIndent indent) override;
47
48 vtkInformationIntegerRequestKey(const char* name, const char* location);
50
56 static vtkInformationIntegerRequestKey* MakeKey(const char* name, const char* location)
57 {
58 return new vtkInformationIntegerRequestKey(name, location);
59 }
60
66 bool NeedToExecute(vtkInformation* pipelineInfo, vtkInformation* dobjInfo) override;
67
73 vtkInformation* request, vtkInformation* pipelineInfo, vtkInformation* dobjInfo) override;
74
80 vtkInformation* request, vtkInformation* fromInfo, vtkInformation* toInfo) override;
81
82protected:
84
85private:
87 void operator=(const vtkInformationIntegerRequestKey&) = delete;
88};
89
90#endif
a simple class to control print indentation
Definition: vtkIndent.h:113
Key for integer values in vtkInformation.
key that can used to request integer values from the pipeline vtkInformationIntegerRequestKey is a vt...
void CopyDefaultInformation(vtkInformation *request, vtkInformation *fromInfo, vtkInformation *toInfo) override
Copies the value stored in fromInfo using this key into toInfo if request has the REQUEST_UPDATE_EXTE...
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
bool NeedToExecute(vtkInformation *pipelineInfo, vtkInformation *dobjInfo) override
Returns true if a value of type DataKey does not exist in dobjInfo or if it is different that the val...
void StoreMetaData(vtkInformation *request, vtkInformation *pipelineInfo, vtkInformation *dobjInfo) override
Copies the value stored in pipelineInfo using this key into dobjInfo.
static vtkInformationIntegerRequestKey * MakeKey(const char *name, const char *location)
This method simply returns a new vtkInformationIntegerRequestKey, given a name and a location.
vtkInformationIntegerRequestKey(const char *name, const char *location)
Store vtkAlgorithm input/output information.