VTK
vtkInformationDataObjectKey.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkInformationDataObjectKey.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 #ifndef __vtkInformationDataObjectKey_h
23 #define __vtkInformationDataObjectKey_h
24 
25 #include "vtkInformationKey.h"
26 
27 #include "vtkCommonInformationKeyManager.h" // Manage instances of this type.
28 
29 class vtkDataObject;
30 
32 {
33 public:
35  void PrintSelf(ostream& os, vtkIndent indent);
36 
37  vtkInformationDataObjectKey(const char* name, const char* location);
39 
40  //BTX
42 
44  void Set(vtkInformation* info, vtkDataObject*);
45  vtkDataObject* Get(vtkInformation* info);
46  //ETX
48 
52  virtual void ShallowCopy(vtkInformation* from, vtkInformation* to);
53 
55  virtual void Report(vtkInformation* info, vtkGarbageCollector* collector);
56 
57 private:
58  vtkInformationDataObjectKey(const vtkInformationDataObjectKey&); // Not implemented.
59  void operator=(const vtkInformationDataObjectKey&); // Not implemented.
60 };
61 
62 #endif
virtual void Report(vtkInformation *info, vtkGarbageCollector *collector)
virtual void ShallowCopy(vtkInformation *from, vtkInformation *to)=0
Store vtkAlgorithm input/output information.
Key for vtkDataObject values.
void PrintSelf(ostream &os, vtkIndent indent)
Detect and break reference loops.
Superclass for vtkInformation keys.
a simple class to control print indentation
Definition: vtkIndent.h:37
#define VTK_COMMON_EXPORT
helper class to get VTK data object types as string and instantiate them