VTK  9.1.0
vtkInformationDataObjectMetaDataKey.h
Go to the documentation of this file.
1/*=========================================================================
2
3 Program: Visualization Toolkit
4 Module: vtkInformationDataObjectMetaDataKey.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=========================================================================*/
23#ifndef vtkInformationDataObjectMetaDataKey_h
24#define vtkInformationDataObjectMetaDataKey_h
25
26#include "vtkCommonExecutionModelModule.h" // For export macro
28
29#include "vtkCommonInformationKeyManager.h" // Manage instances of this type.
30
31class VTKCOMMONEXECUTIONMODEL_EXPORT vtkInformationDataObjectMetaDataKey
33{
34public:
36 void PrintSelf(ostream& os, vtkIndent indent) override;
37
38 vtkInformationDataObjectMetaDataKey(const char* name, const char* location);
40
46 static vtkInformationDataObjectMetaDataKey* MakeKey(const char* name, const char* location)
47 {
48 return new vtkInformationDataObjectMetaDataKey(name, location);
49 }
50
57 vtkInformation* request, vtkInformation* fromInfo, vtkInformation* toInfo) override;
58
59private:
61 void operator=(const vtkInformationDataObjectMetaDataKey&) = delete;
62};
63
64#endif
a simple class to control print indentation
Definition: vtkIndent.h:113
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.