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=========================================================================*/
25
26#ifndef vtkInformationDataObjectMetaDataKey_h
27#define vtkInformationDataObjectMetaDataKey_h
28
29#include "vtkCommonExecutionModelModule.h" // For export macro
31
32#include "vtkCommonInformationKeyManager.h" // Manage instances of this type.
33
34class VTKCOMMONEXECUTIONMODEL_EXPORT vtkInformationDataObjectMetaDataKey
36{
37public:
39 void PrintSelf(ostream& os, vtkIndent indent) override;
40
41 vtkInformationDataObjectMetaDataKey(const char* name, const char* location);
43
50 const char* name, const char* location)
51 {
52 return new vtkInformationDataObjectMetaDataKey(name, location);
53 }
54
61 vtkInformation* request, vtkInformation* fromInfo, vtkInformation* toInfo) override;
62
63private:
65 void operator=(const vtkInformationDataObjectMetaDataKey&) = delete;
66};
67
68#endif
a simple class to control print indentation
Definition vtkIndent.h:40
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