VTK  9.2.6
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 =========================================================================*/
36 #ifndef vtkInformationIntegerRequestKey_h
37 #define vtkInformationIntegerRequestKey_h
38 
39 #include "vtkCommonExecutionModelModule.h" // For export macro
41 
42 #include "vtkCommonInformationKeyManager.h" // Manage instances of this type.
43 
44 class VTKCOMMONEXECUTIONMODEL_EXPORT vtkInformationIntegerRequestKey
46 {
47 public:
49  void PrintSelf(ostream& os, vtkIndent indent) override;
50 
51  vtkInformationIntegerRequestKey(const char* name, const char* location);
53 
60  const char* name, const char* location)
61  {
62  return new vtkInformationIntegerRequestKey(name, location);
63  }
64 
70  bool NeedToExecute(vtkInformation* pipelineInfo, vtkInformation* dobjInfo) override;
71 
76  void StoreMetaData(
77  vtkInformation* request, vtkInformation* pipelineInfo, vtkInformation* dobjInfo) override;
78 
84  vtkInformation* request, vtkInformation* fromInfo, vtkInformation* toInfo) override;
85 
86 protected:
88 
89 private:
91  void operator=(const vtkInformationIntegerRequestKey&) = delete;
92 };
93 
94 #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:39
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...