1#include "TypeDatabase.h"
3template<
typename BaseType>
6 setBase(&TypeDatabase::getType<BaseType>());
11template<
typename DestinationType>
14 return canCastTo(TypeDatabase::getType<DestinationType>());
Represents a discrete type definition, describing a native type class.
Type & setBase()
Set the base of this type to the given type.
bool canCastTo() const
Check if this type can be cast to the destination type.