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 =========================================================================*/
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 : public vtkInformationIntegerKey
45 {
46 public:
48  void PrintSelf(ostream& os, vtkIndent indent) override;
49 
50  vtkInformationIntegerRequestKey(const char* name, const char* location);
52 
58  static vtkInformationIntegerRequestKey* MakeKey(const char* name, const char* location)
59  {
60  return new vtkInformationIntegerRequestKey(name, location);
61  }
62 
68  bool NeedToExecute(vtkInformation* pipelineInfo,
69  vtkInformation* dobjInfo) override;
70 
75  void StoreMetaData(vtkInformation* request,
76  vtkInformation* pipelineInfo,
77  vtkInformation* dobjInfo) override;
78 
84  vtkInformation* fromInfo,
85  vtkInformation* toInfo) override;
86 
87 protected:
89 
90 private:
92  void operator=(const vtkInformationIntegerRequestKey&) = delete;
93 
94 };
95 
96 #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. ...
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...