VTK
9.6.20260703
Main Page
Related Pages
Topics
Namespaces
Classes
Files
File List
File Members
Common
Core
vtkInformationKeyLookup.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
3
12
13
#ifndef vtkInformationKeyLookup_h
14
#define vtkInformationKeyLookup_h
15
16
#include "vtkCommonCoreModule.h"
// For export macro
17
#include "
vtkObject.h
"
18
19
#include <string>
// For std::string
20
21
VTK_ABI_NAMESPACE_BEGIN
22
class
vtkInformationKey
;
23
class
vtkCommonInformationKeyManager
;
24
class
vtkFilteringInformationKeyManager
;
25
26
class
VTKCOMMONCORE_EXPORT
vtkInformationKeyLookup
:
public
vtkObject
27
{
28
public
:
29
static
vtkInformationKeyLookup
*
New
();
30
vtkTypeMacro(
vtkInformationKeyLookup
,
vtkObject
);
31
35
void
PrintSelf
(ostream& os,
vtkIndent
indent)
override
;
36
43
static
vtkInformationKey
*
Find
(
const
std::string& name,
const
std::string& location);
44
52
static
vtkInformationKey
*
FindByName
(
const
std::string& name);
53
54
protected
:
55
vtkInformationKeyLookup
();
56
~vtkInformationKeyLookup
()
override
;
57
58
friend
class
vtkInformationKey
;
59
friend
class
vtkCommonInformationKeyManager
;
60
friend
class
vtkFilteringInformationKeyManager
;
61
70
static
void
RetainCleanup
();
71
static
void
ReleaseCleanup
();
72
77
static
void
RegisterKey
(
78
vtkInformationKey
* key,
const
std::string& name,
const
std::string& location);
79
86
static
void
UnregisterKey
(
vtkInformationKey
* key);
87
88
private
:
89
vtkInformationKeyLookup
(
const
vtkInformationKeyLookup
&) =
delete
;
90
void
operator=(
const
vtkInformationKeyLookup
&) =
delete
;
91
};
92
93
VTK_ABI_NAMESPACE_END
94
#endif
// vtkInformationKeyLookup_h
vtkCommonInformationKeyManager
Manages key types in vtkCommon.
Definition
vtkCommonInformationKeyManager.h:25
vtkFilteringInformationKeyManager
Manages key types in vtkFiltering.
Definition
vtkFilteringInformationKeyManager.h:30
vtkIndent
a simple class to control print indentation
Definition
vtkIndent.h:108
vtkInformationKeyLookup::UnregisterKey
static void UnregisterKey(vtkInformationKey *key)
Remove a key from the KeyMap.
vtkInformationKeyLookup::vtkFilteringInformationKeyManager
friend class vtkFilteringInformationKeyManager
Definition
vtkInformationKeyLookup.h:60
vtkInformationKeyLookup::FindByName
static vtkInformationKey * FindByName(const std::string &name)
Find an information key by name alone.
vtkInformationKeyLookup::New
static vtkInformationKeyLookup * New()
vtkInformationKeyLookup::vtkCommonInformationKeyManager
friend class vtkCommonInformationKeyManager
Definition
vtkInformationKeyLookup.h:59
vtkInformationKeyLookup::Find
static vtkInformationKey * Find(const std::string &name, const std::string &location)
Find an information key from name and location strings.
vtkInformationKeyLookup::~vtkInformationKeyLookup
~vtkInformationKeyLookup() override
vtkInformationKeyLookup::vtkInformationKey
friend class vtkInformationKey
Definition
vtkInformationKeyLookup.h:58
vtkInformationKeyLookup::RegisterKey
static void RegisterKey(vtkInformationKey *key, const std::string &name, const std::string &location)
Add a key to the KeyMap.
vtkInformationKeyLookup::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Lists all known keys.
vtkInformationKeyLookup::vtkInformationKeyLookup
vtkInformationKeyLookup()
vtkInformationKeyLookup::RetainCleanup
static void RetainCleanup()
Reference-count the lookup table so it remains valid until every vtkInformationKey manager has finish...
vtkInformationKeyLookup::ReleaseCleanup
static void ReleaseCleanup()
vtkInformationKey
Superclass for vtkInformation keys.
Definition
vtkInformationKey.h:33
vtkObject::vtkObject
vtkObject()
vtkObject.h
Generated on Fri Jul 3 2026 07:21:24 for VTK by
1.13.2