vtkInformationKey Class Reference
#include <vtkInformationKey.h>
Inheritance diagram for vtkInformationKey:
[legend]Collaboration diagram for vtkInformationKey:
[legend]List of all members.
Detailed Description
Superclass for
vtkInformation keys.
vtkInformationKey is the superclass for all keys used to access the map represented by vtkInformation. The vtkInformation::Set and vtkInformation::Get methods of vtkInformation are accessed by information keys. A key is a pointer to an instance of a subclass of vtkInformationKey. The type of the subclass determines the overload of Set/Get that is selected. This ensures that the type of value stored in a vtkInformation instance corresponding to a given key matches the type expected for that key.
- Created by:
-
- CVS contributions (if > 5%):
- Bertel, Francois (90%)
- Martin, Ken (9%)
- CVS logs (CVSweb):
.h (/Filtering/vtkInformationKey
.h)
.cxx (/Filtering/vtkInformationKey
.cxx)
Definition at line 47 of file vtkInformationKey.h.
Member Typedef Documentation
Constructor & Destructor Documentation
vtkInformationKey::vtkInformationKey |
( |
const char * |
name, |
|
|
const char * |
location |
|
) |
|
|
|
Key instances are static data that need to be created and destroyed. The constructor and destructor must be public. The name of the static instance and the class in which it is defined should be passed to the constructor. They must be string literals because the strings are not copied. |
|
Key instances are static data that need to be created and destroyed. The constructor and destructor must be public. The name of the static instance and the class in which it is defined should be passed to the constructor. They must be string literals because the strings are not copied. |
Member Function Documentation
virtual const char* vtkInformationKey::GetClassName |
( |
|
) |
[virtual] |
|
int vtkInformationKey::IsTypeOf |
( |
const char * |
type |
) |
[static] |
|
virtual int vtkInformationKey::IsA |
( |
const char * |
type |
) |
[virtual] |
|
void vtkInformationKey::PrintSelf |
( |
ostream & |
os, |
|
|
vtkIndent |
indent |
|
) |
[virtual] |
|
virtual void vtkInformationKey::Register |
( |
vtkObjectBase * |
|
) |
[virtual] |
|
virtual void vtkInformationKey::UnRegister |
( |
vtkObjectBase * |
|
) |
[virtual] |
|
const char* vtkInformationKey::GetName |
( |
|
) |
|
|
|
Get the name of the key. This is not the type of the key, but the name of the key instance. |
const char* vtkInformationKey::GetLocation |
( |
|
) |
|
|
|
Get the location of the key. This is the name of the class in which the key is defined. |
|
Copy the entry associated with this key from one information object to another. If there is no entry in the first information object for this key, the value is removed from the second.
Implemented in vtkInformationDataObjectKey, vtkInformationDoubleVectorKey, vtkInformationExecutiveKey, vtkInformationInformationKey, vtkInformationInformationVectorKey, vtkInformationIntegerKey, vtkInformationIntegerVectorKey, vtkInformationKeyVectorKey, vtkInformationObjectBaseKey, and vtkInformationStringKey. |
|
Remove this key from the given information object. |
void vtkInformationKey::ConstructClass |
( |
const char * |
|
) |
[protected] |
|
Member Data Documentation
The documentation for this class was generated from the following file: