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 =========================================================================*/
35 #ifndef vtkInformationIntegerRequestKey_h
36 #define vtkInformationIntegerRequestKey_h
37 
38 #include "vtkCommonExecutionModelModule.h" // For export macro
40 
41 #include "vtkCommonInformationKeyManager.h" // Manage instances of this type.
42 
44 {
45 public:
47  void PrintSelf(ostream& os, vtkIndent indent);
48 
49  vtkInformationIntegerRequestKey(const char* name, const char* location);
51 
53 
56  static vtkInformationIntegerRequestKey* MakeKey(const char* name, const char* location)
57  {
58  return new vtkInformationIntegerRequestKey(name, location);
59  }
61 
63 
66  virtual bool NeedToExecute(vtkInformation* pipelineInfo,
67  vtkInformation* dobjInfo);
69 
71 
72  virtual void StoreMetaData(vtkInformation* request,
73  vtkInformation* pipelineInfo,
74  vtkInformation* dobjInfo);
76 
78 
80  virtual void CopyDefaultInformation(vtkInformation* request,
81  vtkInformation* fromInfo,
82  vtkInformation* toInfo);
84 
85 protected:
87 
88 private:
90  void operator=(const vtkInformationIntegerRequestKey&); // Not implemented.
91 
92 };
93 
94 #endif
#define VTKCOMMONEXECUTIONMODEL_EXPORT
Store vtkAlgorithm input/output information.
virtual bool NeedToExecute(vtkInformation *vtkNotUsed(pipelineInfo), vtkInformation *vtkNotUsed(dobjInfo))
a simple class to control print indentation
Definition: vtkIndent.h:38
Key for integer values in vtkInformation.
void PrintSelf(ostream &os, vtkIndent indent)
virtual void StoreMetaData(vtkInformation *vtkNotUsed(request), vtkInformation *vtkNotUsed(pipelineInfo), vtkInformation *vtkNotUsed(dobjInfo))
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))
static vtkInformationIntegerRequestKey * MakeKey(const char *name, const char *location)