LibreOffice Module cppuhelper (master) 1
|
This is a straight copy of the include/comphelper/compbase.hxx file, copied here because it is nigh impossible to move shared code down into the URE layer. More...
Namespaces | |
namespace | detail |
Classes | |
class | OInterfaceContainerHelper4 |
A container of interfaces. More... | |
class | OInterfaceIteratorHelper4 |
This is the iterator of an OInterfaceContainerHelper4. More... | |
class | ServiceManager |
class | TypeManager |
class | UnoImplBase |
This is a straight copy of the include/comphelper/unoimplbase.hxx file, copied here because it is nigh impossible to move shared code down into the URE layer. More... | |
class | WeakComponentImplHelper2 |
class | WeakComponentImplHelperBase2 |
Serves two purposes (1) extracts code that doesn't need to be templated (2) helps to handle the custom where we have conflicting interfaces e.g. More... | |
Typedefs | |
typedef css::uno::XInterface * | ImplementationConstructorFn(css::uno::XComponentContext *, css::uno::Sequence< css::uno::Any > const &) |
typedef std::function< css::uno::XInterface *(css::uno::XComponentContext *, css::uno::Sequence< css::uno::Any > const &)> | WrapperConstructorFn |
typedef WeakComponentImplHelper2< css::lang::XServiceInfo, css::lang::XMultiServiceFactory, css::lang::XMultiComponentFactory, css::container::XSet, css::container::XContentEnumerationAccess, css::beans::XPropertySet, css::beans::XPropertySetInfo, css::lang::XEventListener, css::lang::XInitialization > | ServiceManagerBase |
typedef WeakComponentImplHelper2< css::lang::XServiceInfo, css::container::XHierarchicalNameAccess, css::container::XSet, css::reflection::XTypeDescriptionEnumerationAccess > | TypeManager_Base |
Functions | |
static void | checkInterface (css::uno::Type const &rType) |
static bool | isXInterface (rtl_uString *pStr) |
static bool | td_equals (typelib_TypeDescriptionReference const *pTDR1, typelib_TypeDescriptionReference const *pTDR2) |
static cppu::type_entry * | getTypeEntries (cppu::class_data *cd) |
static void * | makeInterface (sal_IntPtr nOffset, void *that) |
static bool | recursivelyFindType (typelib_TypeDescriptionReference const *demandedType, typelib_InterfaceTypeDescription const *type, sal_IntPtr *offset) |
static void * | queryDeepNoXInterface (typelib_TypeDescriptionReference const *pDemandedTDR, cppu::class_data *cd, void *that) |
css::uno::Any | WeakComponentImplHelper_query (css::uno::Type const &rType, cppu::class_data *cd, WeakComponentImplHelperBase2 *pBase) |
WeakComponentImplHelper. More... | |
This is a straight copy of the include/comphelper/compbase.hxx file, copied here because it is nigh impossible to move shared code down into the URE layer.
This is a straight copy of the include/comphelper/interfacecontainer4.hxx file, copied here because it is nigh impossible to move shared code down into the URE layer.
typedef css::uno::XInterface * cppuhelper::ImplementationConstructorFn(css::uno::XComponentContext *, css::uno::Sequence< css::uno::Any > const &) |
Definition at line 49 of file servicemanager.hxx.
typedef WeakComponentImplHelper2< css::lang::XServiceInfo, css::lang::XMultiServiceFactory, css::lang::XMultiComponentFactory, css::container::XSet, css::container::XContentEnumerationAccess, css::beans::XPropertySet, css::beans::XPropertySetInfo, css::lang::XEventListener, css::lang::XInitialization> cppuhelper::ServiceManagerBase |
Definition at line 62 of file servicemanager.hxx.
typedef WeakComponentImplHelper2< css::lang::XServiceInfo, css::container::XHierarchicalNameAccess, css::container::XSet, css::reflection::XTypeDescriptionEnumerationAccess > cppuhelper::TypeManager_Base |
Definition at line 42 of file typemanager.hxx.
typedef std::function<css::uno::XInterface * (css::uno::XComponentContext *, css::uno::Sequence<css::uno::Any> const&)> cppuhelper::WrapperConstructorFn |
Definition at line 54 of file servicemanager.hxx.
|
static |
Definition at line 59 of file compbase.cxx.
References SAL_WARN.
Referenced by WeakComponentImplHelper_query().
|
static |
Definition at line 81 of file compbase.cxx.
References aMutex, isXInterface(), n, and SAL_WARN.
Referenced by queryDeepNoXInterface().
|
static |
Definition at line 69 of file compbase.cxx.
Referenced by getTypeEntries(), and WeakComponentImplHelper_query().
|
static |
Definition at line 120 of file compbase.cxx.
Referenced by queryDeepNoXInterface().
|
static |
Definition at line 165 of file compbase.cxx.
References getTypeEntries(), m_type, makeInterface(), n, recursivelyFindType(), SAL_WARN, and td_equals().
Referenced by WeakComponentImplHelper_query().
|
static |
Definition at line 125 of file compbase.cxx.
References base, i, recursivelyFindType(), td_equals(), and type.
Referenced by queryDeepNoXInterface(), and recursivelyFindType().
|
static |
Definition at line 74 of file compbase.cxx.
Referenced by queryDeepNoXInterface(), and recursivelyFindType().
CPPUHELPER_DLLPUBLIC css::uno::Any cppuhelper::WeakComponentImplHelper_query | ( | css::uno::Type const & | rType, |
cppu::class_data * | cd, | ||
WeakComponentImplHelperBase2 * | pBase | ||
) |
WeakComponentImplHelper.
Definition at line 211 of file compbase.cxx.
References checkInterface(), isXInterface(), p, and queryDeepNoXInterface().
Referenced by cppuhelper::WeakComponentImplHelper2< Ifc >::queryInterface().