|
VTK
|


Go to the source code of this file.
Classes | |
| class | vtkInformationKey |
| Superclass for vtkInformation keys. More... | |
Defines | |
| #define | vtkInformationKeySetStringMacro(name) |
| #define | vtkInformationKeyMacro(CLASS, NAME, type) |
| #define | vtkInformationKeySubclassMacro(CLASS, NAME, type, super) |
| #define | vtkInformationKeyRestrictedMacro(CLASS, NAME, type, required) |
| #define vtkInformationKeySetStringMacro | ( | name | ) |
virtual void Set##name (const char* _arg) \ { \ if ( this->name == NULL && _arg == NULL) { return;} \ if ( this->name && _arg && (!strcmp(this->name,_arg))) { return;} \ delete [] this->name; \ 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 = NULL; \ } \ }
Definition at line 139 of file vtkInformationKey.h.
| #define vtkInformationKeyMacro | ( | CLASS, | |
| NAME, | |||
| type | |||
| ) |
static vtkInformation##type##Key* CLASS##_##NAME = \ new vtkInformation##type##Key(#NAME, #CLASS); \ vtkInformation##type##Key* CLASS::NAME() \ { \ return CLASS##_##NAME; \ }
Definition at line 184 of file vtkInformationKey.h.
| #define vtkInformationKeySubclassMacro | ( | CLASS, | |
| NAME, | |||
| type, | |||
| super | |||
| ) |
static vtkInformation##type##Key* CLASS##_##NAME = \ new vtkInformation##type##Key(#NAME, #CLASS); \ vtkInformation##super##Key* CLASS::NAME() \ { \ return CLASS##_##NAME; \ }
Definition at line 191 of file vtkInformationKey.h.
| #define vtkInformationKeyRestrictedMacro | ( | CLASS, | |
| NAME, | |||
| type, | |||
| required | |||
| ) |
static vtkInformation##type##Key* CLASS##_##NAME = \ new vtkInformation##type##Key(#NAME, #CLASS, required); \ vtkInformation##type##Key* CLASS::NAME() \ { \ return CLASS##_##NAME; \ }
Definition at line 198 of file vtkInformationKey.h.
1.8.0