2005/5/9

     
 

RefHolder3Inl_h

artefaktur
Modules   Namespace List   Class Hierarchy   Alphabetical List   Compound List   Namespace Members   Compound Members   Related Pages  

RefHolder3Inl.h File Reference


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.


Function Documentation

template<typename T>
T* dmi_cast ::acdk::lang::ObjectBase objbase  )  [inline]
 

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>
void dmi_cast2 ::acdk::lang::ObjectBase from,
T *&  toI,
::acdk::lang::Object *&  toO
[inline]
 

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

See also:
dmi_cast

template<typename T>
T* try_dmi_cast ::acdk::lang::ObjectBase objbase  )  [inline]
 

return the casted interface or 0 if cannot be casted

See also:
dmi_cast

template<typename T>
T* try_dmi_cast_object ::acdk::lang::ObjectBase objbase  )  [inline]
 

return the casted interface or 0 if cannot be casted

See also:
dmi_cast