SMTK
@SMTK_VERSION@
Simulation Modeling Tool Kit
|
Determine whether the provided class (Class ) has a parent class. More...
#include <TypeHierarchy.h>
Public Types | |
enum | { value = sizeof(Test<Class>(nullptr)) == sizeof(Yes) } |
Determine whether the provided class (Class ) has a parent class.
The Class template-parameter should be some class that uses the smtkSuperclass()
or smtkTypeMacroBase()
to define a Superclass
type-alias. The value
in this class is true when a Superclass type-alias exists and false otherwise.