19 #ifndef INCLUDED_COM_SUN_STAR_UNO_GENFUNC_HXX
20 #define INCLUDED_COM_SUN_STAR_UNO_GENFUNC_HXX
39 reinterpret_cast< XInterface *
>( pCppI )->acquire();
45 reinterpret_cast< XInterface *
>( pCppI )->release();
56 * reinterpret_cast< const Type * >( &pType ) ) );
59 XInterface * pRet =
reinterpret_cast< XInterface *
>( aRet.
pReserved );
64 catch (RuntimeException &)
inline::com::sun::star::uno::Any queryInterface(const ::com::sun::star::uno::Type &rType, Interface1 *p1)
Compares demanded type to given template argument types.
Definition: queryinterface.hxx:39
struct _typelib_TypeDescriptionReference * pType
type of value
Definition: any2.h:44
void * pReserved
reserved space for storing value
Definition: any2.h:52
Holds a weak reference to a type description.
Definition: typedescription.h:40
type class of interface
Definition: typeclass.h:79
C++ class representing an IDL any.
Definition: Any.h:46
#define SAL_THROW(x)
Exception specification documentation.
Definition: types.h:361
void cpp_acquire(void *pCppI) SAL_THROW(())
Function to acquire a C++ interface.
Definition: genfunc.hxx:36
void cpp_release(void *pCppI) SAL_THROW(())
Function to release a C++ interface.
Definition: genfunc.hxx:42
void * cpp_queryInterface(void *pCppI, typelib_TypeDescriptionReference *pType) SAL_THROW(())
Function to query for a C++ interface.
Definition: genfunc.hxx:48
typelib_TypeClass eTypeClass
type class of type
Definition: typedescription.h:52