VTK  9.2.6
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=========================================================================*/
22
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
47 const char* name, const char* location)
48 {
49 return new vtkInformationDataObjectMetaDataKey(name, location);
50 }
51
58 vtkInformation* request, vtkInformation* fromInfo, vtkInformation* toInfo) override;
59
60private:
62 void operator=(const vtkInformationDataObjectMetaDataKey&) = delete;
63};
64
65#endif
a simple class to control print indentation
Definition vtkIndent.h:34
vtkInformationDataObjectKey(const char *name, const char *location)
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