VTK  9.1.20211115
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 
31 class VTKCOMMONEXECUTIONMODEL_EXPORT vtkInformationDataObjectMetaDataKey
33 {
34 public:
36  void PrintSelf(ostream& os, vtkIndent indent) override;
37 
40 
46  static vtkInformationDataObjectMetaDataKey* MakeKey(const char* name, const char* location)
47  {
49  }
50 
57  vtkInformation* request, vtkInformation* fromInfo, vtkInformation* toInfo) override;
58 
59 private:
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...
static vtkInformationDataObjectMetaDataKey * MakeKey(const char *name, const char *location)
This method simply returns a new vtkInformationDataObjectMetaDataKey, given a name and a 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.
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.
@ location
Definition: vtkX3D.h:412
@ name
Definition: vtkX3D.h:225