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*);
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