#include "vtkTypeName.h"
#include <string>
Go to the source code of this file.
|
|
template<typename VTKObjectType , typename Container > |
void | vtk::Inherits (Container &container) |
| Populate the container with the name of this class and its ancestors.
|
|
template<typename VTKObjectType , typename StopAtType , typename Container > |
void | vtk::Inherits (Container &container) |
| Populate the container with the name of this class and its ancestors.
|
|
◆ vtkInheritanceHierarchyBodyMacro
#define vtkInheritanceHierarchyBodyMacro |
( |
|
thisClass | ) |
|
Value: { \
std::vector<vtkStringToken> result; \
vtk::Inherits<thisClass>(result); \
return result; \
}
Definition at line 11 of file vtkInherits.h.
◆ vtkInheritanceHierarchyBaseMacro
#define vtkInheritanceHierarchyBaseMacro |
( |
|
thisClass | ) |
|
Value: virtual std::vector<vtkStringToken> InheritanceHierarchy() \
#define vtkInheritanceHierarchyBodyMacro(thisClass)
Use these macros to add an "InheritanceHierarchy()" method to a VTK class.
Note: To use this macro, you must #include "vtkStringToken.h"
and #include <vector>
as the method returns a vector of string tokens.
Definition at line 23 of file vtkInherits.h.
◆ vtkInheritanceHierarchyOverrideMacro
#define vtkInheritanceHierarchyOverrideMacro |
( |
|
thisClass | ) |
|
Value: std::vector<vtkStringToken> InheritanceHierarchy() \
Definition at line 27 of file vtkInherits.h.