VTK  9.3.0
vtkInformationIntegerRequestKey.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2 // SPDX-License-Identifier: BSD-3-Clause
24 #ifndef vtkInformationIntegerRequestKey_h
25 #define vtkInformationIntegerRequestKey_h
26 
27 #include "vtkCommonExecutionModelModule.h" // For export macro
29 
30 #include "vtkCommonInformationKeyManager.h" // Manage instances of this type.
31 
32 VTK_ABI_NAMESPACE_BEGIN
33 class VTKCOMMONEXECUTIONMODEL_EXPORT vtkInformationIntegerRequestKey
35 {
36 public:
38  void PrintSelf(ostream& os, vtkIndent indent) override;
39 
40  vtkInformationIntegerRequestKey(const char* name, const char* location);
42 
49  const char* name, const char* location)
50  {
52  }
53 
59  bool NeedToExecute(vtkInformation* pipelineInfo, vtkInformation* dobjInfo) override;
60 
66  vtkInformation* request, vtkInformation* pipelineInfo, vtkInformation* dobjInfo) override;
67 
73  vtkInformation* request, vtkInformation* fromInfo, vtkInformation* toInfo) override;
74 
75 protected:
77 
78 private:
80  void operator=(const vtkInformationIntegerRequestKey&) = delete;
81 };
82 
83 VTK_ABI_NAMESPACE_END
84 #endif
a simple class to control print indentation
Definition: vtkIndent.h:29
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.
@ location
Definition: vtkX3D.h:406
@ name
Definition: vtkX3D.h:219
#define VTK_NEWINSTANCE