Rasterfarm-SDK
Loading...
Searching...
No Matches
DynamicType Class Reference

#include <dynamictype.h>

Inheritance diagram for DynamicType:
Engine::Program Engine::Uniform Event Program Raster::Node Render::Component Scene Shape::Geometry Uniform

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
 

Detailed Description

Class to determine the dynamic-type at run-time independant of rtti.

Constructor & Destructor Documentation

◆ DynamicType()

DynamicType::DynamicType ( )
inline

Member Function Documentation

◆ addType()

template<class C >
void DynamicType::addType ( )
inline

◆ cast() [1/4]

template<class C >
C * DynamicType::cast ( )
inline

A dynamic-cast for single inheritance.

◆ cast() [2/4]

template<class FROM , class TO >
TO * DynamicType::cast ( )
inline

A dynamic-cast for multiple inheritance.

◆ cast() [3/4]

template<class C >
const C * DynamicType::cast ( ) const
inline

A constant dynamic-cast for single inheritance.

◆ cast() [4/4]

template<class FROM , class TO >
const TO * DynamicType::cast ( ) const
inline

A constant dynamic-cast for multiple inheritance.

◆ getDerivedTypeId()

TypeID DynamicType::getDerivedTypeId ( ) const
inline

◆ isType()

template<class C >
const bool DynamicType::isType ( ) const
inline

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