VTK
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 
41 class VTKCOMMONEXECUTIONMODEL_EXPORT vtkInformationIntegerRequestKey : public vtkInformationIntegerKey
42 {
43 public:
45  void PrintSelf(ostream& os, vtkIndent indent) override;
46 
47  vtkInformationIntegerRequestKey(const char* name, const char* location);
49 
55  static vtkInformationIntegerRequestKey* MakeKey(const char* name, const char* location)
56  {
58  }
59 
65  bool NeedToExecute(vtkInformation* pipelineInfo,
66  vtkInformation* dobjInfo) override;
67 
72  void StoreMetaData(vtkInformation* request,
73  vtkInformation* pipelineInfo,
74  vtkInformation* dobjInfo) override;
75 
81  vtkInformation* fromInfo,
82  vtkInformation* toInfo) override;
83 
84 protected:
86 
87 private:
89  void operator=(const vtkInformationIntegerRequestKey&) = delete;
90 
91 };
92 
93 #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:33
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.
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.