VTK  9.4.20241222
Public Types | List of all members
vtk::HasSuperclass< VTKObjectType > Class Template Reference

Determine whether the provided class (VTKObjectType ) has a parent class. More...

#include <vtkInherits.h>

Public Types

enum  { value = sizeof(Test<VTKObjectType>(nullptr)) == sizeof(Yes) }
 

Detailed Description

template<typename VTKObjectType>
class vtk::HasSuperclass< VTKObjectType >

Determine whether the provided class (VTKObjectType ) has a parent class.

The VTKObjectType template-parameter should be a subclass of vtkObjectBase that uses the vtkTypeMacro() to define a Superclass type-alias. The value in this class is true when a Superclass type-alias exists and false otherwise.

Definition at line 75 of file vtkInherits.h.

Member Enumeration Documentation

◆ anonymous enum

template<typename VTKObjectType >
anonymous enum
Enumerator
value 

Definition at line 91 of file vtkInherits.h.


The documentation for this class was generated from the following file: