VTK  9.4.20241010
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
22VTK_ABI_NAMESPACE_BEGIN
23class VTKCOMMONEXECUTIONMODEL_EXPORT vtkInformationDataObjectMetaDataKey
25{
26public:
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
52private:
54 void operator=(const vtkInformationDataObjectMetaDataKey&) = delete;
55};
56
57VTK_ABI_NAMESPACE_END
58#endif
a simple class to control print indentation
Definition vtkIndent.h:108
Key for vtkDataObject values.
key used to define meta-data of type vtkDataObject vtkInformationDataObjectMetaDataKey is a vtkInform...
vtkInformationDataObjectMetaDataKey(const char *name, const char *location)
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
static vtkInformationDataObjectMetaDataKey * MakeKey(const char *name, const char *location)
This method simply returns a new vtkInformationDataObjectMetaDataKey, given a name and a location.
void CopyDefaultInformation(vtkInformation *request, vtkInformation *fromInfo, vtkInformation *toInfo) override
Simply shallow copies the key from fromInfo to toInfo if request has the REQUEST_INFORMATION() key.
Store vtkAlgorithm input/output information.
#define VTK_NEWINSTANCE