31 #ifndef vtkTypeTemplate_h
32 #define vtkTypeTemplate_h
40 #ifndef VTK_LEGACY_REMOVE
42 template<
class ThisT,
class BaseT>
58 return static_cast<ThisT*
>(o);
80 return BaseT::IsTypeOf(
type);
94 vtkTemplateTypeMacro (vtkSetGet.h));
101 static const char* GetClassNameInternalCachedName()
104 return thisType.c_str();
107 const char* GetClassNameInternal() const VTK_OVERRIDE
109 return this->GetClassNameInternalCachedName();
113 #endif // VTK_LEGACY_REMOVE
114 #endif // header guard