artefaktur
software engineer &        architecture

 
 
 
 

RefHolder3Inl_h

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
 
Last modified 2005-05-08 18:38 by SYSTEM By Artefaktur, Ing. Bureau Kommer