VTK
9.4.20250102
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
Common
Core
vtkInformationInformationKey.h
Go to the documentation of this file.
1
// SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2
// SPDX-License-Identifier: BSD-3-Clause
11
#ifndef vtkInformationInformationKey_h
12
#define vtkInformationInformationKey_h
13
14
#include "vtkCommonCoreModule.h"
// For export macro
15
#include "
vtkInformationKey.h
"
16
17
#include "
vtkCommonInformationKeyManager.h
"
// Manage instances of this type.
18
19
VTK_ABI_NAMESPACE_BEGIN
20
class
VTKCOMMONCORE_EXPORT
vtkInformationInformationKey
:
public
vtkInformationKey
21
{
22
public
:
23
vtkTypeMacro(
vtkInformationInformationKey
,
vtkInformationKey
);
24
void
PrintSelf
(ostream& os,
vtkIndent
indent)
override
;
25
26
vtkInformationInformationKey
(
const
char
* name,
const
char
* location);
27
~vtkInformationInformationKey
()
override
;
28
34
static
VTK_NEWINSTANCE
vtkInformationInformationKey
*
MakeKey
(
35
const
char
* name,
const
char
* location)
36
{
37
return
new
vtkInformationInformationKey
(name, location);
38
}
39
41
45
void
Set
(
vtkInformation
* info,
vtkInformation
*);
46
vtkInformation
*
Get
(
vtkInformation
* info);
48
54
void
ShallowCopy
(
vtkInformation
* from,
vtkInformation
* to)
override
;
55
61
void
DeepCopy
(
vtkInformation
* from,
vtkInformation
* to)
override
;
62
63
private
:
64
vtkInformationInformationKey
(
const
vtkInformationInformationKey
&) =
delete
;
65
void
operator=(
const
vtkInformationInformationKey
&) =
delete
;
66
};
67
68
VTK_ABI_NAMESPACE_END
69
#endif
vtkIndent
a simple class to control print indentation
Definition
vtkIndent.h:108
vtkInformationInformationKey
Key for vtkInformation values.
Definition
vtkInformationInformationKey.h:21
vtkInformationInformationKey::ShallowCopy
void ShallowCopy(vtkInformation *from, vtkInformation *to) override
Copy the entry associated with this key from one information object to another.
vtkInformationInformationKey::MakeKey
static vtkInformationInformationKey * MakeKey(const char *name, const char *location)
This method simply returns a new vtkInformationInformationKey, given a name and a location.
Definition
vtkInformationInformationKey.h:34
vtkInformationInformationKey::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkInformationInformationKey::Set
void Set(vtkInformation *info, vtkInformation *)
Get/Set the value associated with this key in the given information object.
vtkInformationInformationKey::Get
vtkInformation * Get(vtkInformation *info)
Get/Set the value associated with this key in the given information object.
vtkInformationInformationKey::DeepCopy
void DeepCopy(vtkInformation *from, vtkInformation *to) override
Duplicate (new instance created) the entry associated with this key from one information object to an...
vtkInformationInformationKey::~vtkInformationInformationKey
~vtkInformationInformationKey() override
vtkInformationInformationKey::vtkInformationInformationKey
vtkInformationInformationKey(const char *name, const char *location)
vtkInformationKey
Superclass for vtkInformation keys.
Definition
vtkInformationKey.h:31
vtkInformation
Store vtkAlgorithm input/output information.
Definition
vtkInformation.h:172
vtkCommonInformationKeyManager.h
vtkInformationKey.h
VTK_NEWINSTANCE
#define VTK_NEWINSTANCE
Definition
vtkWrappingHints.h:44
Generated on Thu Jan 2 2025 09:02:48 for VTK by
1.9.7