Rasterfarm-SDK
|
#include <dynamictype.h>
Public Member Functions | |
DynamicType () | |
template<class C > | |
void | addType () |
TypeID | getDerivedTypeId () const |
template<class C > | |
const bool | isType () const |
template<class C > | |
const C * | cast () const |
template<class C > | |
C * | cast () |
template<class FROM , class TO > | |
TO * | cast () |
template<class FROM , class TO > | |
const TO * | cast () const |
Class to determine the dynamic-type at run-time independant of rtti.
|
inline |
|
inline |
|
inline |
A dynamic-cast for single inheritance.
|
inline |
A dynamic-cast for multiple inheritance.
|
inline |
A constant dynamic-cast for single inheritance.
|
inline |
A constant dynamic-cast for multiple inheritance.
|
inline |
|
inline |