VTK  9.3.1
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  {
51  return new vtkInformationIntegerRequestKey(name, location);
52  }
53 
59  bool NeedToExecute(vtkInformation* pipelineInfo, vtkInformation* dobjInfo) override;
60 
65  void StoreMetaData(
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
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
Store vtkAlgorithm input/output information.
virtual bool NeedToExecute(vtkInformation *vtkNotUsed(pipelineInfo), vtkInformation *vtkNotUsed(dobjInfo))
This function is only relevant when the pertaining key is used in a VTK pipeline. ...
a simple class to control print indentation
Definition: vtkIndent.h:28
Key for integer values in vtkInformation.
virtual void StoreMetaData(vtkInformation *vtkNotUsed(request), vtkInformation *vtkNotUsed(pipelineInfo), vtkInformation *vtkNotUsed(dobjInfo))
This function is only relevant when the pertaining key is used in a VTK pipeline. ...
#define VTK_NEWINSTANCE
key that can used to request integer values from the pipeline vtkInformationIntegerRequestKey is a vt...
virtual void CopyDefaultInformation(vtkInformation *vtkNotUsed(request), vtkInformation *vtkNotUsed(fromInfo), vtkInformation *vtkNotUsed(toInfo))
This function is only relevant when the pertaining key is used in a VTK pipeline. ...
static vtkInformationIntegerRequestKey * MakeKey(const char *name, const char *location)
This method simply returns a new vtkInformationIntegerRequestKey, given a name and a location...