LibreOffice Module cppu (master) 1
|
Typedefs | |
typedef std::vector< std::pair< Type, void * > > | t_type2ptr |
typedef std::vector< std::pair< sal_Int32, void * > > | t_long2ptr |
typedef css::uno::Reference< css::uno::XInterface >(SAL_CALL *ComponentFactoryFunc)(css CPPUHELPER_DLLPUBLIC css::uno::Reference< css::lang::XSingleComponentFactory > SAL_CALL | createSingleComponentFactory(ComponentFactoryFunc fptr, ::rtl::OUString const &rImplementationName, css::uno::Sequence< ::rtl::OUString > const &rServiceNames, rtl_ModuleCount *pModCount=NULL) |
typedef css::uno::Reference< css::uno::XInterface >(SAL_CALL *ComponentInstantiation)(const css CPPUHELPER_DLLPUBLIC css::uno::Reference< css::lang::XSingleServiceFactory > SAL_CALL | createSingleFactory(const css::uno::Reference< css::lang::XMultiServiceFactory > &rServiceManager, const ::rtl::OUString &rImplementationName, ComponentInstantiation pCreateFunction, const css::uno::Sequence< ::rtl::OUString > &rServiceNames, rtl_ModuleCount *pModCount=NULL) |
typedef OBroadcastHelperVar< OMultiTypeInterfaceContainerHelper, OMultiTypeInterfaceContainerHelper::keyType > | OBroadcastHelper |
typedef std::unordered_map< OUString, MappingEntry * > | t_OUString2Entry |
typedef std::unordered_map< uno_Mapping *, MappingEntry *, FctPtrHash > | t_Mapping2Entry |
Functions | |
Reference< XComponentContext > SAL_CALL | bootstrap () |
OUString | bootstrap_expandUri (OUString const &uri) |
SAL_DLLPUBLIC_EXPORT css::uno::Reference< css::lang::XMultiComponentFactory > | bootstrapInitialSF (OUString const &) |
SAL_DLLPUBLIC_EXPORT css::uno::Reference< css::uno::XComponentContext > SAL_CALL | bootstrap_InitialComponentContext (css::uno::Reference< css::registry::XSimpleRegistry > const &, OUString const &) |
SAL_DLLPUBLIC_EXPORT css::uno::Reference< css::registry::XSimpleRegistry > SAL_CALL | createNestedRegistry (OUString const &) |
SAL_DLLPUBLIC_EXPORT css::uno::Reference< css::lang::XMultiServiceFactory > SAL_CALL | createRegistryServiceFactory (OUString const &, OUString const &, sal_Bool, OUString const &) |
SAL_DLLPUBLIC_EXPORT css::uno::Reference< css::registry::XSimpleRegistry > SAL_CALL | createSimpleRegistry (OUString const &) |
SAL_DLLPUBLIC_EXPORT css::reflection::XIdlClass *SAL_CALL | createStandardClassWithSequence (css::uno::Reference< css::lang::XMultiServiceFactory > const &, OUString const &, css::uno::Reference< css::reflection::XIdlClass > const &, css::uno::Sequence< OUString > const &) |
SAL_DLLPUBLIC_EXPORT css::uno::Reference< css::uno::XInterface > SAL_CALL | invokeStaticComponentFactory (oslGenericFunction, OUString const &, css::uno::Reference< css::lang::XMultiServiceFactory > const &, css::uno::Reference< css::registry::XRegistryKey > const &, OUString const &) |
SAL_DLLPUBLIC_EXPORT css::uno::Reference< css::uno::XInterface > SAL_CALL | loadSharedLibComponentFactory (OUString const &, OUString const &, OUString const &, css::uno::Reference< css::lang::XMultiServiceFactory > const &, css::uno::Reference< css::registry::XRegistryKey > const &, OUString const &) |
static void | try_dispose (std::unique_lock< std::mutex > &rGuard, Reference< XInterface > const &xInstance) |
static void | try_dispose (std::unique_lock< std::mutex > &rGuard, Reference< lang::XComponent > const &xComp) |
static void | s_createComponentContext_v (va_list *pParam) |
Reference< XComponentContext > SAL_CALL | createComponentContext (ContextEntry_Init const *pEntries, sal_Int32 nEntries, Reference< XComponentContext > const &xDelegate) |
void SAL_CALL | throwException (Any const &exc) |
Any SAL_CALL | getCaughtException () |
Reference< XSingleServiceFactory > SAL_CALL | createSingleFactory (const Reference< XMultiServiceFactory > &rServiceManager, const OUString &rImplementationName, ComponentInstantiation pCreateFunction, const Sequence< OUString > &rServiceNames, rtl_ModuleCount *) |
Reference< XSingleServiceFactory > SAL_CALL | createFactoryProxy (SAL_UNUSED_PARAMETER const Reference< XMultiServiceFactory > &, const Reference< XSingleServiceFactory > &rFactory) |
Reference< XSingleServiceFactory > SAL_CALL | createOneInstanceFactory (const Reference< XMultiServiceFactory > &rServiceManager, const OUString &rImplementationName, ComponentInstantiation pCreateFunction, const Sequence< OUString > &rServiceNames, rtl_ModuleCount *) |
Reference< XSingleServiceFactory > SAL_CALL | createSingleRegistryFactory (const Reference< XMultiServiceFactory > &rServiceManager, const OUString &rImplementationName, const Reference< XRegistryKey > &rImplementationKey) |
Reference< XSingleServiceFactory > SAL_CALL | createOneInstanceRegistryFactory (const Reference< XMultiServiceFactory > &rServiceManager, const OUString &rImplementationName, const Reference< XRegistryKey > &rImplementationKey) |
Reference< lang::XSingleComponentFactory > SAL_CALL | createSingleComponentFactory (ComponentFactoryFunc fptr, OUString const &rImplementationName, Sequence< OUString > const &rServiceNames, rtl_ModuleCount *) |
Reference< lang::XSingleComponentFactory > SAL_CALL | createOneInstanceComponentFactory (ComponentFactoryFunc fptr, OUString const &rImplementationName, Sequence< OUString > const &rServiceNames, rtl_ModuleCount *) |
static void | checkInterface (Type const &rType) |
static bool | isXInterface (rtl_uString *pStr) |
static void * | makeInterface (sal_IntPtr nOffset, void *that) |
static bool | td_equals (typelib_TypeDescriptionReference const *pTDR1, typelib_TypeDescriptionReference const *pTDR2) |
static type_entry * | getTypeEntries (class_data *cd) |
static void | fillTypes (Type *types, class_data *cd) |
static void * | queryDeepNoXInterface (typelib_TypeDescriptionReference const *pDemandedTDR, class_data *cd, void *that) |
Any SAL_CALL | ImplHelper_query (Type const &rType, class_data *cd, void *that) |
Any SAL_CALL | ImplHelper_queryNoXInterface (Type const &rType, class_data *cd, void *that) |
css::uno::Sequence< sal_Int8 > | ImplHelper_getImplementationId (SAL_UNUSED_PARAMETER class_data *) |
Sequence< Type > SAL_CALL | ImplHelper_getTypes (class_data *cd) |
Sequence< Type > SAL_CALL | ImplInhHelper_getTypes (class_data *cd, Sequence< Type > const &rAddTypes) |
Any SAL_CALL | WeakImplHelper_query (Type const &rType, class_data *cd, void *that, OWeakObject *pBase) |
Sequence< Type > SAL_CALL | WeakImplHelper_getTypes (class_data *cd) |
Any SAL_CALL | WeakAggImplHelper_queryAgg (Type const &rType, class_data *cd, void *that, OWeakAggObject *pBase) |
Sequence< Type > SAL_CALL | WeakAggImplHelper_getTypes (class_data *cd) |
Any SAL_CALL | WeakComponentImplHelper_query (Type const &rType, class_data *cd, void *that, WeakComponentImplHelperBase *pBase) |
Sequence< Type > SAL_CALL | WeakComponentImplHelper_getTypes (class_data *cd) |
Any SAL_CALL | WeakAggComponentImplHelper_queryAgg (Type const &rType, class_data *cd, void *that, WeakAggComponentImplHelperBase *pBase) |
Sequence< Type > SAL_CALL | WeakAggComponentImplHelper_getTypes (class_data *cd) |
sal_Bool | component_writeInfoHelper (SAL_UNUSED_PARAMETER void *, void *pRegistryKey, const struct ImplementationEntry entries[]) |
void * | component_getFactoryHelper (char const *pImplName, SAL_UNUSED_PARAMETER void *, SAL_UNUSED_PARAMETER void *, const struct ImplementationEntry entries[]) |
static t_type2ptr::iterator | findType (t_type2ptr *pMap, const Type &rKey) |
static t_long2ptr::iterator | findLong (t_long2ptr *pMap, sal_Int32 nKey) |
static Bootstrap const & | get_unorc () |
OUString | getUnoIniUri () |
bool | nextDirectoryItem (osl::Directory &directory, OUString *url) |
void | decodeRdbUri (std::u16string_view *uri, bool *optional, bool *directory) |
static const css::uno::Type & | getPropertyTypeIdentifier () |
static const css::uno::Type & | getPropertiesTypeIdentifier () |
static const css::uno::Type & | getVetoableTypeIdentifier () |
static int | compare_OUString_Property_Impl (const void *arg1, const void *arg2) SAL_THROW_EXTERN_C() |
static int | compare_Property_Impl (const void *arg1, const void *arg2) SAL_THROW_EXTERN_C() |
static typelib_TypeDescription * | createCTD (Reference< container::XHierarchicalNameAccess > const &access, const Reference< XTypeDescription > &xType) |
static typelib_TypeDescription * | createCTD (const Reference< XCompoundTypeDescription > &xType) |
static typelib_TypeDescription * | createCTD (Reference< container::XHierarchicalNameAccess > const &access, const Reference< XStructTypeDescription > &xType) |
static typelib_TypeDescription * | createCTD (const Reference< XInterfaceAttributeTypeDescription2 > &xAttribute) |
static typelib_TypeDescription * | createCTD (const Reference< XInterfaceMethodTypeDescription > &xMethod) |
static typelib_TypeDescription * | createCTD (Reference< container::XHierarchicalNameAccess > const &access, const Reference< XInterfaceTypeDescription2 > &xType) |
static typelib_TypeDescription * | createCTD (const Reference< XEnumTypeDescription > &xType) |
static typelib_TypeDescription * | createCTD (Reference< container::XHierarchicalNameAccess > const &access, const Reference< XIndirectTypeDescription > &xType) |
static void | typelib_callback (void *pContext, typelib_TypeDescription **ppRet, rtl_uString *pTypeName) |
sal_Bool SAL_CALL | installTypeDescriptionManager (Reference< container::XHierarchicalNameAccess > const &xTDMgr_c) |
CPPUHELPER_DLLPUBLIC sal_Bool SAL_CALL | installTypeDescriptionManager (css::uno::Reference< css::container::XHierarchicalNameAccess > const &xTDMgr) |
CPPUHELPER_DLLPUBLIC css::uno::Reference< css::uno::XComponentContext > SAL_CALL | defaultBootstrap_InitialComponentContext () |
CPPUHELPER_DLLPUBLIC css::uno::Reference< css::uno::XComponentContext > SAL_CALL | defaultBootstrap_InitialComponentContext (const ::rtl::OUString &iniFile) |
CPPUHELPER_DLLPUBLIC css::uno::Reference< css::uno::XComponentContext > SAL_CALL | createComponentContext (ContextEntry_Init const *pEntries, sal_Int32 nEntries, css::uno::Reference< css::uno::XComponentContext > const &xDelegate=css::uno::Reference< css::uno::XComponentContext >()) |
CPPUHELPER_DLLPUBLIC void SAL_CALL | throwException (const css::uno::Any &rExc) |
CPPUHELPER_DLLPUBLIC css::uno::Reference< css::lang::XSingleComponentFactory > SAL_CALL | createOneInstanceComponentFactory (ComponentFactoryFunc fptr, ::rtl::OUString const &rImplementationName, css::uno::Sequence< ::rtl::OUString > const &rServiceNames, rtl_ModuleCount *pModCount=NULL) |
CPPUHELPER_DLLPUBLIC css::uno::Reference< css::lang::XSingleServiceFactory > SAL_CALL | createFactoryProxy (const css::uno::Reference< css::lang::XMultiServiceFactory > &rServiceManager, const css::uno::Reference< css::lang::XSingleServiceFactory > &rFactory) |
CPPUHELPER_DLLPUBLIC css::uno::Reference< css::lang::XSingleServiceFactory > SAL_CALL | createOneInstanceFactory (const css::uno::Reference< css::lang::XMultiServiceFactory > &rServiceManager, const ::rtl::OUString &rComponentName, ComponentInstantiation pCreateFunction, const css::uno::Sequence< ::rtl::OUString > &rServiceNames, rtl_ModuleCount *pModCount=NULL) |
CPPUHELPER_DLLPUBLIC css::uno::Reference< css::lang::XSingleServiceFactory > SAL_CALL | createSingleRegistryFactory (const css::uno::Reference< css::lang::XMultiServiceFactory > &rServiceManager, const ::rtl::OUString &rImplementationName, const css::uno::Reference< css::registry::XRegistryKey > &rImplementationKey) |
CPPUHELPER_DLLPUBLIC css::uno::Reference< css::lang::XSingleServiceFactory > SAL_CALL | createOneInstanceRegistryFactory (const css::uno::Reference< css::lang::XMultiServiceFactory > &rServiceManager, const ::rtl::OUString &rComponentName, const css::uno::Reference< css::registry::XRegistryKey > &rImplementationKey) |
CPPUHELPER_DLLPUBLIC sal_Bool | component_writeInfoHelper (void *pServiceManager, void *pRegistryKey, const struct ImplementationEntry entries[]) |
CPPUHELPER_DLLPUBLIC void * | component_getFactoryHelper (const char *pImplName, void *pServiceManager, void *pRegistryKey, const struct ImplementationEntry entries[]) |
void SAL_CALL | convertPropertyValue (target &value, const css::uno::Any &a) |
void SAL_CALL | convertPropertyValue (sal_Bool &target, const css::uno::Any &source) |
void SAL_CALL | convertPropertyValue (bool &target, const css::uno::Any &source) |
void SAL_CALL | convertPropertyValue (sal_Int64 &target, const css::uno::Any &source) |
void SAL_CALL | convertPropertyValue (sal_uInt64 &target, const css::uno::Any &source) |
void SAL_CALL | convertPropertyValue (sal_Int32 &target, const css::uno::Any &source) |
void SAL_CALL | convertPropertyValue (sal_uInt32 &target, const css::uno::Any &source) |
void SAL_CALL | convertPropertyValue (sal_Int16 &target, const css::uno::Any &source) |
void SAL_CALL | convertPropertyValue (sal_uInt16 &target, const css::uno::Any &source) |
void SAL_CALL | convertPropertyValue (sal_Int8 &target, const css::uno::Any &source) |
void SAL_CALL | convertPropertyValue (float &target, const css::uno::Any &source) |
void SAL_CALL | convertPropertyValue (double &target, const css::uno::Any &source) |
css::uno::Any SAL_CALL | queryInterface (const css::uno::Type &rType, Interface1 *p1) |
css::uno::Any SAL_CALL | queryInterface (const css::uno::Type &rType, Interface1 *p1, Interface2 *p2) |
css::uno::Any SAL_CALL | queryInterface (const css::uno::Type &rType, Interface1 *p1, Interface2 *p2, Interface3 *p3) |
css::uno::Any SAL_CALL | queryInterface (const css::uno::Type &rType, Interface1 *p1, Interface2 *p2, Interface3 *p3, Interface4 *p4) |
css::uno::Any SAL_CALL | queryInterface (const css::uno::Type &rType, Interface1 *p1, Interface2 *p2, Interface3 *p3, Interface4 *p4, Interface5 *p5) |
css::uno::Any SAL_CALL | queryInterface (const css::uno::Type &rType, Interface1 *p1, Interface2 *p2, Interface3 *p3, Interface4 *p4, Interface5 *p5, Interface6 *p6) |
css::uno::Any SAL_CALL | queryInterface (const css::uno::Type &rType, Interface1 *p1, Interface2 *p2, Interface3 *p3, Interface4 *p4, Interface5 *p5, Interface6 *p6, Interface7 *p7) |
css::uno::Any SAL_CALL | queryInterface (const css::uno::Type &rType, Interface1 *p1, Interface2 *p2, Interface3 *p3, Interface4 *p4, Interface5 *p5, Interface6 *p6, Interface7 *p7, Interface8 *p8) |
css::uno::Any SAL_CALL | queryInterface (const css::uno::Type &rType, Interface1 *p1, Interface2 *p2, Interface3 *p3, Interface4 *p4, Interface5 *p5, Interface6 *p6, Interface7 *p7, Interface8 *p8, Interface9 *p9) |
css::uno::Any SAL_CALL | queryInterface (const css::uno::Type &rType, Interface1 *p1, Interface2 *p2, Interface3 *p3, Interface4 *p4, Interface5 *p5, Interface6 *p6, Interface7 *p7, Interface8 *p8, Interface9 *p9, Interface10 *p10) |
css::uno::Any SAL_CALL | queryInterface (const css::uno::Type &rType, Interface1 *p1, Interface2 *p2, Interface3 *p3, Interface4 *p4, Interface5 *p5, Interface6 *p6, Interface7 *p7, Interface8 *p8, Interface9 *p9, Interface10 *p10, Interface11 *p11) |
css::uno::Any SAL_CALL | queryInterface (const css::uno::Type &rType, Interface1 *p1, Interface2 *p2, Interface3 *p3, Interface4 *p4, Interface5 *p5, Interface6 *p6, Interface7 *p7, Interface8 *p8, Interface9 *p9, Interface10 *p10, Interface11 *p11, Interface12 *p12) |
CPPUHELPER_DLLPUBLIC css::uno::Reference< css::uno::XInterface > SAL_CALL | loadSharedLibComponentFactory (::rtl::OUString const &uri, ::rtl::OUString const &rPath, ::rtl::OUString const &rImplName, css::uno::Reference< css::lang::XMultiServiceFactory > const &xMgr, css::uno::Reference< css::registry::XRegistryKey > const &xKey) |
CPPUHELPER_DLLPUBLIC void SAL_CALL | writeSharedLibComponentInfo (::rtl::OUString const &uri, ::rtl::OUString const &rPath, css::uno::Reference< css::lang::XMultiServiceFactory > const &xMgr, css::uno::Reference< css::registry::XRegistryKey > const &xKey) |
bool CPPUHELPER_DLLPUBLIC | supportsService (css::lang::XServiceInfo *implementation, rtl::OUString const &name) |
class | SAL_DEPRECATED ("Uses broken double checked locking") SAL_WARN_UNUSED CPPUHELPER_DLLPUBLIC OImplementationId |
css::uno::Any | int2enum (sal_Int32 nEnum, const css::uno::Type &rType) |
bool | enum2int (sal_Int32 &rnEnum, const css::uno::Any &rAny) |
void | any2enum (E &eRet, const css::uno::Any &rAny) |
bool | any2bool (const css::uno::Any &rAny) |
static typelib_InterfaceTypeDescription * | get_type_XCurrentContext () |
IdContainer & | getIdContainer () |
void | _assignInterface (void **ppDest, void *pSource, uno_AcquireFunc acquire, uno_ReleaseFunc release) |
void * | _queryInterface (void *pSource, typelib_TypeDescriptionReference *pDestType, uno_QueryInterfaceFunc queryInterface) |
bool | assignStruct (void *pDest, void *pSource, typelib_CompoundTypeDescription *pTypeDescr, uno_QueryInterfaceFunc queryInterface, uno_AcquireFunc acquire, uno_ReleaseFunc release) |
bool | _assignStruct (void *pDest, void *pSource, typelib_CompoundTypeDescription *pTypeDescr, uno_QueryInterfaceFunc queryInterface, uno_AcquireFunc acquire, uno_ReleaseFunc release) |
bool | _assignData (void *pDest, typelib_TypeDescriptionReference *pDestType, typelib_TypeDescription *pDestTypeDescr, void *pSource, typelib_TypeDescriptionReference *pSourceType, typelib_TypeDescription *pSourceTypeDescr, uno_QueryInterfaceFunc queryInterface, uno_AcquireFunc acquire, uno_ReleaseFunc release) |
void | defaultConstructStruct (void *pMem, typelib_CompoundTypeDescription *pCompType) |
void | _defaultConstructStruct (void *pMem, typelib_CompoundTypeDescription *pTypeDescr) |
void | _defaultConstructData (void *pMem, typelib_TypeDescriptionReference *pType, typelib_TypeDescription *pTypeDescr) |
uno_Sequence * | allocSeq (sal_Int32 nElementSize, sal_Int32 nElements) |
void | copyConstructStruct (void *pDest, void *pSource, typelib_CompoundTypeDescription *pTypeDescr, uno_AcquireFunc acquire, uno_Mapping *mapping) |
void | _copyConstructStruct (void *pDest, void *pSource, typelib_CompoundTypeDescription *pTypeDescr, uno_AcquireFunc acquire, uno_Mapping *mapping) |
uno_Sequence * | copyConstructSequence (uno_Sequence *pSource, typelib_TypeDescriptionReference *pElementType, uno_AcquireFunc acquire, uno_Mapping *mapping) |
void | _copyConstructAnyFromData (uno_Any *pDestAny, void *pSource, typelib_TypeDescriptionReference *pType, typelib_TypeDescription *pTypeDescr, uno_AcquireFunc acquire, uno_Mapping *mapping) |
void | _copyConstructAny (uno_Any *pDestAny, void *pSource, typelib_TypeDescriptionReference *pType, typelib_TypeDescription *pTypeDescr, uno_AcquireFunc acquire, uno_Mapping *mapping) |
uno_Sequence * | icopyConstructSequence (uno_Sequence *pSource, typelib_TypeDescriptionReference *pElementType, uno_AcquireFunc acquire, uno_Mapping *mapping) |
void | _copyConstructData (void *pDest, void *pSource, typelib_TypeDescriptionReference *pType, typelib_TypeDescription *pTypeDescr, uno_AcquireFunc acquire, uno_Mapping *mapping) |
void * | binuno_queryInterface (void *pUnoI, typelib_TypeDescriptionReference *pDestType) |
void | destructStruct (void *pValue, typelib_CompoundTypeDescription *pTypeDescr, uno_ReleaseFunc release) |
bool | equalStruct (void *pDest, void *pSource, typelib_CompoundTypeDescription *pTypeDescr, uno_QueryInterfaceFunc queryInterface, uno_ReleaseFunc release) |
void | destructSequence (uno_Sequence *pSequence, typelib_TypeDescriptionReference *pType, typelib_TypeDescription *pTypeDescr, uno_ReleaseFunc release) |
bool | equalSequence (uno_Sequence *pDest, uno_Sequence *pSource, typelib_TypeDescriptionReference *pElementType, uno_QueryInterfaceFunc queryInterface, uno_ReleaseFunc release) |
void | _destructStruct (void *pValue, typelib_CompoundTypeDescription *pTypeDescr, uno_ReleaseFunc release) |
void | _destructAny (uno_Any *pAny, uno_ReleaseFunc release) |
sal_Int32 | idestructElements (void *pElements, typelib_TypeDescriptionReference *pElementType, sal_Int32 nStartIndex, sal_Int32 nStopIndex, uno_ReleaseFunc release) |
void | idestroySequence (uno_Sequence *pSeq, typelib_TypeDescriptionReference *pType, typelib_TypeDescription *pTypeDescr, uno_ReleaseFunc release) |
void | idestructSequence (uno_Sequence *pSeq, typelib_TypeDescriptionReference *pType, typelib_TypeDescription *pTypeDescr, uno_ReleaseFunc release) |
void | _destructData (void *pValue, typelib_TypeDescriptionReference *pType, typelib_TypeDescription *pTypeDescr, uno_ReleaseFunc release) |
bool | _equalObject (void *pI1, void *pI2, uno_QueryInterfaceFunc queryInterface, uno_ReleaseFunc release) |
bool | _equalStruct (void *pDest, void *pSource, typelib_CompoundTypeDescription *pTypeDescr, uno_QueryInterfaceFunc queryInterface, uno_ReleaseFunc release) |
bool | _equalSequence (uno_Sequence *pDest, uno_Sequence *pSource, typelib_TypeDescriptionReference *pElementType, uno_QueryInterfaceFunc queryInterface, uno_ReleaseFunc release) |
bool | _equalData (void *pDest, typelib_TypeDescriptionReference *pDestType, typelib_TypeDescription *pDestTypeDescr, void *pSource, typelib_TypeDescriptionReference *pSourceType, uno_QueryInterfaceFunc queryInterface, uno_ReleaseFunc release) |
static MappingsData & | getMappingsData () |
static void | mediate_free (uno_Mapping *pMapping) |
static void | mediate_acquire (uno_Mapping *pMapping) |
static void | mediate_release (uno_Mapping *pMapping) |
static void | mediate_mapInterface (uno_Mapping *pMapping, void **ppOut, void *pInterface, typelib_InterfaceTypeDescription *pInterfaceTypeDescr) |
static OUString | getMappingName (const Environment &rFrom, const Environment &rTo, std::u16string_view rAddPurpose) |
static OUString | getBridgeName (const Environment &rFrom, const Environment &rTo, std::u16string_view rAddPurpose) |
static void | setNegativeBridge (const OUString &rBridgeName) |
static bool | loadModule (osl::Module &rModule, const OUString &rBridgeName) |
static Mapping | loadExternalMapping (const Environment &rFrom, const Environment &rTo, const OUString &rAddPurpose) |
static Mapping | getDirectMapping (const Environment &rFrom, const Environment &rTo, const OUString &rAddPurpose=OUString()) |
static Mapping | createMediateMapping (const Environment &rFrom, const Environment &rTo, const Mapping &rFrom2Uno, const Mapping &rUno2To, const OUString &rAddPurpose) |
static Mapping | getMediateMapping (const Environment &rFrom, const Environment &rTo, const OUString &rAddPurpose) |
void * | _map (void *p, typelib_TypeDescriptionReference *pType, typelib_TypeDescription *pTypeDescr, uno_Mapping *mapping) |
void | _acquire (void *p, uno_AcquireFunc acquire) |
void | _release (void *p, uno_ReleaseFunc release) |
sal_uInt32 | calcSeqMemSize (sal_Int32 nElementSize, sal_Int32 nElements) |
uno_Sequence * | createEmptySequence () |
typelib_TypeDescriptionReference * | _getVoidType () |
void | CONSTRUCT_EMPTY_ANY (uno_Any *pAny) |
bool | _type_equals (typelib_TypeDescriptionReference const *pType1, typelib_TypeDescriptionReference const *pType2) |
static uno_Sequence * | reallocSeq (uno_Sequence *pReallocate, std::size_t nElementSize, sal_Int32 nElements) |
static bool | idefaultConstructElements (uno_Sequence **ppSeq, typelib_TypeDescriptionReference *pElementType, sal_Int32 nStartIndex, sal_Int32 nStopIndex, sal_Int32 nAlloc) |
static bool | icopyConstructFromElements (uno_Sequence **ppSeq, void *pSourceElements, typelib_TypeDescriptionReference *pElementType, sal_Int32 nStopIndex, uno_AcquireFunc acquire, sal_Int32 nAlloc) |
static bool | ireallocSequence (uno_Sequence **ppSequence, typelib_TypeDescriptionReference *pElementType, sal_Int32 nSize, uno_AcquireFunc acquire, uno_ReleaseFunc release) |
void | Enterable_call_enter (void *context) |
void | Enterable_call_leave (void *context) |
void | Enterable_call_callInto_v (void *context, uno_EnvCallee *pCallee, va_list *pParam) |
void | Enterable_call_callOut_v (void *context, uno_EnvCallee *pCallee, va_list *pParam) |
int | Enterable_call_isValid (void *context, rtl_uString **pReason) |
template<class T > | |
T * | mapOut (T *pT, css::uno::Environment const &outerEnv) |
Helpers for mapping objects relative to the current environment. More... | |
template<class T > | |
T * | mapIn (T *pT, css::uno::Environment const &outerEnv) |
Maps an object from an outer Environment to the current, returns mapped object. More... | |
void | mapOutAny (css::uno::Any const &any, css::uno::Any *res, css::uno::Environment const &outerEnv) |
Maps an any from the current to an outer Environment, fills passed any. More... | |
void | mapInAny (css::uno::Any const &any, css::uno::Any *res, css::uno::Environment const &outerEnv) |
Maps an any from an outer Environment to the current, fills passed any. More... | |
template<typename T > | |
css::uno::Type const & | getTypeFavourUnsigned (SAL_UNUSED_PARAMETER T const *) |
A working replacement for getCppuType (see there). More... | |
css::uno::Type const & | getTypeFavourUnsigned (SAL_UNUSED_PARAMETER ::sal_uInt16 const *) |
A working replacement for getCppuType (see there). More... | |
template<typename T > | |
css::uno::Type const & | getTypeFavourUnsigned (css::uno::Sequence< T > const *) |
A working replacement for getCppuType (see there). More... | |
Variables | |
static std::mutex * | gpWeakMutex |
uno_Sequence | g_emptySeq = { 1, 0, { 0 } } |
typelib_TypeDescriptionReference * | g_pVoidType = nullptr |
typedef std::unordered_map< uno_Mapping *, MappingEntry *, FctPtrHash > cppu::t_Mapping2Entry |
typedef std::unordered_map< OUString, MappingEntry * > cppu::t_OUString2Entry |
|
inline |
Definition at line 64 of file prim.hxx.
References p.
Referenced by _assignInterface(), _copyConstructAnyFromData(), _copyConstructData(), and icopyConstructFromElements().
|
inline |
Definition at line 96 of file assign.hxx.
References _assignInterface(), _assignStruct(), _copyConstructAny(), _defaultConstructData(), _destructAny(), _destructData(), _queryInterface(), _release(), _type_equals(), idestructSequence(), nRefCount, pData, queryInterface(), TYPE_ACQUIRE, and typelib_typedescriptionreference_release().
Referenced by uno_assignData(), and uno_type_assignData().
|
inline |
Definition at line 34 of file assign.hxx.
References _acquire(), and _release().
Referenced by _assignData().
|
inline |
Definition at line 64 of file assign.hxx.
References assignStruct(), queryInterface(), and uno_type_assignData().
Referenced by _assignData(), and assignStruct().
|
inline |
Definition at line 256 of file copy.hxx.
References _copyConstructAnyFromData(), _defaultConstructStruct(), _getVoidType(), CONSTRUCT_EMPTY_ANY(), createEmptySequence(), pData, and TYPE_ACQUIRE.
Referenced by _assignData(), _copyConstructData(), icopyConstructFromElements(), uno_any_assign(), uno_any_construct(), uno_any_constructAndConvert(), uno_type_any_assign(), uno_type_any_construct(), and uno_type_any_constructAndConvert().
|
inline |
Definition at line 123 of file copy.hxx.
References _acquire(), _copyConstructStruct(), _map(), copyConstructSequence(), and TYPE_ACQUIRE.
Referenced by _copyConstructAny(), and icopyConstructSequence().
|
inline |
Definition at line 543 of file copy.hxx.
References _acquire(), _copyConstructAny(), _copyConstructStruct(), _map(), icopyConstructSequence(), nRefCount, pData, and TYPE_ACQUIRE.
Referenced by uno_copyAndConvertData(), uno_copyData(), uno_type_copyAndConvertData(), and uno_type_copyData().
|
inline |
Definition at line 78 of file copy.hxx.
References copyConstructStruct(), uno_type_copyAndConvertData(), and uno_type_copyData().
Referenced by _copyConstructAnyFromData(), _copyConstructData(), copyConstructStruct(), icopyConstructFromElements(), and icopyConstructSequence().
|
inline |
Definition at line 55 of file constr.hxx.
References _defaultConstructStruct(), _getVoidType(), CONSTRUCT_EMPTY_ANY(), and createEmptySequence().
Referenced by _assignData(), uno_constructData(), and uno_type_constructData().
|
inline |
Definition at line 35 of file constr.hxx.
References defaultConstructStruct(), and uno_type_constructData().
Referenced by _copyConstructAny(), _defaultConstructData(), defaultConstructStruct(), and idefaultConstructElements().
|
inline |
Definition at line 70 of file destr.hxx.
References _destructStruct(), _release(), destructSequence(), typelib_typedescriptionreference_release(), and uno_any_destruct().
Referenced by _assignData(), _destructData(), binuno_queryInterface(), idestructElements(), uno_any_assign(), uno_any_clear(), uno_any_destruct(), and uno_type_any_assign().
|
inline |
Definition at line 303 of file destr.hxx.
References _destructAny(), _destructStruct(), _release(), idestructSequence(), and typelib_typedescriptionreference_release().
Referenced by _assignData(), uno_destructData(), and uno_type_destructData().
|
inline |
Definition at line 41 of file destr.hxx.
References destructStruct(), and uno_type_destructData().
Referenced by _destructAny(), _destructData(), destructStruct(), and idestructElements().
|
inline |
Definition at line 263 of file eq.hxx.
References _equalObject(), _equalSequence(), _equalStruct(), _type_equals(), o3tl::cmp_equal(), pData, and queryInterface().
Referenced by uno_equalData(), and uno_type_equalData().
|
inline |
Definition at line 38 of file eq.hxx.
References _release(), binuno_queryInterface(), queryInterface(), and typelib_static_type_getByTypeClass().
Referenced by _equalData(), and _equalSequence().
|
inline |
Definition at line 107 of file eq.hxx.
References _equalObject(), _equalStruct(), _type_equals(), equalSequence(), nElements, nPos, queryInterface(), and uno_type_equalData().
Referenced by _equalData(), and equalSequence().
|
inline |
Definition at line 72 of file eq.hxx.
References equalStruct(), queryInterface(), and uno_type_equalData().
Referenced by _equalData(), _equalSequence(), and equalStruct().
|
inline |
Definition at line 114 of file prim.hxx.
References g_pVoidType, typelib_static_type_getByTypeClass(), and typelib_typedescriptionreference_acquire().
Referenced by _copyConstructAny(), _defaultConstructData(), CONSTRUCT_EMPTY_ANY(), and idefaultConstructElements().
|
inline |
Definition at line 39 of file prim.hxx.
References p.
Referenced by _copyConstructAnyFromData(), and _copyConstructData().
|
inline |
Definition at line 45 of file assign.hxx.
References binuno_queryInterface(), and queryInterface().
Referenced by _assignData().
|
inline |
Definition at line 79 of file prim.hxx.
References p.
Referenced by _assignData(), _assignInterface(), _destructAny(), _destructData(), _equalObject(), and uno_type_isAssignableFromData().
|
inline |
Definition at line 141 of file prim.hxx.
Referenced by _assignData(), _equalData(), and _equalSequence().
|
inline |
Definition at line 51 of file copy.hxx.
References calcSeqMemSize(), header, and nElements.
Referenced by icopyConstructSequence(), uno_sequence_reference2One(), and uno_type_sequence_reference2One().
bool cppu::assignStruct | ( | void * | pDest, |
void * | pSource, | ||
typelib_CompoundTypeDescription * | pTypeDescr, | ||
uno_QueryInterfaceFunc | queryInterface, | ||
uno_AcquireFunc | acquire, | ||
uno_ReleaseFunc | release | ||
) |
Definition at line 130 of file data.cxx.
References _assignStruct(), and queryInterface().
Referenced by _assignStruct().
void * cppu::binuno_queryInterface | ( | void * | pUnoI, |
typelib_TypeDescriptionReference * | pDestType | ||
) |
Definition at line 40 of file data.cxx.
References _destructAny(), SAL_WARN, typelib_static_type_getByTypeClass(), typelib_typedescriptionreference_getDescription(), typelib_typedescriptionreference_release(), and uno_any_destruct().
Referenced by _equalObject(), _queryInterface(), uno_type_isAssignableFromData(), and unoenv_computeObjectIdentifier().
|
inline |
Definition at line 95 of file prim.hxx.
References nElements, and SAL_SEQUENCE_HEADER_SIZE.
Referenced by allocSeq(), and reallocSeq().
|
inline |
Definition at line 124 of file prim.hxx.
References _getVoidType().
Referenced by _copyConstructAny(), _defaultConstructData(), icopyConstructSequence(), idefaultConstructElements(), uno_any_assign(), uno_any_clear(), uno_any_construct(), uno_any_constructAndConvert(), uno_type_any_assign(), uno_type_any_construct(), and uno_type_any_constructAndConvert().
uno_Sequence * cppu::copyConstructSequence | ( | uno_Sequence * | pSource, |
typelib_TypeDescriptionReference * | pElementType, | ||
uno_AcquireFunc | acquire, | ||
uno_Mapping * | mapping | ||
) |
Definition at line 139 of file data.cxx.
References icopyConstructSequence().
Referenced by _copyConstructAnyFromData(), and icopyConstructSequence().
void cppu::copyConstructStruct | ( | void * | pDest, |
void * | pSource, | ||
typelib_CompoundTypeDescription * | pTypeDescr, | ||
uno_AcquireFunc | acquire, | ||
uno_Mapping * | mapping | ||
) |
Definition at line 106 of file data.cxx.
References _copyConstructStruct().
Referenced by _copyConstructStruct().
|
inline |
Definition at line 108 of file prim.hxx.
References g_emptySeq.
Referenced by _copyConstructAny(), _defaultConstructData(), idefaultConstructElements(), uno_sequence_construct(), and uno_type_sequence_construct().
|
static |
Definition at line 498 of file lbmap.cxx.
References mediate_free(), and uno_registerMapping().
Referenced by getMediateMapping().
void cppu::defaultConstructStruct | ( | void * | pMem, |
typelib_CompoundTypeDescription * | pCompType | ||
) |
Definition at line 99 of file data.cxx.
References _defaultConstructStruct().
Referenced by _defaultConstructStruct().
void cppu::destructSequence | ( | uno_Sequence * | pSequence, |
typelib_TypeDescriptionReference * | pType, | ||
typelib_TypeDescription * | pTypeDescr, | ||
uno_ReleaseFunc | release | ||
) |
Definition at line 148 of file data.cxx.
References idestructSequence().
Referenced by _destructAny(), and idestructElements().
void cppu::destructStruct | ( | void * | pValue, |
typelib_CompoundTypeDescription * | pTypeDescr, | ||
uno_ReleaseFunc | release | ||
) |
Definition at line 114 of file data.cxx.
References _destructStruct().
Referenced by _destructStruct().
|
inline |
Definition at line 72 of file Enterable.hxx.
Referenced by cppu::Enterable::Enterable().
|
inline |
Definition at line 74 of file Enterable.hxx.
Referenced by cppu::Enterable::Enterable().
|
inline |
Definition at line 70 of file Enterable.hxx.
Referenced by cppu::Enterable::Enterable().
|
inline |
Definition at line 76 of file Enterable.hxx.
Referenced by cppu::Enterable::Enterable().
|
inline |
Definition at line 71 of file Enterable.hxx.
Referenced by cppu::Enterable::Enterable().
bool cppu::equalSequence | ( | uno_Sequence * | pDest, |
uno_Sequence * | pSource, | ||
typelib_TypeDescriptionReference * | pElementType, | ||
uno_QueryInterfaceFunc | queryInterface, | ||
uno_ReleaseFunc | release | ||
) |
Definition at line 158 of file data.cxx.
References _equalSequence(), and queryInterface().
Referenced by _equalSequence().
bool cppu::equalStruct | ( | void * | pDest, |
void * | pSource, | ||
typelib_CompoundTypeDescription * | pTypeDescr, | ||
uno_QueryInterfaceFunc | queryInterface, | ||
uno_ReleaseFunc | release | ||
) |
Definition at line 122 of file data.cxx.
References _equalStruct(), and queryInterface().
Referenced by _equalStruct().
|
static |
Definition at line 41 of file current.cxx.
References typelib_static_type_getByTypeClass(), typelib_typedescription_newInterface(), typelib_typedescription_newInterfaceMethod(), typelib_typedescription_register(), typelib_typedescription_release(), typelib_typedescriptionreference_new(), and typelib_typedescriptionreference_release().
Referenced by uno_getCurrentContext().
|
static |
Definition at line 301 of file lbmap.cxx.
References cppu::EnvDcp::getTypeName().
Referenced by loadExternalMapping().
|
static |
Definition at line 473 of file lbmap.cxx.
References getMappingName(), getMappingsData(), and loadExternalMapping().
Referenced by getMediateMapping().
IdContainer & cppu::getIdContainer | ( | ) |
Definition at line 109 of file current.cxx.
Referenced by uno_bindIdToCurrentThread(), uno_getCurrentContext(), uno_getIdOfCurrentThread(), uno_releaseIdFromCurrentThread(), and uno_setCurrentContext().
|
static |
Definition at line 285 of file lbmap.cxx.
Referenced by getDirectMapping(), uno_getMapping(), and uno_registerMapping().
|
static |
Definition at line 168 of file lbmap.cxx.
Referenced by getDirectMapping(), loadModule(), setNegativeBridge(), uno_getMapping(), uno_registerMapping(), uno_registerMappingCallback(), uno_revokeMapping(), and uno_revokeMappingCallback().
|
static |
Definition at line 512 of file lbmap.cxx.
References aFrom2Uno, aUno2To, createMediateMapping(), Environment, getDirectMapping(), uno_createEnvironment(), and uno_getEnvironment().
Referenced by uno_getMapping().
|
inline |
A working replacement for getCppuType (see there).
There are three overloads of this function that together form the replacement of getCppuType. The replacement has exactly the same semantics as getCppuType, in that it returns correct results for the UNO type UNSIGNED SHORT but not for the UNO type CHAR.
|
inline |
A working replacement for getCppuType (see there).
There are three overloads of this function that together form the replacement of getCppuType. The replacement has exactly the same semantics as getCppuType, in that it returns correct results for the UNO type UNSIGNED SHORT but not for the UNO type CHAR.
Definition at line 339 of file unotype.hxx.
|
inline |
A working replacement for getCppuType (see there).
There are three overloads of this function that together form the replacement of getCppuType. The replacement has exactly the same semantics as getCppuType, in that it returns correct results for the UNO type UNSIGNED SHORT but not for the UNO type CHAR.
Definition at line 324 of file unotype.hxx.
|
static |
Definition at line 311 of file sequence.cxx.
References _acquire(), _copyConstructAny(), _copyConstructStruct(), icopyConstructSequence(), nPos, reallocSeq(), TYPE_ACQUIRE, and uno_type_copyData().
Referenced by ireallocSequence(), uno_sequence_construct(), uno_sequence_reference2One(), uno_type_sequence_construct(), and uno_type_sequence_reference2One().
|
inline |
Definition at line 398 of file copy.hxx.
References _copyConstructAnyFromData(), _copyConstructStruct(), allocSeq(), CONSTRUCT_EMPTY_ANY(), copyConstructSequence(), nElements, nPos, and pData.
Referenced by _copyConstructData(), copyConstructSequence(), and icopyConstructFromElements().
|
static |
Definition at line 69 of file sequence.cxx.
References _defaultConstructStruct(), _getVoidType(), CONSTRUCT_EMPTY_ANY(), createEmptySequence(), nPos, and reallocSeq().
Referenced by ireallocSequence(), uno_sequence_construct(), and uno_type_sequence_construct().
|
inline |
Definition at line 261 of file destr.hxx.
References idestructElements().
Referenced by idestructSequence(), and uno_type_sequence_destroy().
|
inline |
Definition at line 141 of file destr.hxx.
References _destructAny(), _destructStruct(), destructSequence(), nPos, p, and typelib_typedescriptionreference_release().
Referenced by idestroySequence(), and ireallocSequence().
|
inline |
Definition at line 291 of file destr.hxx.
References idestroySequence().
Referenced by _assignData(), _destructData(), destructSequence(), uno_sequence_assign(), uno_sequence_reference2One(), uno_type_sequence_assign(), and uno_type_sequence_reference2One().
|
static |
Definition at line 571 of file sequence.cxx.
References icopyConstructFromElements(), idefaultConstructElements(), idestructElements(), nElements, and reallocSeq().
Referenced by uno_sequence_realloc(), and uno_type_sequence_realloc().
|
static |
Definition at line 385 of file lbmap.cxx.
References aName, getBridgeName(), cppu::EnvDcp::getTypeName(), loadModule(), SAL_INFO, and setNegativeBridge().
Referenced by getDirectMapping(), and uno_getMapping().
|
static |
Definition at line 353 of file lbmap.cxx.
References getMappingsData(), cppu::detail::loadModule(), and setNegativeBridge().
Referenced by loadExternalMapping().
|
inline |
|
inline |
Maps an any from an outer Environment to the current, fills passed any.
any | the any to be mapped |
res | the target any |
outerEnv | the source environment |
Definition at line 94 of file Map.hxx.
References any, uno_any_destruct(), and uno_type_any_constructAndConvert().
|
inline |
Helpers for mapping objects relative to the current environment.
(http://wiki.openoffice.org/wiki/Uno/Cpp/Spec/Map_Helpers) Maps an object from the current to an outer Environment, returns mapped object.
pT | the object to be mapped |
outerEnv | the target environment |
|
inline |
Maps an any from the current to an outer Environment, fills passed any.
any | the any to be mapped |
res | the target any |
outerEnv | the target environment |
Definition at line 74 of file Map.hxx.
References any, uno_any_destruct(), and uno_type_any_constructAndConvert().
|
static |
Definition at line 211 of file lbmap.cxx.
References aFrom, mediate_free(), nRef, pMapping, and uno_registerMapping().
|
static |
Definition at line 206 of file lbmap.cxx.
References pMapping.
Referenced by createMediateMapping(), and mediate_acquire().
|
static |
|
static |
Definition at line 224 of file lbmap.cxx.
References nRef, pMapping, and uno_revokeMapping().
|
static |
Definition at line 42 of file sequence.cxx.
References calcSeqMemSize(), and nElements.
Referenced by icopyConstructFromElements(), idefaultConstructElements(), and ireallocSequence().
|
static |
Definition at line 318 of file lbmap.cxx.
References getMappingsData().
Referenced by loadExternalMapping(), and loadModule().
uno_Sequence cppu::g_emptySeq = { 1, 0, { 0 } } |
Definition at line 36 of file data.cxx.
Referenced by createEmptySequence().
typelib_TypeDescriptionReference * cppu::g_pVoidType = nullptr |
Definition at line 37 of file data.cxx.
Referenced by _getVoidType().