3 #ifndef INCLUDED_COM_SUN_STAR_UNO_GENFUNC_HXX
4 #define INCLUDED_COM_SUN_STAR_UNO_GENFUNC_HXX
12 #include "com/sun/star/uno/XInterface.hpp"
27 static_cast< XInterface *
>( pCppI )->acquire();
32 static_cast< XInterface *
>( pCppI )->release();
42 * reinterpret_cast< const Type * >( &pType ) ) );
45 XInterface * pRet =
static_cast< XInterface *
>( aRet.pReserved );
46 aRet.pReserved = NULL;
50 catch (RuntimeException &)
void cpp_release(void *pCppI)
Function to release a C++ interface.
Definition: genfunc.hxx:30
struct SAL_DLLPUBLIC_RTTI _typelib_TypeDescriptionReference typelib_TypeDescriptionReference
Holds a weak reference to a type description.
C++ class representing an IDL any.
Definition: Any.h:36
void cpp_acquire(void *pCppI)
Function to acquire a C++ interface.
Definition: genfunc.hxx:25
type class of interface
Definition: typeclass.h:62
css::uno::Any queryInterface(const css::uno::Type &rType, Interface1 *p1)
Compares demanded type to given template argument types.
Definition: queryinterface.hxx:23
void * cpp_queryInterface(void *pCppI, typelib_TypeDescriptionReference *pType)
Function to query for a C++ interface.
Definition: genfunc.hxx:35