VTK: Common/ExecutionModel/vtkInformationDataObjectMetaDataKey.h Source File

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