Functions | |
template<typename T> T * | dmi_cast (::acdk::lang::ObjectBase *objbase) |
use DMI Cast from a object to another interface Maybe this returns a total different object instance, in case of composite objects | |
template<typename T> T * | try_dmi_cast (::acdk::lang::ObjectBase *objbase) |
return the casted interface or 0 if cannot be casted | |
template<typename T> T * | try_dmi_cast_object (::acdk::lang::ObjectBase *objbase) |
return the casted interface or 0 if cannot be casted | |
template<typename T> void | dmi_cast2 (::acdk::lang::ObjectBase *from, T *&toI,::acdk::lang::Object *&toO) |
try to cast from object to interface, with explict interface pointer. |
|
use DMI Cast from a object to another interface Maybe this returns a total different object instance, in case of composite objects
|
|
try to cast from object to interface, with explict interface pointer. This is used in scripting language, whereas object pointer may not equal interface pointers
|
|
return the casted interface or 0 if cannot be casted
|
|
return the casted interface or 0 if cannot be casted
|