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 "vtkCommonCoreModule.h" // For export macro
26 #include "vtkInformationKey.h"
27 
28 #include "vtkCommonInformationKeyManager.h" // Manage instances of this type.
29 
30 class vtkDataObject;
31 
33 {
34 public:
36  void PrintSelf(ostream& os, vtkIndent indent);
37 
38  vtkInformationDataObjectKey(const char* name, const char* location);
40 
42 
45  static vtkInformationDataObjectKey* MakeKey(const char* name, const char* location)
46  {
47  return new vtkInformationDataObjectKey(name, location);
48  }
50 
51  //BTX
53 
55  void Set(vtkInformation* info, vtkDataObject*);
57  //ETX
59 
63  virtual void ShallowCopy(vtkInformation* from, vtkInformation* to);
64 
66  virtual void Report(vtkInformation* info, vtkGarbageCollector* collector);
67 
68 private:
69  vtkInformationDataObjectKey(const vtkInformationDataObjectKey&); // Not implemented.
70  void operator=(const vtkInformationDataObjectKey&); // Not implemented.
71 };
72 
73 #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.
#define VTKCOMMONCORE_EXPORT
static vtkInformationDataObjectKey * MakeKey(const char *name, const char *location)
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:38
general representation of visualization data
Definition: vtkDataObject.h:64