23 #ifndef INCLUDED_UNO_DATA_H 24 #define INCLUDED_UNO_DATA_H 102 void * pDest,
void * pSource,
115 void * pDest,
void * pSource,
128 void * pDest,
void * pSource,
140 void * pDest,
void * pSource,
void(* uno_ReleaseFunc)(void *pInterface)
Generic function pointer declaration to release an interface.
Definition: data.h:56
css::uno::Any queryInterface(const css::uno::Type &rType, Interface1 *p1)
Compares demanded type to given template argument types.
Definition: queryinterface.hxx:43
void *(* uno_QueryInterfaceFunc)(void *pInterface, struct _typelib_TypeDescriptionReference *pType)
Generic function pointer declaration to query for an interface.
Definition: data.h:44
#define SAL_THROW_EXTERN_C()
Nothrow specification for C functions.
Definition: types.h:334
CPPU_DLLPUBLIC void uno_copyAndConvertData(void *pDest, void *pSource, struct _typelib_TypeDescription *pTypeDescr, struct _uno_Mapping *mapping) SAL_THROW_EXTERN_C()
Copy construct memory with given value.
CPPU_DLLPUBLIC void uno_constructData(void *pMem, struct _typelib_TypeDescription *pTypeDescr) SAL_THROW_EXTERN_C()
Default constructs a value.
CPPU_DLLPUBLIC void uno_type_copyData(void *pDest, void *pSource, struct _typelib_TypeDescriptionReference *pType, uno_AcquireFunc acquire) SAL_THROW_EXTERN_C()
Copy construct memory with given value.
CPPU_DLLPUBLIC sal_Bool uno_type_equalData(void *pVal1, struct _typelib_TypeDescriptionReference *pVal1Type, void *pVal2, struct _typelib_TypeDescriptionReference *pVal2Type, uno_QueryInterfaceFunc queryInterface, uno_ReleaseFunc release) SAL_THROW_EXTERN_C()
Tests if two values are equal.
#define CPPU_DLLPUBLIC
Definition: cppudllapi.h:13
CPPU_DLLPUBLIC void uno_type_copyAndConvertData(void *pDest, void *pSource, struct _typelib_TypeDescriptionReference *pType, struct _uno_Mapping *mapping) SAL_THROW_EXTERN_C()
Copy construct memory with given value.
uno_ReleaseMappingFunc release
Releases mapping.
Definition: mapping.h:76
CPPU_DLLPUBLIC sal_Bool uno_type_isAssignableFromData(struct _typelib_TypeDescriptionReference *pAssignable, void *pFrom, struct _typelib_TypeDescriptionReference *pFromType, uno_QueryInterfaceFunc queryInterface, uno_ReleaseFunc release) SAL_THROW_EXTERN_C()
Tests whether a value of given type is assignable from given value.
void(* uno_AcquireFunc)(void *pInterface)
Generic function pointer declaration to acquire an interface.
Definition: data.h:50
unsigned char sal_Bool
Definition: types.h:38
CPPU_DLLPUBLIC sal_Bool uno_type_assignData(void *pDest, struct _typelib_TypeDescriptionReference *pDestType, void *pSource, struct _typelib_TypeDescriptionReference *pSourceType, uno_QueryInterfaceFunc queryInterface, uno_AcquireFunc acquire, uno_ReleaseFunc release) SAL_THROW_EXTERN_C()
Assigns a destination value with a source value.
uno_AcquireMappingFunc acquire
Acquires mapping.
Definition: mapping.h:72
CPPU_DLLPUBLIC void uno_destructData(void *pValue, struct _typelib_TypeDescription *pTypeDescr, uno_ReleaseFunc release) SAL_THROW_EXTERN_C()
Destructs a given value; does NOT free its memory!
Type description of an interface.
Definition: typedescription.h:374
CPPU_DLLPUBLIC void uno_type_constructData(void *pMem, struct _typelib_TypeDescriptionReference *pType) SAL_THROW_EXTERN_C()
Default constructs a value.
CPPU_DLLPUBLIC void uno_type_destructData(void *pValue, struct _typelib_TypeDescriptionReference *pType, uno_ReleaseFunc release) SAL_THROW_EXTERN_C()
Destructs a given value; does NOT free its memory!
Full type description of a type.
Definition: typedescription.h:75
This is the binary specification of a mapping.
Definition: mapping.h:68
CPPU_DLLPUBLIC void uno_copyData(void *pDest, void *pSource, struct _typelib_TypeDescription *pTypeDescr, uno_AcquireFunc acquire) SAL_THROW_EXTERN_C()
Copy construct memory with given value.
Holds a weak reference to a type description.
Definition: typedescription.h:44
CPPU_DLLPUBLIC sal_Bool uno_assignData(void *pDest, struct _typelib_TypeDescription *pDestTypeDescr, void *pSource, struct _typelib_TypeDescription *pSourceTypeDescr, uno_QueryInterfaceFunc queryInterface, uno_AcquireFunc acquire, uno_ReleaseFunc release) SAL_THROW_EXTERN_C()
Assigns a destination value with a source value.
CPPU_DLLPUBLIC sal_Bool uno_equalData(void *pVal1, struct _typelib_TypeDescription *pVal1TypeDescr, void *pVal2, struct _typelib_TypeDescription *pVal2TypeDescr, uno_QueryInterfaceFunc queryInterface, uno_ReleaseFunc release) SAL_THROW_EXTERN_C()
Tests if two values are equal.