VTK  9.1.0
vtkCommonInformationKeyManager.h
Go to the documentation of this file.
1/*=========================================================================
2
3 Program: Visualization Toolkit
4 Module: vtkCommonInformationKeyManager.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 vtkCommonInformationKeyManager_h
26#define vtkCommonInformationKeyManager_h
27
28#include "vtkCommonCoreModule.h" // For export macro
29#include "vtkSystemIncludes.h"
30
31#include "vtkDebugLeaksManager.h" // DebugLeaks exists longer than info keys.
32
34
35class VTKCOMMONCORE_EXPORT vtkCommonInformationKeyManager
36{
37public:
40
48
49private:
50 // Unimplemented
53
54 static void ClassInitialize();
55 static void ClassFinalize();
56};
57
58// This instance will show up in any translation unit that uses key
59// types defined in vtkCommon or that has a singleton. It will
60// make sure vtkCommonInformationKeyManager's vector of keys is
61// initialized before and destroyed after it is used.
63
64#endif
65// VTK-HeaderTest-Exclude: vtkCommonInformationKeyManager.h
static void Register(vtkInformationKey *key)
Called by constructors of vtkInformationKey subclasses defined in vtkCommon to register themselves wi...
Superclass for vtkInformation keys.
@ key
Definition: vtkX3D.h:263
static vtkCommonInformationKeyManager vtkCommonInformationKeyManagerInstance