#include "vtkCommonCoreModule.h"
#include "vtkObjectBase.h"
#include "vtkObject.h"
Go to the source code of this file.
#define vtkInformationKeySetStringMacro |
( |
|
name | ) |
|
Value:virtual void Set##
name (
const char* _arg) \
{ \
if ( this->
name ==
nullptr && _arg ==
nullptr) {
return;} \
if ( this->
name && _arg && (!strcmp(this->
name,_arg))) {
return;} \
if (_arg) \
{ \
size_t n = strlen(_arg) + 1; \
char *cp1 = new char[n]; \
const char *cp2 = (_arg); \
this->name = cp1; \
do { *cp1++ = *cp2++; } while ( --n ); \
} \
else \
{ \
this->name = nullptr; \
} \
}
Definition at line 166 of file vtkInformationKey.h.
#define vtkInformationKeyMacro |
( |
|
CLASS, |
|
|
|
NAME, |
|
|
|
type |
|
) |
| |
Value: vtkInformation##
type##Key* CLASS::NAME() \
{ \
return CLASS##_##NAME; \
}
Definition at line 211 of file vtkInformationKey.h.
#define vtkInformationKeySubclassMacro |
( |
|
CLASS, |
|
|
|
NAME, |
|
|
|
type, |
|
|
|
super |
|
) |
| |
Value: vtkInformation##super##Key* CLASS::NAME() \
{ \
return CLASS##_##NAME; \
}
Definition at line 218 of file vtkInformationKey.h.
#define vtkInformationKeyRestrictedMacro |
( |
|
CLASS, |
|
|
|
NAME, |
|
|
|
type, |
|
|
|
required |
|
) |
| |
Value: vtkInformation##
type##Key* CLASS::NAME() \
{ \
return CLASS##_##NAME; \
}
Definition at line 225 of file vtkInformationKey.h.