VTK
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
home
boeckb
code
depot
group-kitware
vtk
build-release
Utilities
Doxygen
dox
Common
Core
vtkInformationVariantKey.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkInformationVariantKey.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
=========================================================================*/
25
#ifndef vtkInformationVariantKey_h
26
#define vtkInformationVariantKey_h
27
28
#include "
vtkCommonCoreModule.h
"
// For export macro
29
#include "
vtkInformationKey.h
"
30
31
#include "
vtkCommonInformationKeyManager.h
"
// Manage instances of this type.
32
33
class
vtkVariant
;
34
35
class
VTKCOMMONCORE_EXPORT
vtkInformationVariantKey
:
public
vtkInformationKey
36
{
37
public
:
38
vtkTypeMacro(
vtkInformationVariantKey
,
vtkInformationKey
);
39
void
PrintSelf
(ostream& os,
vtkIndent
indent);
40
41
vtkInformationVariantKey
(
const
char
*
name
,
const
char
*
location
);
42
~
vtkInformationVariantKey
();
43
45
48
static
vtkInformationVariantKey
*
MakeKey
(
const
char
*
name
,
const
char
*
location
)
49
{
50
return
new
vtkInformationVariantKey
(name, location);
51
}
53
55
57
void
Set(
vtkInformation
*
info
,
const
vtkVariant
&);
58
const
vtkVariant
& Get(
vtkInformation
*
info
);
60
64
virtual
void
ShallowCopy
(
vtkInformation
* from,
vtkInformation
* to);
65
67
virtual
void
Print
(ostream& os,
vtkInformation
*
info
);
68
69
protected
:
73
vtkVariant
* GetWatchAddress(
vtkInformation
*
info
);
74
75
private
:
76
vtkInformationVariantKey
(
const
vtkInformationVariantKey
&);
// Not implemented.
77
void
operator=(
const
vtkInformationVariantKey
&);
// Not implemented.
78
};
79
80
#endif
vtkInformationVariantKey::MakeKey
static vtkInformationVariantKey * MakeKey(const char *name, const char *location)
Definition:
vtkInformationVariantKey.h:48
vtkX3D::location
Definition:
vtkX3D.h:406
vtkInformationKey::ShallowCopy
virtual void ShallowCopy(vtkInformation *from, vtkInformation *to)=0
vtkCommonCoreModule.h
vtkInformation
Store vtkAlgorithm input/output information.
Definition:
vtkInformation.h:85
VTKCOMMONCORE_EXPORT
#define VTKCOMMONCORE_EXPORT
Definition:
vtkCommonCoreModule.h:15
vtkX3D::info
Definition:
vtkX3D.h:376
vtkInformationKey::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent)
vtkVariant
A atomic type representing the union of many types.
Definition:
vtkVariant.h:78
vtkInformationKey::Print
void Print(vtkInformation *info)
vtkX3D::name
Definition:
vtkX3D.h:219
vtkInformationKey
Superclass for vtkInformation keys.
Definition:
vtkInformationKey.h:37
vtkIndent
a simple class to control print indentation
Definition:
vtkIndent.h:38
vtkInformationVariantKey
Key for variant values in vtkInformation.
Definition:
vtkInformationVariantKey.h:35
vtkCommonInformationKeyManager.h
vtkInformationKey.h
Generated by
1.8.9.1