8 #ifndef MI_NEURAYLIB_IFACTORY_H
9 #define MI_NEURAYLIB_IFACTORY_H
20 class IStructure_decl;
28 class IFactory :
public
34 mi::base::Interface_declare<0x8afad838,0xe597,0x4a81,0x92,0x34,0x51,0xfe,0xa4,0xff,0x04,0x31>
59 virtual base::IInterface*
create(
60 const char* type_name,
62 const base::IInterface* argv[] = 0) = 0;
105 const char* type_name,
110 if ( !ptr_iinterface)
112 T* ptr_T =
static_cast<T*
>( ptr_iinterface->
get_interface(
typename T::IID()));
154 return create<T>( Type_traits<T>::get_type_name());
226 FORCE_32_BIT_RESULT = 0xffffffffU
242 #ifdef MI_NEURAYLIB_DEPRECATED_5_0
243 ADJUST_LENGTH_OF_DYNAMIC_ARRAYS = 2,
244 #endif // MI_NEURAYLIB_DEPRECATED_5_0
251 FORCE_32_BIT_OPTIONS = 0xffffffffU
304 if ( !ptr_iinterface)
306 T* ptr_T =
static_cast<T*
>( ptr_iinterface->
get_interface(
typename T::IID()));
395 #endif // MI_NEURAYLIB_IFACTORY_H