VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
Common
vtkInformationObjectBaseKey.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkInformationObjectBaseKey.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 __vtkInformationObjectBaseKey_h
23
#define __vtkInformationObjectBaseKey_h
24
25
#include "
vtkInformationKey.h
"
26
27
#include "
vtkCommonInformationKeyManager.h
"
// Manage instances of this type.
28
29
class
vtkObjectBase
;
30
31
class
VTK_COMMON_EXPORT
vtkInformationObjectBaseKey
:
public
vtkInformationKey
32
{
33
public
:
34
vtkTypeMacro(
vtkInformationObjectBaseKey
,
vtkInformationKey
);
35
void
PrintSelf
(ostream& os,
vtkIndent
indent);
36
37
vtkInformationObjectBaseKey
(
const
char
* name,
const
char
* location,
38
const
char
* requiredClass=0);
39
~
vtkInformationObjectBaseKey
();
40
42
44
void
Set(
vtkInformation
* info,
vtkObjectBase
*);
45
vtkObjectBase
* Get(
vtkInformation
* info);
47
51
virtual
void
ShallowCopy
(
vtkInformation
* from,
vtkInformation
* to);
52
54
virtual
void
Report
(
vtkInformation
* info,
vtkGarbageCollector
* collector);
55
56
protected
:
57
// The type required of all objects stored with this key.
58
const
char
*
RequiredClass
;
59
private
:
60
vtkInformationObjectBaseKey
(
const
vtkInformationObjectBaseKey
&);
// Not implemented.
61
void
operator=(
const
vtkInformationObjectBaseKey
&);
// Not implemented.
62
};
63
64
#endif
vtkInformationKey::Report
virtual void Report(vtkInformation *info, vtkGarbageCollector *collector)
vtkInformationKey::ShallowCopy
virtual void ShallowCopy(vtkInformation *from, vtkInformation *to)=0
vtkInformation
Store vtkAlgorithm input/output information.
Definition:
vtkInformation.h:81
vtkInformationKey::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent)
vtkInformationObjectBaseKey::RequiredClass
const char * RequiredClass
Definition:
vtkInformationObjectBaseKey.h:58
vtkGarbageCollector
Detect and break reference loops.
Definition:
vtkGarbageCollector.h:97
vtkInformationKey
Superclass for vtkInformation keys.
Definition:
vtkInformationKey.h:36
vtkIndent
a simple class to control print indentation
Definition:
vtkIndent.h:37
vtkInformationObjectBaseKey
Key for vtkObjectBase values.
Definition:
vtkInformationObjectBaseKey.h:31
VTK_COMMON_EXPORT
#define VTK_COMMON_EXPORT
Definition:
vtkWin32Header.h:269
vtkObjectBase
abstract base class for most VTK objects
Definition:
vtkObjectBase.h:59
vtkCommonInformationKeyManager.h
vtkInformationKey.h
Generated on Thu Oct 24 2019 21:14:24 for VTK by
1.8.6