VTK  9.3.1
vtkInformationDataObjectMetaDataKey.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
14 #ifndef vtkInformationDataObjectMetaDataKey_h
15 #define vtkInformationDataObjectMetaDataKey_h
16 
17 #include "vtkCommonExecutionModelModule.h" // For export macro
19 
20 #include "vtkCommonInformationKeyManager.h" // Manage instances of this type.
21 
22 VTK_ABI_NAMESPACE_BEGIN
23 class VTKCOMMONEXECUTIONMODEL_EXPORT vtkInformationDataObjectMetaDataKey
25 {
26 public:
28  void PrintSelf(ostream& os, vtkIndent indent) override;
29 
30  vtkInformationDataObjectMetaDataKey(const char* name, const char* location);
32 
39  const char* name, const char* location)
40  {
41  return new vtkInformationDataObjectMetaDataKey(name, location);
42  }
43 
50  vtkInformation* request, vtkInformation* fromInfo, vtkInformation* toInfo) override;
51 
52 private:
54  void operator=(const vtkInformationDataObjectMetaDataKey&) = delete;
55 };
56 
57 VTK_ABI_NAMESPACE_END
58 #endif
Store vtkAlgorithm input/output information.
Key for vtkDataObject values.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
a simple class to control print indentation
Definition: vtkIndent.h:28
key used to define meta-data of type vtkDataObject vtkInformationDataObjectMetaDataKey is a vtkInform...
#define VTK_NEWINSTANCE
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 vtkInformationDataObjectMetaDataKey * MakeKey(const char *name, const char *location)
This method simply returns a new vtkInformationDataObjectMetaDataKey, given a name and a location...