UDK 3.2.7 C/C++ API Reference
Namespaces | Classes | Typedefs | Functions
cppu Namespace Reference

Namespaces

namespace  detail
namespace  EnvDcp
namespace  helper

Classes

class  Enterable
 C++ wrapper for binary C Enterable (http://wiki.services.openoffice.org/wiki/Uno/Cpp/Spec/Environment_Stack) More...
class  EnvGuard
 Environment Guard The provided Environment becomes entered in the constructor and left in the destructor. More...
class  AntiEnvGuard
 Environment Anti-Guard Any entered Environment becomes left in the constructor and re-entered in the destructor. More...
class  FreeReference
 Freely (environment independent) usable Reference. More...
class  UnoType
 Get the com::sun::star::uno::Type instance representing a certain UNO type. More...
class  AccessControl
 Helper class retriving access controller singleton from component context. More...
class  BaseMutex
 base class for all classes who want derive from cppu::WeakComponentImplHelperXX. More...
class  BootstrapException
 An exception indicating a bootstrap error. More...
class  WeakComponentImplHelper1
 Implementation helper supporting com::sun::star::lang::XTypeProvider and com::sun::star::lang::XComponent. More...
class  PartialWeakComponentImplHelper1
 Same as WeakComponentImplHelper1, except doesn't implement addEventListener, removeEventListener and dispose. More...
class  WeakAggComponentImplHelper1
 Implementation helper supporting com::sun::star::lang::XTypeProvider and com::sun::star::lang::XComponent. More...
class  WeakComponentImplHelper10
 Implementation helper supporting com::sun::star::lang::XTypeProvider and com::sun::star::lang::XComponent. More...
class  PartialWeakComponentImplHelper10
 Same as WeakComponentImplHelper10, except doesn't implement addEventListener, removeEventListener and dispose. More...
class  WeakAggComponentImplHelper10
 Implementation helper supporting com::sun::star::lang::XTypeProvider and com::sun::star::lang::XComponent. More...
class  WeakComponentImplHelper11
 Implementation helper supporting com::sun::star::lang::XTypeProvider and com::sun::star::lang::XComponent. More...
class  PartialWeakComponentImplHelper11
 Same as WeakComponentImplHelper11, except doesn't implement addEventListener, removeEventListener and dispose. More...
class  WeakAggComponentImplHelper11
 Implementation helper supporting com::sun::star::lang::XTypeProvider and com::sun::star::lang::XComponent. More...
class  WeakComponentImplHelper12
 Implementation helper supporting com::sun::star::lang::XTypeProvider and com::sun::star::lang::XComponent. More...
class  PartialWeakComponentImplHelper12
 Same as WeakComponentImplHelper12, except doesn't implement addEventListener, removeEventListener and dispose. More...
class  WeakAggComponentImplHelper12
 Implementation helper supporting com::sun::star::lang::XTypeProvider and com::sun::star::lang::XComponent. More...
class  WeakComponentImplHelper2
 Implementation helper supporting com::sun::star::lang::XTypeProvider and com::sun::star::lang::XComponent. More...
class  PartialWeakComponentImplHelper2
 Same as WeakComponentImplHelper2, except doesn't implement addEventListener, removeEventListener and dispose. More...
class  WeakAggComponentImplHelper2
 Implementation helper supporting com::sun::star::lang::XTypeProvider and com::sun::star::lang::XComponent. More...
class  WeakComponentImplHelper3
 Implementation helper supporting com::sun::star::lang::XTypeProvider and com::sun::star::lang::XComponent. More...
class  PartialWeakComponentImplHelper3
 Same as WeakComponentImplHelper3, except doesn't implement addEventListener, removeEventListener and dispose. More...
class  WeakAggComponentImplHelper3
 Implementation helper supporting com::sun::star::lang::XTypeProvider and com::sun::star::lang::XComponent. More...
class  WeakComponentImplHelper4
 Implementation helper supporting com::sun::star::lang::XTypeProvider and com::sun::star::lang::XComponent. More...
class  PartialWeakComponentImplHelper4
 Same as WeakComponentImplHelper4, except doesn't implement addEventListener, removeEventListener and dispose. More...
class  WeakAggComponentImplHelper4
 Implementation helper supporting com::sun::star::lang::XTypeProvider and com::sun::star::lang::XComponent. More...
class  WeakComponentImplHelper5
 Implementation helper supporting com::sun::star::lang::XTypeProvider and com::sun::star::lang::XComponent. More...
class  PartialWeakComponentImplHelper5
 Same as WeakComponentImplHelper5, except doesn't implement addEventListener, removeEventListener and dispose. More...
class  WeakAggComponentImplHelper5
 Implementation helper supporting com::sun::star::lang::XTypeProvider and com::sun::star::lang::XComponent. More...
class  WeakComponentImplHelper6
 Implementation helper supporting com::sun::star::lang::XTypeProvider and com::sun::star::lang::XComponent. More...
class  PartialWeakComponentImplHelper6
 Same as WeakComponentImplHelper6, except doesn't implement addEventListener, removeEventListener and dispose. More...
class  WeakAggComponentImplHelper6
 Implementation helper supporting com::sun::star::lang::XTypeProvider and com::sun::star::lang::XComponent. More...
class  WeakComponentImplHelper7
 Implementation helper supporting com::sun::star::lang::XTypeProvider and com::sun::star::lang::XComponent. More...
class  PartialWeakComponentImplHelper7
 Same as WeakComponentImplHelper7, except doesn't implement addEventListener, removeEventListener and dispose. More...
class  WeakAggComponentImplHelper7
 Implementation helper supporting com::sun::star::lang::XTypeProvider and com::sun::star::lang::XComponent. More...
class  WeakComponentImplHelper8
 Implementation helper supporting com::sun::star::lang::XTypeProvider and com::sun::star::lang::XComponent. More...
class  PartialWeakComponentImplHelper8
 Same as WeakComponentImplHelper8, except doesn't implement addEventListener, removeEventListener and dispose. More...
class  WeakAggComponentImplHelper8
 Implementation helper supporting com::sun::star::lang::XTypeProvider and com::sun::star::lang::XComponent. More...
class  WeakComponentImplHelper9
 Implementation helper supporting com::sun::star::lang::XTypeProvider and com::sun::star::lang::XComponent. More...
class  PartialWeakComponentImplHelper9
 Same as WeakComponentImplHelper9, except doesn't implement addEventListener, removeEventListener and dispose. More...
class  WeakAggComponentImplHelper9
 Implementation helper supporting com::sun::star::lang::XTypeProvider and com::sun::star::lang::XComponent. More...
class  OComponentHelper
 Deprecated. More...
struct  ContextEntry_Init
 Context entries init struct calling createComponentContext(). More...
class  ImplHelper1
 Implementation helper implementing interface com::sun::star::lang::XTypeProvider and method XInterface::queryInterface(), but no reference counting. More...
class  WeakImplHelper1
 Implementation helper implementing interfaces com::sun::star::lang::XTypeProvider and com::sun::star::uno::XInterface which supports weak mechanism to be held weakly (supporting com::sun::star::uno::XWeak thru cppu::OWeakObject). More...
class  WeakAggImplHelper1
 Implementation helper implementing interfaces com::sun::star::lang::XTypeProvider and com::sun::star::uno::XInterface which supports weak mechanism to be held weakly (supporting com::sun::star::uno::XWeak thru cppu::OWeakAggObject). More...
class  ImplInheritanceHelper1
 Implementation helper implementing interfaces com::sun::star::lang::XTypeProvider and com::sun::star::uno::XInterface inherting from a BaseClass. More...
class  AggImplInheritanceHelper1
 Implementation helper implementing interfaces com::sun::star::lang::XTypeProvider and com::sun::star::uno::XInterface inherting from a BaseClass. More...
class  ImplHelper10
 Implementation helper implementing interface com::sun::star::lang::XTypeProvider and method XInterface::queryInterface(), but no reference counting. More...
class  WeakImplHelper10
 Implementation helper implementing interfaces com::sun::star::lang::XTypeProvider and com::sun::star::uno::XInterface which supports weak mechanism to be held weakly (supporting com::sun::star::uno::XWeak thru cppu::OWeakObject). More...
class  WeakAggImplHelper10
 Implementation helper implementing interfaces com::sun::star::lang::XTypeProvider and com::sun::star::uno::XInterface which supports weak mechanism to be held weakly (supporting com::sun::star::uno::XWeak thru cppu::OWeakAggObject). More...
class  ImplInheritanceHelper10
 Implementation helper implementing interfaces com::sun::star::lang::XTypeProvider and com::sun::star::uno::XInterface inherting from a BaseClass. More...
class  AggImplInheritanceHelper10
 Implementation helper implementing interfaces com::sun::star::lang::XTypeProvider and com::sun::star::uno::XInterface inherting from a BaseClass. More...
class  ImplHelper11
 Implementation helper implementing interface com::sun::star::lang::XTypeProvider and method XInterface::queryInterface(), but no reference counting. More...
class  WeakImplHelper11
 Implementation helper implementing interfaces com::sun::star::lang::XTypeProvider and com::sun::star::uno::XInterface which supports weak mechanism to be held weakly (supporting com::sun::star::uno::XWeak thru cppu::OWeakObject). More...
class  WeakAggImplHelper11
 Implementation helper implementing interfaces com::sun::star::lang::XTypeProvider and com::sun::star::uno::XInterface which supports weak mechanism to be held weakly (supporting com::sun::star::uno::XWeak thru cppu::OWeakAggObject). More...
class  ImplInheritanceHelper11
 Implementation helper implementing interfaces com::sun::star::lang::XTypeProvider and com::sun::star::uno::XInterface inherting from a BaseClass. More...
class  AggImplInheritanceHelper11
 Implementation helper implementing interfaces com::sun::star::lang::XTypeProvider and com::sun::star::uno::XInterface inherting from a BaseClass. More...
class  ImplHelper12
 Implementation helper implementing interface com::sun::star::lang::XTypeProvider and method XInterface::queryInterface(), but no reference counting. More...
class  WeakImplHelper12
 Implementation helper implementing interfaces com::sun::star::lang::XTypeProvider and com::sun::star::uno::XInterface which supports weak mechanism to be held weakly (supporting com::sun::star::uno::XWeak thru cppu::OWeakObject). More...
class  WeakAggImplHelper12
 Implementation helper implementing interfaces com::sun::star::lang::XTypeProvider and com::sun::star::uno::XInterface which supports weak mechanism to be held weakly (supporting com::sun::star::uno::XWeak thru cppu::OWeakAggObject). More...
class  ImplInheritanceHelper12
 Implementation helper implementing interfaces com::sun::star::lang::XTypeProvider and com::sun::star::uno::XInterface inherting from a BaseClass. More...
class  AggImplInheritanceHelper12
 Implementation helper implementing interfaces com::sun::star::lang::XTypeProvider and com::sun::star::uno::XInterface inherting from a BaseClass. More...
class  ImplHelper2
 Implementation helper implementing interface com::sun::star::lang::XTypeProvider and queryInterface(), but no reference counting. More...
class  WeakImplHelper2
 Implementation helper implementing interfaces com::sun::star::lang::XTypeProvider and com::sun::star::uno::XInterface which supports weak mechanism to be held weakly (supporting com::sun::star::uno::XWeak thru cppu::OWeakObject). More...
class  WeakAggImplHelper2
 Implementation helper implementing interfaces com::sun::star::lang::XTypeProvider and com::sun::star::uno::XInterface which supports weak mechanism to be held weakly (supporting com::sun::star::uno::XWeak thru cppu::OWeakAggObject). More...
class  ImplInheritanceHelper2
 Implementation helper implementing interfaces com::sun::star::lang::XTypeProvider and com::sun::star::uno::XInterface inherting from a BaseClass. More...
class  AggImplInheritanceHelper2
 Implementation helper implementing interfaces com::sun::star::lang::XTypeProvider and com::sun::star::uno::XInterface inherting from a BaseClass. More...
class  ImplHelper3
 Implementation helper implementing interface com::sun::star::lang::XTypeProvider and method XInterface::queryInterface(), but no reference counting. More...
class  WeakImplHelper3
 Implementation helper implementing interfaces com::sun::star::lang::XTypeProvider and com::sun::star::uno::XInterface which supports weak mechanism to be held weakly (supporting com::sun::star::uno::XWeak thru cppu::OWeakObject). More...
class  WeakAggImplHelper3
 Implementation helper implementing interfaces com::sun::star::lang::XTypeProvider and com::sun::star::uno::XInterface which supports weak mechanism to be held weakly (supporting com::sun::star::uno::XWeak thru cppu::OWeakAggObject). More...
class  ImplInheritanceHelper3
 Implementation helper implementing interfaces com::sun::star::lang::XTypeProvider and com::sun::star::uno::XInterface inherting from a BaseClass. More...
class  AggImplInheritanceHelper3
 Implementation helper implementing interfaces com::sun::star::lang::XTypeProvider and com::sun::star::uno::XInterface inherting from a BaseClass. More...
class  ImplHelper4
 Implementation helper implementing interface com::sun::star::lang::XTypeProvider and method XInterface::queryInterface(), but no reference counting. More...
class  WeakImplHelper4
 Implementation helper implementing interfaces com::sun::star::lang::XTypeProvider and com::sun::star::uno::XInterface which supports weak mechanism to be held weakly (supporting com::sun::star::uno::XWeak thru cppu::OWeakObject). More...
class  WeakAggImplHelper4
 Implementation helper implementing interfaces com::sun::star::lang::XTypeProvider and com::sun::star::uno::XInterface which supports weak mechanism to be held weakly (supporting com::sun::star::uno::XWeak thru cppu::OWeakAggObject). More...
class  ImplInheritanceHelper4
 Implementation helper implementing interfaces com::sun::star::lang::XTypeProvider and com::sun::star::uno::XInterface inherting from a BaseClass. More...
class  AggImplInheritanceHelper4
 Implementation helper implementing interfaces com::sun::star::lang::XTypeProvider and com::sun::star::uno::XInterface inherting from a BaseClass. More...
class  ImplHelper5
 Implementation helper implementing interface com::sun::star::lang::XTypeProvider and method XInterface::queryInterface(), but no reference counting. More...
class  WeakImplHelper5
 Implementation helper implementing interfaces com::sun::star::lang::XTypeProvider and com::sun::star::uno::XInterface which supports weak mechanism to be held weakly (supporting com::sun::star::uno::XWeak thru cppu::OWeakObject). More...
class  WeakAggImplHelper5
 Implementation helper implementing interfaces com::sun::star::lang::XTypeProvider and com::sun::star::uno::XInterface which supports weak mechanism to be held weakly (supporting com::sun::star::uno::XWeak thru cppu::OWeakAggObject). More...
class  ImplInheritanceHelper5
 Implementation helper implementing interfaces com::sun::star::lang::XTypeProvider and com::sun::star::uno::XInterface inherting from a BaseClass. More...
class  AggImplInheritanceHelper5
 Implementation helper implementing interfaces com::sun::star::lang::XTypeProvider and com::sun::star::uno::XInterface inherting from a BaseClass. More...
class  ImplHelper6
 Implementation helper implementing interface com::sun::star::lang::XTypeProvider and method XInterface::queryInterface(), but no reference counting. More...
class  WeakImplHelper6
 Implementation helper implementing interfaces com::sun::star::lang::XTypeProvider and com::sun::star::uno::XInterface which supports weak mechanism to be held weakly (supporting com::sun::star::uno::XWeak thru cppu::OWeakObject). More...
class  WeakAggImplHelper6
 Implementation helper implementing interfaces com::sun::star::lang::XTypeProvider and com::sun::star::uno::XInterface which supports weak mechanism to be held weakly (supporting com::sun::star::uno::XWeak thru cppu::OWeakAggObject). More...
class  ImplInheritanceHelper6
 Implementation helper implementing interfaces com::sun::star::lang::XTypeProvider and com::sun::star::uno::XInterface inherting from a BaseClass. More...
class  AggImplInheritanceHelper6
 Implementation helper implementing interfaces com::sun::star::lang::XTypeProvider and com::sun::star::uno::XInterface inherting from a BaseClass. More...
class  ImplHelper7
 Implementation helper implementing interface com::sun::star::lang::XTypeProvider and method XInterface::queryInterface(), but no reference counting. More...
class  WeakImplHelper7
 Implementation helper implementing interfaces com::sun::star::lang::XTypeProvider and com::sun::star::uno::XInterface which supports weak mechanism to be held weakly (supporting com::sun::star::uno::XWeak thru cppu::OWeakObject). More...
class  WeakAggImplHelper7
 Implementation helper implementing interfaces com::sun::star::lang::XTypeProvider and com::sun::star::uno::XInterface which supports weak mechanism to be held weakly (supporting com::sun::star::uno::XWeak thru cppu::OWeakAggObject). More...
class  ImplInheritanceHelper7
 Implementation helper implementing interfaces com::sun::star::lang::XTypeProvider and com::sun::star::uno::XInterface inherting from a BaseClass. More...
class  AggImplInheritanceHelper7
 Implementation helper implementing interfaces com::sun::star::lang::XTypeProvider and com::sun::star::uno::XInterface inherting from a BaseClass. More...
class  ImplHelper8
 Implementation helper implementing interface com::sun::star::lang::XTypeProvider and method XInterface::queryInterface(), but no reference counting. More...
class  WeakImplHelper8
 Implementation helper implementing interfaces com::sun::star::lang::XTypeProvider and com::sun::star::uno::XInterface which supports weak mechanism to be held weakly (supporting com::sun::star::uno::XWeak thru cppu::OWeakObject). More...
class  WeakAggImplHelper8
 Implementation helper implementing interfaces com::sun::star::lang::XTypeProvider and com::sun::star::uno::XInterface which supports weak mechanism to be held weakly (supporting com::sun::star::uno::XWeak thru cppu::OWeakAggObject). More...
class  ImplInheritanceHelper8
 Implementation helper implementing interfaces com::sun::star::lang::XTypeProvider and com::sun::star::uno::XInterface inherting from a BaseClass. More...
class  AggImplInheritanceHelper8
 Implementation helper implementing interfaces com::sun::star::lang::XTypeProvider and com::sun::star::uno::XInterface inherting from a BaseClass. More...
class  ImplHelper9
 Implementation helper implementing interface com::sun::star::lang::XTypeProvider and method XInterface::queryInterface(), but no reference counting. More...
class  WeakImplHelper9
 Implementation helper implementing interfaces com::sun::star::lang::XTypeProvider and com::sun::star::uno::XInterface which supports weak mechanism to be held weakly (supporting com::sun::star::uno::XWeak thru cppu::OWeakObject). More...
class  WeakAggImplHelper9
 Implementation helper implementing interfaces com::sun::star::lang::XTypeProvider and com::sun::star::uno::XInterface which supports weak mechanism to be held weakly (supporting com::sun::star::uno::XWeak thru cppu::OWeakAggObject). More...
class  ImplInheritanceHelper9
 Implementation helper implementing interfaces com::sun::star::lang::XTypeProvider and com::sun::star::uno::XInterface inherting from a BaseClass. More...
class  AggImplInheritanceHelper9
 Implementation helper implementing interfaces com::sun::star::lang::XTypeProvider and com::sun::star::uno::XInterface inherting from a BaseClass. More...
struct  ImplementationEntry
 One struct instance represents all data necessary for registering one service implementation. More...
class  OInterfaceIteratorHelper
 This is the iterator of a InterfaceContainerHelper. More...
class  OInterfaceContainerHelper
 A container of interfaces. More...
class  OMultiTypeInterfaceContainerHelperVar
 A helper class to store interface references of different types. More...
struct  OBroadcastHelperVar
 This struct contains the standard variables of a broadcaster. More...
struct  hashType_Impl
class  OMultiTypeInterfaceContainerHelper
 Specialized class for key type com::sun::star::uno::Type, without explicit usage of STL symbols. More...
class  PropertySetMixinImpl
 A helper base class for cppu::PropertySetMixin. More...
class  PropertySetMixin
 A helper mixin to implement certain UNO interfaces related to property set handling on top of the attributes of a given UNO interface type. More...
class  IPropertyArrayHelper
 This interface is used by the OPropertyHelper, to access the property description. More...
class  OPropertyArrayHelper
 You can use this helper class to map a XPropertySet-Interface to a XFast- or a XMultiPropertySet interface. More...
struct  equalInt32_Impl
struct  hashInt32_Impl
class  OMultiTypeInterfaceContainerHelperInt32
 Specialized class for key type sal_Int32, without explicit usage of STL symbols. More...
class  IEventNotificationHook
 An interface to extend event notification actions. More...
class  OPropertySetHelper
 This abstract class maps the methods of the interfaces XMultiPropertySet, XFastPropertySet and XPropertySet to the methods getInfoHelper, convertFastPropertyValue, setFastPropertyValue_NoBroadcast and getFastPropertyValue. More...
class  OPropertySetHelper2
 OPropertySetHelper plus XPropertySetOption. More...
class  OTypeCollection
 Helper class to implement com::sun::star::lang::XTypeProvider. More...
class  OImplementationId
 Helper class to implement com::sun::star::lang::XTypeProvider. More...
class  UnoUrlDescriptor
 A descriptor as part of a UNO URL (connection descriptor or protocol descriptor). More...
class  UnoUrl
 Parse UNO URLs into their components. More...
class  OWeakObject
 Base class to implement an UNO object supporting weak references, i.e. More...
class  OWeakAggObject
 Base class to implement an UNO object supporting weak references, i.e. More...

Typedefs

typedef
::com::sun::star::uno::Reference
< ::com::sun::star::uno::XInterface >(* 
ComponentFactoryFunc )(::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext > const &xContext)
 Function pointer declaration.
typedef
::com::sun::star::uno::Reference
< ::com::sun::star::uno::XInterface >(* 
ComponentInstantiation )(const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory > &rServiceManager)
 Deprecated.
typedef OBroadcastHelperVar
< OMultiTypeInterfaceContainerHelper,
OMultiTypeInterfaceContainerHelper::keyType
OBroadcastHelper

Functions

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, cssu::Environment const &outerEnv)
 Helpers for mapping objects relative to the current environment.
template<class T >
T * mapIn (T *pT, cssu::Environment const &outerEnv)
 Maps an object from an outer Environment to the current, returns mapped object.
void mapOutAny (cssu::Any const &any, cssu::Any *res, cssu::Environment const &outerEnv)
 Maps an any from the current to an outer Environment, fills passed any.
void mapInAny (cssu::Any const &any, cssu::Any *res, cssu::Environment const &outerEnv)
 Maps an any from an outer Environment to the current, fills passed any.
template<class T >
T * shield (T *pT)
 Helpers for mapping objects relative to the thread-safe and current environments.
template<class T >
T * unshield (T *pT)
 Maps an object from the thread-safe Environment to the current one, returns mapped object.
void shieldAny (cssu::Any const &any, cssu::Any *res)
 Maps an any from the current to the thread-safe Environment, fills the passed any.
void unshieldAny (cssu::Any const &any, cssu::Any *res)
 Maps an any from the thread-safe Environment to the current one, fills the passed any.
template<typename T >
::com::sun::star::uno::Type const & getTypeFavourUnsigned (SAL_UNUSED_PARAMETER T const *)
 A working replacement for getCppuType (see there).
inline::com::sun::star::uno::Type
const & 
getTypeFavourUnsigned (SAL_UNUSED_PARAMETER::sal_uInt16 const *)
 A working replacement for getCppuType (see there).
template<typename T >
::com::sun::star::uno::Type const & getTypeFavourUnsigned (::com::sun::star::uno::Sequence< T > const *)
 A working replacement for getCppuType (see there).
CPPUHELPER_DLLPUBLIC::com::sun::star::uno::Reference
< ::com::sun::star::registry::XSimpleRegistry > 
createSimpleRegistry (const ::rtl::OUString &rBootstrapPath=::rtl::OUString()) throw ()
 Creates a simple registry service instance.
CPPUHELPER_DLLPUBLIC::com::sun::star::uno::Reference
< ::com::sun::star::registry::XSimpleRegistry > 
createNestedRegistry (const ::rtl::OUString &rBootstrapPath=::rtl::OUString()) throw ()
 Creates a nested registry service instance.
CPPUHELPER_DLLPUBLIC sal_Bool installTypeDescriptionManager (::com::sun::star::uno::Reference< ::com::sun::star::container::XHierarchicalNameAccess > const &xTDMgr) throw ()
 Installs type description manager instance, i.e.
CPPUHELPER_DLLPUBLIC::com::sun::star::uno::Reference
< ::com::sun::star::uno::XComponentContext > 
bootstrap_InitialComponentContext (::com::sun::star::uno::Reference< ::com::sun::star::registry::XSimpleRegistry > const &xRegistry,::rtl::OUString const &rBootstrapPath=::rtl::OUString()) throw (::com::sun::star::uno::Exception)
 Bootstraps an initial component context with service manager upon a given registry.
CPPUHELPER_DLLPUBLIC::com::sun::star::uno::Reference
< ::com::sun::star::uno::XComponentContext > 
defaultBootstrap_InitialComponentContext () throw (::com::sun::star::uno::Exception)
 Bootstraps an initial component context with service manager upon information from bootstrap variables.
CPPUHELPER_DLLPUBLIC::com::sun::star::uno::Reference
< ::com::sun::star::uno::XComponentContext > 
defaultBootstrap_InitialComponentContext (const ::rtl::OUString &iniFile) throw (::com::sun::star::uno::Exception)
 Bootstraps an initial component context with service manager upon information from an ini file.
CPPUHELPER_DLLPUBLIC::com::sun::star::uno::Reference
< ::com::sun::star::uno::XComponentContext > 
bootstrap ()
 Bootstraps the component context from a UNO installation.
CPPUHELPER_DLLPUBLIC::com::sun::star::uno::Reference
< ::com::sun::star::uno::XComponentContext > 
createComponentContext (ContextEntry_Init const *pEntries, sal_Int32 nEntries,::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext > const &xDelegate=::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext >()) throw ()
 Creates a component context with the given entries.
CPPUHELPER_DLLPUBLIC void throwException (const ::com::sun::star::uno::Any &rExc) throw (::com::sun::star::uno::Exception)
 This function throws the exception given by rExc.
CPPUHELPER_DLLPUBLIC::com::sun::star::uno::Any getCaughtException ()
 Use this function to get the dynamic type of a caught C++-UNO exception; completes the above function throwing exceptions generically.
CPPUHELPER_DLLPUBLIC::com::sun::star::uno::Reference
< ::com::sun::star::lang::XSingleComponentFactory > 
createSingleComponentFactory (ComponentFactoryFunc fptr,::rtl::OUString const &rImplementationName,::com::sun::star::uno::Sequence< ::rtl::OUString > const &rServiceNames, rtl_ModuleCount *pModCount=0) throw ()
 Creates a single component factory supporting the XSingleComponentFactory interface.
CPPUHELPER_DLLPUBLIC::com::sun::star::uno::Reference
< ::com::sun::star::lang::XSingleComponentFactory > 
createOneInstanceComponentFactory (ComponentFactoryFunc fptr,::rtl::OUString const &rImplementationName,::com::sun::star::uno::Sequence< ::rtl::OUString > const &rServiceNames, rtl_ModuleCount *pModCount=0) throw ()
 Creates a single service factory which holds the instance created only once.
CPPUHELPER_DLLPUBLIC::com::sun::star::uno::Reference
< ::com::sun::star::lang::XSingleServiceFactory > 
createSingleFactory (const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory > &rServiceManager, const ::rtl::OUString &rImplementationName, ComponentInstantiation pCreateFunction, const ::com::sun::star::uno::Sequence< ::rtl::OUString > &rServiceNames, rtl_ModuleCount *pModCount=0) throw ()
 Deprecated.
CPPUHELPER_DLLPUBLIC::com::sun::star::uno::Reference
< ::com::sun::star::lang::XSingleServiceFactory > 
createFactoryProxy (const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory > &rServiceManager, const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XSingleServiceFactory > &rFactory) throw ()
 Deprecated.
CPPUHELPER_DLLPUBLIC::com::sun::star::uno::Reference
< ::com::sun::star::lang::XSingleServiceFactory > 
createOneInstanceFactory (const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory > &rServiceManager, const ::rtl::OUString &rComponentName, ComponentInstantiation pCreateFunction, const ::com::sun::star::uno::Sequence< ::rtl::OUString > &rServiceNames, rtl_ModuleCount *pModCount=0) throw ()
 Deprecated.
CPPUHELPER_DLLPUBLIC::com::sun::star::uno::Reference
< ::com::sun::star::lang::XSingleServiceFactory > 
createSingleRegistryFactory (const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory > &rServiceManager, const ::rtl::OUString &rImplementationName, const ::com::sun::star::uno::Reference< ::com::sun::star::registry::XRegistryKey > &rImplementationKey) throw ()
 Deprecated.
CPPUHELPER_DLLPUBLIC::com::sun::star::uno::Reference
< ::com::sun::star::lang::XSingleServiceFactory > 
createOneInstanceRegistryFactory (const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory > &rServiceManager, const ::rtl::OUString &rComponentName, const ::com::sun::star::uno::Reference< ::com::sun::star::registry::XRegistryKey > &rImplementationKey) throw ()
 Deprecated.
CPPUHELPER_DLLPUBLIC sal_Bool component_writeInfoHelper (void *pServiceManager, void *pRegistryKey, const struct ImplementationEntry entries[])
 Helper function for implementation of the component_writeInfo()-function.
CPPUHELPER_DLLPUBLIC void * component_getFactoryHelper (const sal_Char *pImplName, void *pServiceManager, void *pRegistryKey, const struct ImplementationEntry entries[])
 Helper function for implementation of the component_getFactory()-function, that must be implemented by every shared library component.
template<class target >
void convertPropertyValue (target &value, const ::com::sun::star::uno::Any &a)
 Converts the value stored in an any to a concrete C++ type.
template<class target >
void convertPropertyValue (target &value,::com::sun::star::uno::Any &a)
void convertPropertyValue (sal_Int64 &target, const ::com::sun::star::uno::Any &source) throw (::com::sun::star::lang::IllegalArgumentException)
 conversion of basic types
void convertPropertyValue (sal_uInt64 &target, const ::com::sun::star::uno::Any &source) throw (::com::sun::star::lang::IllegalArgumentException)
void convertPropertyValue (sal_Int32 &target, const ::com::sun::star::uno::Any &source) throw (::com::sun::star::lang::IllegalArgumentException)
void convertPropertyValue (sal_uInt32 &target, const ::com::sun::star::uno::Any &source) throw (::com::sun::star::lang::IllegalArgumentException)
void convertPropertyValue (sal_Int16 &target, const ::com::sun::star::uno::Any &source) throw (::com::sun::star::lang::IllegalArgumentException)
void convertPropertyValue (sal_uInt16 &target, const ::com::sun::star::uno::Any &source) throw (::com::sun::star::lang::IllegalArgumentException)
void convertPropertyValue (sal_Int8 &target, const ::com::sun::star::uno::Any &source) throw (::com::sun::star::lang::IllegalArgumentException)
void convertPropertyValue (float &target, const ::com::sun::star::uno::Any &source) throw (::com::sun::star::lang::IllegalArgumentException)
void convertPropertyValue (double &target, const ::com::sun::star::uno::Any &source) throw (::com::sun::star::lang::IllegalArgumentException)
void convertPropertyValue (::rtl::OUString &target, const ::com::sun::star::uno::Any &source) throw (::com::sun::star::lang::IllegalArgumentException)
void convertPropertyValue (sal_Bool &b, const ::com::sun::star::uno::Any &a) throw (::com::sun::star::lang::IllegalArgumentException)
 conversion of basic types
template<class Interface1 >
inline::com::sun::star::uno::Any queryInterface (const ::com::sun::star::uno::Type &rType, Interface1 *p1) throw ()
 Compares demanded type to given template argument types.
template<class Interface1 , class Interface2 >
inline::com::sun::star::uno::Any queryInterface (const ::com::sun::star::uno::Type &rType, Interface1 *p1, Interface2 *p2) throw ()
 Compares demanded type to given template argument types.
template<class Interface1 , class Interface2 , class Interface3 >
inline::com::sun::star::uno::Any queryInterface (const ::com::sun::star::uno::Type &rType, Interface1 *p1, Interface2 *p2, Interface3 *p3) throw ()
 Compares demanded type to given template argument types.
template<class Interface1 , class Interface2 , class Interface3 , class Interface4 >
inline::com::sun::star::uno::Any queryInterface (const ::com::sun::star::uno::Type &rType, Interface1 *p1, Interface2 *p2, Interface3 *p3, Interface4 *p4) throw ()
 Compares demanded type to given template argument types.
template<class Interface1 , class Interface2 , class Interface3 , class Interface4 , class Interface5 >
inline::com::sun::star::uno::Any queryInterface (const ::com::sun::star::uno::Type &rType, Interface1 *p1, Interface2 *p2, Interface3 *p3, Interface4 *p4, Interface5 *p5) throw ()
 Compares demanded type to given template argument types.
template<class Interface1 , class Interface2 , class Interface3 , class Interface4 , class Interface5 , class Interface6 >
inline::com::sun::star::uno::Any queryInterface (const ::com::sun::star::uno::Type &rType, Interface1 *p1, Interface2 *p2, Interface3 *p3, Interface4 *p4, Interface5 *p5, Interface6 *p6) throw ()
 Compares demanded type to given template argument types.
template<class Interface1 , class Interface2 , class Interface3 , class Interface4 , class Interface5 , class Interface6 , class Interface7 >
inline::com::sun::star::uno::Any queryInterface (const ::com::sun::star::uno::Type &rType, Interface1 *p1, Interface2 *p2, Interface3 *p3, Interface4 *p4, Interface5 *p5, Interface6 *p6, Interface7 *p7) throw ()
 Compares demanded type to given template argument types.
template<class Interface1 , class Interface2 , class Interface3 , class Interface4 , class Interface5 , class Interface6 , class Interface7 , class Interface8 >
inline::com::sun::star::uno::Any queryInterface (const ::com::sun::star::uno::Type &rType, Interface1 *p1, Interface2 *p2, Interface3 *p3, Interface4 *p4, Interface5 *p5, Interface6 *p6, Interface7 *p7, Interface8 *p8) throw ()
 Compares demanded type to given template argument types.
template<class Interface1 , class Interface2 , class Interface3 , class Interface4 , class Interface5 , class Interface6 , class Interface7 , class Interface8 , class Interface9 >
inline::com::sun::star::uno::Any queryInterface (const ::com::sun::star::uno::Type &rType, Interface1 *p1, Interface2 *p2, Interface3 *p3, Interface4 *p4, Interface5 *p5, Interface6 *p6, Interface7 *p7, Interface8 *p8, Interface9 *p9) throw ()
 Compares demanded type to given template argument types.
template<class Interface1 , class Interface2 , class Interface3 , class Interface4 , class Interface5 , class Interface6 , class Interface7 , class Interface8 , class Interface9 , class Interface10 >
inline::com::sun::star::uno::Any queryInterface (const ::com::sun::star::uno::Type &rType, Interface1 *p1, Interface2 *p2, Interface3 *p3, Interface4 *p4, Interface5 *p5, Interface6 *p6, Interface7 *p7, Interface8 *p8, Interface9 *p9, Interface10 *p10) throw ()
 Compares demanded type to given template argument types.
template<class Interface1 , class Interface2 , class Interface3 , class Interface4 , class Interface5 , class Interface6 , class Interface7 , class Interface8 , class Interface9 , class Interface10 , class Interface11 >
inline::com::sun::star::uno::Any queryInterface (const ::com::sun::star::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) throw ()
 Compares demanded type to given template argument types.
template<class Interface1 , class Interface2 , class Interface3 , class Interface4 , class Interface5 , class Interface6 , class Interface7 , class Interface8 , class Interface9 , class Interface10 , class Interface11 , class Interface12 >
inline::com::sun::star::uno::Any queryInterface (const ::com::sun::star::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) throw ()
 Compares demanded type to given template argument types.
CPPUHELPER_DLLPUBLIC::com::sun::star::uno::Reference
< ::com::sun::star::lang::XMultiServiceFactory > 
createRegistryServiceFactory (const ::rtl::OUString &rWriteRegistryFile, const ::rtl::OUString &rReadRegistryFile, sal_Bool bReadOnly=sal_False, const ::rtl::OUString &rBootstrapPath=::rtl::OUString()) throw (::com::sun::star::uno::Exception)
 Deprecated.
inline::com::sun::star::uno::Reference
< ::com::sun::star::lang::XMultiServiceFactory > 
createRegistryServiceFactory (const ::rtl::OUString &rRegistryFile, sal_Bool bReadOnly=sal_False, const ::rtl::OUString &rBootstrapPath=::rtl::OUString()) throw (::com::sun::star::uno::Exception)
 Deprecated.
inline::com::sun::star::uno::Reference
< ::com::sun::star::lang::XMultiServiceFactory > 
createServiceFactory (const ::rtl::OUString &rBootstrapPath=::rtl::OUString()) throw (::com::sun::star::uno::Exception)
 Deprecated.
CPPUHELPER_DLLPUBLIC::com::sun::star::uno::Reference
< ::com::sun::star::uno::XInterface > 
loadSharedLibComponentFactory (::rtl::OUString const &rLibName,::rtl::OUString const &rPath,::rtl::OUString const &rImplName,::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory > const &xMgr,::com::sun::star::uno::Reference< ::com::sun::star::registry::XRegistryKey > const &xKey) throw (::com::sun::star::loader::CannotActivateFactoryException)
 Loads a shared library component and gets the factory out of it.
CPPUHELPER_DLLPUBLIC::com::sun::star::uno::Reference
< ::com::sun::star::uno::XInterface > 
loadSharedLibComponentFactory (::rtl::OUString const &rLibName,::rtl::OUString const &rPath,::rtl::OUString const &rImplName,::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory > const &xMgr,::com::sun::star::uno::Reference< ::com::sun::star::registry::XRegistryKey > const &xKey,::rtl::OUString const &rPrefix) throw (::com::sun::star::loader::CannotActivateFactoryException)
 Loads a shared library component and gets the factory out of it.
CPPUHELPER_DLLPUBLIC::com::sun::star::uno::Reference
< ::com::sun::star::uno::XInterface > 
invokeStaticComponentFactory (oslGenericFunction pGetter,::rtl::OUString const &rImplName,::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory > const &xMgr,::com::sun::star::uno::Reference< ::com::sun::star::registry::XRegistryKey > const &xKey,::rtl::OUString const &rPrefix) throw (::com::sun::star::loader::CannotActivateFactoryException)
 Gets the factory out of an already loaded (for instance statically linked) component.
CPPUHELPER_DLLPUBLIC void writeSharedLibComponentInfo (::rtl::OUString const &rLibName,::rtl::OUString const &rPath,::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory > const &xMgr,::com::sun::star::uno::Reference< ::com::sun::star::registry::XRegistryKey > const &xKey) throw (::com::sun::star::registry::CannotRegisterImplementationException)
 Invokes component_writeInfo() function of specified component library.
CPPUHELPER_DLLPUBLIC::com::sun::star::reflection::XIdlClass * createStandardClassWithSequence (const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory > &rSMgr, const ::rtl::OUString &sImplementationName, const ::com::sun::star::uno::Reference< ::com::sun::star::reflection::XIdlClass > &rSuperClass, const ::com::sun::star::uno::Sequence< ::rtl::OUString > &seq) throw ()
template<class Interface1 >
inline::com::sun::star::reflection::XIdlClass * createStandardClass (const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory > &, const ::rtl::OUString &, const ::com::sun::star::uno::Reference< ::com::sun::star::reflection::XIdlClass > &, const Interface1 *) throw ()
 Standard function to create an XIdlClass for a component.
template<class Interface1 , class Interface2 >
inline::com::sun::star::reflection::XIdlClass * createStandardClass (const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory > &, const ::rtl::OUString &, const ::com::sun::star::uno::Reference< ::com::sun::star::reflection::XIdlClass > &, const Interface1 *, const Interface2 *) throw ()
template<class Interface1 , class Interface2 , class Interface3 >
inline::com::sun::star::reflection::XIdlClass * createStandardClass (const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory > &, const ::rtl::OUString &, const ::com::sun::star::uno::Reference< ::com::sun::star::reflection::XIdlClass > &, const Interface1 *, const Interface2 *, const Interface3 *) throw ()
template<class Interface1 , class Interface2 , class Interface3 , class Interface4 >
inline::com::sun::star::reflection::XIdlClass * createStandardClass (const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory > &, const ::rtl::OUString &, const ::com::sun::star::uno::Reference< ::com::sun::star::reflection::XIdlClass > &, const Interface1 *, const Interface2 *, const Interface3 *, const Interface4 *) throw ()
template<class Interface1 , class Interface2 , class Interface3 , class Interface4 , class Interface5 >
inline::com::sun::star::reflection::XIdlClass * createStandardClass (const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory > &, const ::rtl::OUString &, const ::com::sun::star::uno::Reference< ::com::sun::star::reflection::XIdlClass > &, const Interface1 *, const Interface2 *, const Interface3 *, const Interface4 *, const Interface5 *) throw ()
template<class Interface1 , class Interface2 , class Interface3 , class Interface4 , class Interface5 , class Interface6 >
inline::com::sun::star::reflection::XIdlClass * createStandardClass (const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory > &, const ::rtl::OUString &, const ::com::sun::star::uno::Reference< ::com::sun::star::reflection::XIdlClass > &, const Interface1 *, const Interface2 *, const Interface3 *, const Interface4 *, const Interface5 *, const Interface6 *) throw ()
template<class Interface1 , class Interface2 , class Interface3 , class Interface4 , class Interface5 , class Interface6 , class Interface7 >
inline::com::sun::star::reflection::XIdlClass * createStandardClass (const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory > &, const ::rtl::OUString &, const ::com::sun::star::uno::Reference< ::com::sun::star::reflection::XIdlClass > &, const Interface1 *, const Interface2 *, const Interface3 *, const Interface4 *, const Interface5 *, const Interface6 *, const Interface7 *) throw ()
template<class Interface1 , class Interface2 , class Interface3 , class Interface4 , class Interface5 , class Interface6 , class Interface7 , class Interface8 >
inline::com::sun::star::reflection::XIdlClass * createStandardClass (const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory > &, const ::rtl::OUString &, const ::com::sun::star::uno::Reference< ::com::sun::star::reflection::XIdlClass > &, const Interface1 *, const Interface2 *, const Interface3 *, const Interface4 *, const Interface5 *, const Interface6 *, const Interface7 *, const Interface8 *) throw ()
template<class Interface1 , class Interface2 , class Interface3 , class Interface4 , class Interface5 , class Interface6 , class Interface7 , class Interface8 , class Interface9 >
inline::com::sun::star::reflection::XIdlClass * createStandardClass (const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory > &, const ::rtl::OUString &, const ::com::sun::star::uno::Reference< ::com::sun::star::reflection::XIdlClass > &, const Interface1 *, const Interface2 *, const Interface3 *, const Interface4 *, const Interface5 *, const Interface6 *, const Interface7 *, const Interface8 *, const Interface9 *) throw ()
template<class Interface1 , class Interface2 , class Interface3 , class Interface4 , class Interface5 , class Interface6 , class Interface7 , class Interface8 , class Interface9 , class Interface10 >
inline::com::sun::star::reflection::XIdlClass * createStandardClass (const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory > &, const ::rtl::OUString &, const ::com::sun::star::uno::Reference< ::com::sun::star::reflection::XIdlClass > &, const Interface1 *, const Interface2 *, const Interface3 *, const Interface4 *, const Interface5 *, const Interface6 *, const Interface7 *, const Interface8 *, const Interface9 *, const Interface10 *) throw ()
template<typename T >
::com::sun::star::uno::Type const & getTypeFavourUnsigned (SAL_UNUSED_PARAMETER::com::sun::star::uno::Sequence< T > const *)
template<typename T >
::com::sun::star::uno::Type const & getTypeFavourChar (SAL_UNUSED_PARAMETER::com::sun::star::uno::Sequence< T > const *)

Typedef Documentation

typedef ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >( * cppu::ComponentFactoryFunc)(::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext > const &xContext)

Function pointer declaration.

Function creates component instance passing the component context to be used.

Parameters:
xContextcomponent context to be used
Returns:
component instance
typedef ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >( * cppu::ComponentInstantiation)(const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory > &rServiceManager)

Deprecated.

The type of the instanciate function used as argument of the create*Fcatory functions.

See also:
createSingleFactory
createOneInstanceFactory
Deprecated:

Function Documentation

CPPUHELPER_DLLPUBLIC ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext > cppu::bootstrap ( )

Bootstraps the component context from a UNO installation.

Returns:
a bootstrapped component context
Exceptions:
BootstrapExceptionThrown in case bootstrap() signals an exception due to a bootstrap error.
Since:
UDK 3.2.0
CPPUHELPER_DLLPUBLIC ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext > cppu::bootstrap_InitialComponentContext ( ::com::sun::star::uno::Reference< ::com::sun::star::registry::XSimpleRegistry > const &  xRegistry,
::rtl::OUString const &  rBootstrapPath = ::rtl::OUString() 
) throw (::com::sun::star::uno::Exception)

Bootstraps an initial component context with service manager upon a given registry.

This includes insertion of initial services:

  • (registry) service manager, shared lib loader,
  • simple registry, nested registry,
  • implementation registration
  • registry typedescription provider, typedescription manager (also installs it into cppu core)
Parameters:
xRegistryregistry for service manager and singleton objects of context (may be null)
rBootstrapPathoptional bootstrap path for initial components
Returns:
component context
Deprecated:
Registry-based type/service information is successively replaced with more modern formats; client code should exclusively use cppu::defaultBootstrap_InitialComponentContext (or cppu::bootstrap).
CPPUHELPER_DLLPUBLIC void* cppu::component_getFactoryHelper ( const sal_Char pImplName,
void *  pServiceManager,
void *  pRegistryKey,
const struct ImplementationEntry  entries[] 
)

Helper function for implementation of the component_getFactory()-function, that must be implemented by every shared library component.

Parameters:
pImplNameThe implementation-name to be instantiated ( This is the first parameter passed to the component_getFactory
pServiceManagerThe second parameter passed to component_getFactory()-function (This is a of the service manager, that creates the factory).
pRegistryKeyThe third parameter passed to the component_getFactory()-function. This is a reference to the registry key, where the implementation data has been written to.
entriesEach element of the entries-array must contains a function pointer table for creating a factor of the implementation. The end of the array must be marked with a 0 entry in the create-function.
Returns:
0 if the helper failed to instantiate a factory, otherwise an acquired pointer to a factory.
CPPUHELPER_DLLPUBLIC sal_Bool cppu::component_writeInfoHelper ( void *  pServiceManager,
void *  pRegistryKey,
const struct ImplementationEntry  entries[] 
)

Helper function for implementation of the component_writeInfo()-function.

Deprecated:
component_writeInfo should no longer be used in new components
Parameters:
pServiceManagerThe first parameter passed to component_writeInfo()-function (This is an instance of the service manager, that creates the factory).
pRegistryKeyThe second parameter passed to the component_writeInfo()-function. This is a reference to the registry key, into which the implementation data shall be written to.
entriesEach element of the entries-array must contains a function pointer table for registering an implementation. The end of the array must be marked with a 0 entry in the create-function.
Returns:
sal_True, if all implementations could be registered, otherwise sal_False.
template<class target >
void cppu::convertPropertyValue ( target &  value,
const ::com::sun::star::uno::Any a 
) [inline]

Converts the value stored in an any to a concrete C++ type.

The function does the same as the operator >>= () at the Any class, except that it throws an IllegalArgumentException in case of failures (the value cannot be extracted without data loss )

Exceptions:
com::sun::star::lang::IllegalArgumentExceptionwhen the type could not be converted.
template<class target >
void cppu::convertPropertyValue ( target &  value,
::com::sun::star::uno::Any a 
) [inline]
void cppu::convertPropertyValue ( sal_Int64 &  target,
const ::com::sun::star::uno::Any source 
) throw (::com::sun::star::lang::IllegalArgumentException) [inline]

conversion of basic types

void cppu::convertPropertyValue ( sal_uInt64 &  target,
const ::com::sun::star::uno::Any source 
) throw (::com::sun::star::lang::IllegalArgumentException) [inline]
void cppu::convertPropertyValue ( sal_Int32 &  target,
const ::com::sun::star::uno::Any source 
) throw (::com::sun::star::lang::IllegalArgumentException) [inline]
void cppu::convertPropertyValue ( sal_uInt32 &  target,
const ::com::sun::star::uno::Any source 
) throw (::com::sun::star::lang::IllegalArgumentException) [inline]
void cppu::convertPropertyValue ( sal_Int16 &  target,
const ::com::sun::star::uno::Any source 
) throw (::com::sun::star::lang::IllegalArgumentException) [inline]
void cppu::convertPropertyValue ( sal_uInt16 &  target,
const ::com::sun::star::uno::Any source 
) throw (::com::sun::star::lang::IllegalArgumentException) [inline]
void cppu::convertPropertyValue ( sal_Int8 target,
const ::com::sun::star::uno::Any source 
) throw (::com::sun::star::lang::IllegalArgumentException) [inline]
void cppu::convertPropertyValue ( float &  target,
const ::com::sun::star::uno::Any source 
) throw (::com::sun::star::lang::IllegalArgumentException) [inline]
void cppu::convertPropertyValue ( double &  target,
const ::com::sun::star::uno::Any source 
) throw (::com::sun::star::lang::IllegalArgumentException) [inline]
void cppu::convertPropertyValue ( ::rtl::OUString target,
const ::com::sun::star::uno::Any source 
) throw (::com::sun::star::lang::IllegalArgumentException) [inline]
void cppu::convertPropertyValue ( sal_Bool b,
const ::com::sun::star::uno::Any a 
) throw (::com::sun::star::lang::IllegalArgumentException) [inline]

conversion of basic types

CPPUHELPER_DLLPUBLIC ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext > cppu::createComponentContext ( ContextEntry_Init const *  pEntries,
sal_Int32  nEntries,
::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext > const &  xDelegate = ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext >() 
) throw ()

Creates a component context with the given entries.

Parameters:
pEntriesarray of entries
nEntriesnumber of entries
xDelegatedelegation to further context, if value was not found
Returns:
new context object
CPPUHELPER_DLLPUBLIC ::com::sun::star::uno::Reference< ::com::sun::star::lang::XSingleServiceFactory > cppu::createFactoryProxy ( const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory > &  rServiceManager,
const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XSingleServiceFactory > &  rFactory 
) throw ()

Deprecated.

Creates a factory wrapping another one. This means the methods of the interfaces XServiceProvider, XServiceInfo and XSingleServiceFactory are forwarded.

Attention:
The XComponent interface is not supported!
Parameters:
rServiceManagerthe service manager used by the implementation.
rFactorythe wrapped service factory.
Returns:
a factory that support the interfaces XServiceProvider, XServiceInfo XSingleServiceFactory.
See also:
createSingleFactory
Deprecated:
CPPUHELPER_DLLPUBLIC ::com::sun::star::uno::Reference< ::com::sun::star::registry::XSimpleRegistry > cppu::createNestedRegistry ( const ::rtl::OUString rBootstrapPath = ::rtl::OUString()) throw ()

Creates a nested registry service instance.

optional bootstrap path for initial components

Returns:
nested registry service instance
Deprecated:
Registry-based type/service information is successively replaced with more modern formats; client code should exclusively use cppu::defaultBootstrap_InitialComponentContext (or cppu::bootstrap).
CPPUHELPER_DLLPUBLIC ::com::sun::star::uno::Reference< ::com::sun::star::lang::XSingleComponentFactory > cppu::createOneInstanceComponentFactory ( ComponentFactoryFunc  fptr,
::rtl::OUString const &  rImplementationName,
::com::sun::star::uno::Sequence< ::rtl::OUString > const &  rServiceNames,
rtl_ModuleCount pModCount = 0 
) throw ()

Creates a single service factory which holds the instance created only once.

Parameters:
fptrfunction pointer for instanciating the object
rImplementationNameimplementation name of service
rServiceNamessupported services
pModCountfor future extension (library unloading concept).
See also:
createSingleComponentFactory
CPPUHELPER_DLLPUBLIC ::com::sun::star::uno::Reference< ::com::sun::star::lang::XSingleServiceFactory > cppu::createOneInstanceFactory ( const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory > &  rServiceManager,
const ::rtl::OUString rComponentName,
ComponentInstantiation  pCreateFunction,
const ::com::sun::star::uno::Sequence< ::rtl::OUString > &  rServiceNames,
rtl_ModuleCount pModCount = 0 
) throw ()

Deprecated.

Creates a single service factory which holds the instance created only once.

Parameters:
rServiceManagerthe service manager used by the implementation.
rComponentNamethe implementation name. An empty string is possible.
pCreateFunctionthe function pointer to create an object.
rServiceNamesthe service supported by the implementation.
pModCountfor future extension (library unloading concept).
Returns:
a factory that support the interfaces XServiceProvider, XServiceInfo XSingleServiceFactory and XComponent.
See also:
createSingleFactory
Deprecated:
CPPUHELPER_DLLPUBLIC ::com::sun::star::uno::Reference< ::com::sun::star::lang::XSingleServiceFactory > cppu::createOneInstanceRegistryFactory ( const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory > &  rServiceManager,
const ::rtl::OUString rComponentName,
const ::com::sun::star::uno::Reference< ::com::sun::star::registry::XRegistryKey > &  rImplementationKey 
) throw ()

Deprecated.

Creates a single service factory which holds the instance created only once based on a registry.

Parameters:
rServiceManagerthe service manager used by the implementation.
rComponentNamethe implementation name. An empty string is possible.
rImplementationKeythe registry key of the implementation section.
Returns:
a factory that support the interfaces XServiceProvider, XServiceInfo XSingleServiceFactory and XComponent.
See also:
createSingleRegistryFactory
Deprecated:
CPPUHELPER_DLLPUBLIC ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory > cppu::createRegistryServiceFactory ( const ::rtl::OUString rWriteRegistryFile,
const ::rtl::OUString rReadRegistryFile,
sal_Bool  bReadOnly = sal_False,
const ::rtl::OUString rBootstrapPath = ::rtl::OUString() 
) throw (::com::sun::star::uno::Exception)

Deprecated.

Use cppuhelper/bootstrap.hxx functions instead.

This bootstraps an initial service factory working on a registry. If the first or both parameters contain a value then the service factory is initialized with a simple registry or a nested registry. Otherwise the service factory must be initialized later with a valid registry.

Parameters:
rWriteRegistryFilefile name of the simple registry or the first registry file of the nested registry which will be opened with read/write rights. This file will be created if necessary.
rReadRegistryFilefile name of the second registry file of the nested registry which will be opened with readonly rights.
bReadOnlyflag which specify that the first registry file will be opened with readonly rights. Default is FALSE. If this flag is used the registry will not be created if not exist.
rBootstrapPathspecifies a path where the bootstrap components could be find. If this parameter is an empty string the compoents will be searched in the system path.
Deprecated:
inline ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory > cppu::createRegistryServiceFactory ( const ::rtl::OUString rRegistryFile,
sal_Bool  bReadOnly = sal_False,
const ::rtl::OUString rBootstrapPath = ::rtl::OUString() 
) throw (::com::sun::star::uno::Exception)

Deprecated.

Use cppuhelper/bootstrap.hxx functions instead.

This bootstraps an initial service factory working on a registry file.

Parameters:
rRegistryFilefile name of the registry to use/ create; if this is an empty string, the default registry is used instead
bReadOnlyflag which specify that the registry file will be opened with readonly rights. Default is FALSE. If this flag is used the registry will not be created if not exist.
rBootstrapPathspecifies a path where the bootstrap components could be find. If this parameter is an empty string the compoents will be searched in the system path.
Deprecated:
inline ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory > cppu::createServiceFactory ( const ::rtl::OUString rBootstrapPath = ::rtl::OUString()) throw (::com::sun::star::uno::Exception)

Deprecated.

Use cppuhelper/bootstrap.hxx functions instead.

This bootstraps a service factory without initialize a registry.

Parameters:
rBootstrapPathspecifies a path where the bootstrap components could be find. If this parameter is an empty string the compoents will be searched in the system path.
Deprecated:
CPPUHELPER_DLLPUBLIC ::com::sun::star::uno::Reference< ::com::sun::star::registry::XSimpleRegistry > cppu::createSimpleRegistry ( const ::rtl::OUString rBootstrapPath = ::rtl::OUString()) throw ()

Creates a simple registry service instance.

optional bootstrap path for initial components

Returns:
simple registry service instance
Deprecated:
Registry-based type/service information is successively replaced with more modern formats; client code should exclusively use cppu::defaultBootstrap_InitialComponentContext (or cppu::bootstrap).
CPPUHELPER_DLLPUBLIC ::com::sun::star::uno::Reference< ::com::sun::star::lang::XSingleComponentFactory > cppu::createSingleComponentFactory ( ComponentFactoryFunc  fptr,
::rtl::OUString const &  rImplementationName,
::com::sun::star::uno::Sequence< ::rtl::OUString > const &  rServiceNames,
rtl_ModuleCount pModCount = 0 
) throw ()

Creates a single component factory supporting the XSingleComponentFactory interface.

Parameters:
fptrfunction pointer for instanciating the object
rImplementationNameimplementation name of service
rServiceNamessupported services
pModCountfor future extension (library unloading concept).
CPPUHELPER_DLLPUBLIC ::com::sun::star::uno::Reference< ::com::sun::star::lang::XSingleServiceFactory > cppu::createSingleFactory ( const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory > &  rServiceManager,
const ::rtl::OUString rImplementationName,
ComponentInstantiation  pCreateFunction,
const ::com::sun::star::uno::Sequence< ::rtl::OUString > &  rServiceNames,
rtl_ModuleCount pModCount = 0 
) throw ()

Deprecated.

Creates a single service factory.

Parameters:
rServiceManagerthe service manager used by the implementation.
rImplementationNamethe implementation name. An empty string is possible.
pCreateFunctionthe function pointer to create an object.
rServiceNamesthe service supported by the implementation.
pModCountfor future extension (library unloading concept).
Returns:
a factory that support the interfaces XServiceProvider, XServiceInfo XSingleServiceFactory and XComponent.
See also:
createOneInstanceFactory
Deprecated:
CPPUHELPER_DLLPUBLIC ::com::sun::star::uno::Reference< ::com::sun::star::lang::XSingleServiceFactory > cppu::createSingleRegistryFactory ( const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory > &  rServiceManager,
const ::rtl::OUString rImplementationName,
const ::com::sun::star::uno::Reference< ::com::sun::star::registry::XRegistryKey > &  rImplementationKey 
) throw ()

Deprecated.

Creates a single service factory based on a registry.

Parameters:
rServiceManagerthe service manager used by the implementation.
rImplementationNamethe implementation name. An empty string is possible.
rImplementationKeythe registry key of the implementation section.
Returns:
a factory that support the interfaces XServiceProvider, XServiceInfo XSingleServiceFactory and XComponent.
Deprecated:
template<class Interface1 , class Interface2 , class Interface3 , class Interface4 , class Interface5 , class Interface6 , class Interface7 >
inline ::com::sun::star::reflection::XIdlClass* cppu::createStandardClass ( const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory > &  ,
const ::rtl::OUString ,
const ::com::sun::star::uno::Reference< ::com::sun::star::reflection::XIdlClass > &  ,
const Interface1 *  ,
const Interface2 *  ,
const Interface3 *  ,
const Interface4 *  ,
const Interface5 *  ,
const Interface6 *  ,
const Interface7 *   
) throw ()
template<class Interface1 >
inline ::com::sun::star::reflection::XIdlClass* cppu::createStandardClass ( const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory > &  ,
const ::rtl::OUString ,
const ::com::sun::star::uno::Reference< ::com::sun::star::reflection::XIdlClass > &  ,
const Interface1 *   
) throw ()

Standard function to create an XIdlClass for a component.

There is a function for each number of supported interfaces up to 10.

Since the switch to the final component model, there are no use cases anymore where these functions should be used. Instead use the implementation helpers directly (see cppuhelper/implbase1.hxx).

See also:
OTypeCollection
Deprecated:
always returns </NULL>
template<class Interface1 , class Interface2 >
inline ::com::sun::star::reflection::XIdlClass* cppu::createStandardClass ( const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory > &  ,
const ::rtl::OUString ,
const ::com::sun::star::uno::Reference< ::com::sun::star::reflection::XIdlClass > &  ,
const Interface1 *  ,
const Interface2 *   
) throw ()
template<class Interface1 , class Interface2 , class Interface3 , class Interface4 >
inline ::com::sun::star::reflection::XIdlClass* cppu::createStandardClass ( const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory > &  ,
const ::rtl::OUString ,
const ::com::sun::star::uno::Reference< ::com::sun::star::reflection::XIdlClass > &  ,
const Interface1 *  ,
const Interface2 *  ,
const Interface3 *  ,
const Interface4 *   
) throw ()
template<class Interface1 , class Interface2 , class Interface3 , class Interface4 , class Interface5 >
inline ::com::sun::star::reflection::XIdlClass* cppu::createStandardClass ( const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory > &  ,
const ::rtl::OUString ,
const ::com::sun::star::uno::Reference< ::com::sun::star::reflection::XIdlClass > &  ,
const Interface1 *  ,
const Interface2 *  ,
const Interface3 *  ,
const Interface4 *  ,
const Interface5 *   
) throw ()
template<class Interface1 , class Interface2 , class Interface3 , class Interface4 , class Interface5 , class Interface6 >
inline ::com::sun::star::reflection::XIdlClass* cppu::createStandardClass ( const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory > &  ,
const ::rtl::OUString ,
const ::com::sun::star::uno::Reference< ::com::sun::star::reflection::XIdlClass > &  ,
const Interface1 *  ,
const Interface2 *  ,
const Interface3 *  ,
const Interface4 *  ,
const Interface5 *  ,
const Interface6 *   
) throw ()
template<class Interface1 , class Interface2 , class Interface3 , class Interface4 , class Interface5 , class Interface6 , class Interface7 , class Interface8 , class Interface9 >
inline ::com::sun::star::reflection::XIdlClass* cppu::createStandardClass ( const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory > &  ,
const ::rtl::OUString ,
const ::com::sun::star::uno::Reference< ::com::sun::star::reflection::XIdlClass > &  ,
const Interface1 *  ,
const Interface2 *  ,
const Interface3 *  ,
const Interface4 *  ,
const Interface5 *  ,
const Interface6 *  ,
const Interface7 *  ,
const Interface8 *  ,
const Interface9 *   
) throw ()
template<class Interface1 , class Interface2 , class Interface3 , class Interface4 , class Interface5 , class Interface6 , class Interface7 , class Interface8 >
inline ::com::sun::star::reflection::XIdlClass* cppu::createStandardClass ( const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory > &  ,
const ::rtl::OUString ,
const ::com::sun::star::uno::Reference< ::com::sun::star::reflection::XIdlClass > &  ,
const Interface1 *  ,
const Interface2 *  ,
const Interface3 *  ,
const Interface4 *  ,
const Interface5 *  ,
const Interface6 *  ,
const Interface7 *  ,
const Interface8 *   
) throw ()
template<class Interface1 , class Interface2 , class Interface3 , class Interface4 , class Interface5 , class Interface6 , class Interface7 , class Interface8 , class Interface9 , class Interface10 >
inline ::com::sun::star::reflection::XIdlClass* cppu::createStandardClass ( const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory > &  ,
const ::rtl::OUString ,
const ::com::sun::star::uno::Reference< ::com::sun::star::reflection::XIdlClass > &  ,
const Interface1 *  ,
const Interface2 *  ,
const Interface3 *  ,
const Interface4 *  ,
const Interface5 *  ,
const Interface6 *  ,
const Interface7 *  ,
const Interface8 *  ,
const Interface9 *  ,
const Interface10 *   
) throw ()
template<class Interface1 , class Interface2 , class Interface3 >
inline ::com::sun::star::reflection::XIdlClass* cppu::createStandardClass ( const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory > &  ,
const ::rtl::OUString ,
const ::com::sun::star::uno::Reference< ::com::sun::star::reflection::XIdlClass > &  ,
const Interface1 *  ,
const Interface2 *  ,
const Interface3 *   
) throw ()
CPPUHELPER_DLLPUBLIC ::com::sun::star::reflection::XIdlClass* cppu::createStandardClassWithSequence ( const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory > &  rSMgr,
const ::rtl::OUString sImplementationName,
const ::com::sun::star::uno::Reference< ::com::sun::star::reflection::XIdlClass > &  rSuperClass,
const ::com::sun::star::uno::Sequence< ::rtl::OUString > &  seq 
) throw ()
CPPUHELPER_DLLPUBLIC ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext > cppu::defaultBootstrap_InitialComponentContext ( ) throw (::com::sun::star::uno::Exception)

Bootstraps an initial component context with service manager upon information from bootstrap variables.

This function tries to find its parameters via these bootstrap variables:

  • UNO_TYPES -- a space separated list of file urls of type rdbs
  • UNO_SERVICES -- a space separated list of file urls of service rdbs

Please look at http://udk.openoffice.org/common/man/concept/uno_default_bootstrapping.html for further info.

Returns:
component context
CPPUHELPER_DLLPUBLIC ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext > cppu::defaultBootstrap_InitialComponentContext ( const ::rtl::OUString iniFile) throw (::com::sun::star::uno::Exception)

Bootstraps an initial component context with service manager upon information from an ini file.

This function tries to find its parameters via these bootstrap variables:

  • UNO_TYPES -- a space separated list of file urls of type rdbs
  • UNO_SERVICES -- a space separated list of file urls of service rdbs

Please look at http://udk.openoffice.org/common/man/concept/uno_default_bootstrapping.html for further info.

Parameters:
iniFileini filename to get bootstrap variables
Returns:
component context
void cppu::Enterable_call_callInto_v ( void *  context,
uno_EnvCallee pCallee,
va_list *  pParam 
) [inline]
void cppu::Enterable_call_callOut_v ( void *  context,
uno_EnvCallee pCallee,
va_list *  pParam 
) [inline]
void cppu::Enterable_call_enter ( void *  context) [inline]
int cppu::Enterable_call_isValid ( void *  context,
rtl_uString **  pReason 
) [inline]
void cppu::Enterable_call_leave ( void *  context) [inline]
CPPUHELPER_DLLPUBLIC ::com::sun::star::uno::Any cppu::getCaughtException ( )

Use this function to get the dynamic type of a caught C++-UNO exception; completes the above function throwing exceptions generically.

try { ... } catch (::com::sun::star::uno::RuntimeException &) { you ought not handle RuntimeExceptions: throw; } catch (::com::sun::star::uno::Exception &) { com::sun::star::uno::Any caught( cppu::getCaughtException() ); ... }

Restrictions:

  • use only for caught C++-UNO exceptions (UNOIDL defined)
  • only as first statement in a catch block!
  • don't do a C++ rethrow (throw;) after you have called this function
  • call getCaughtException() just once in your catch block! (function internally uses a C++ rethrow)
Returns:
caught UNO exception
Attention:
Caution! This function is limited to the same C++ compiler runtime library. E.g. for MSVC, this means that the catch handler code (the one that calls getCaughtException()) needs to use the very same C++ runtime library, e.g. msvcrt.dll as cppuhelper, e.g. cppuhelper3MSC.dll and the bridge library, e.g. msci_uno.dll. This is the case if all of them are compiled with the same compiler version. Background: The msci_uno.dll gets a rethrown exception out of the internal msvcrt.dll thread local storage (tls). Thus you _must_ not use this function if your code needs to run in newer UDK versions without being recompiled, because those newer UDK (-> OOo versions) potentially use newer C++ runtime libraries which most often become incompatible!

But this function ought to be usable for most OOo internal C++-UNO development, because the whole OOo code base is compiled using the same C++ compiler (and linking against one runtime library).

template<typename T >
::com::sun::star::uno::Type const& cppu::getTypeFavourChar ( SAL_UNUSED_PARAMETER::com::sun::star::uno::Sequence< T > const *  ) [inline]
template<typename T >
::com::sun::star::uno::Type const& cppu::getTypeFavourUnsigned ( SAL_UNUSED_PARAMETER::com::sun::star::uno::Sequence< T > const *  ) [inline]
template<typename T >
::com::sun::star::uno::Type const& cppu::getTypeFavourUnsigned ( ::com::sun::star::uno::Sequence< T > const *  ) [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.

Since:
UDK 3.2.2
template<typename T >
::com::sun::star::uno::Type const& cppu::getTypeFavourUnsigned ( SAL_UNUSED_PARAMETER T const *  ) [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.

Since:
UDK 3.2.2
inline ::com::sun::star::uno::Type const& cppu::getTypeFavourUnsigned ( SAL_UNUSED_PARAMETER::sal_uInt16 const *  )

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.

Since:
UDK 3.2.2
CPPUHELPER_DLLPUBLIC sal_Bool cppu::installTypeDescriptionManager ( ::com::sun::star::uno::Reference< ::com::sun::star::container::XHierarchicalNameAccess > const &  xTDMgr) throw ()

Installs type description manager instance, i.e.

registers a callback at cppu core.

Parameters:
xTDMgrmanager instance
Returns:
true, if successfully registered
CPPUHELPER_DLLPUBLIC ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > cppu::invokeStaticComponentFactory ( oslGenericFunction  pGetter,
::rtl::OUString const &  rImplName,
::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory > const &  xMgr,
::com::sun::star::uno::Reference< ::com::sun::star::registry::XRegistryKey > const &  xKey,
::rtl::OUString const &  rPrefix 
) throw (::com::sun::star::loader::CannotActivateFactoryException)

Gets the factory out of an already loaded (for instance statically linked) component.

Parameters:
pGetterthe component's component_getFactory function
rImplNameimplementation to be retrieved from the library
xMgrservice manager to be provided to the component
xKeyregistry key to be provided to the component
rPrefixoptional component prefix
Returns:
factory instance (::com::sun::star::lang::XSingleComponentFactory or ::com::sun::star::lang::XSingleComponentFactory)
CPPUHELPER_DLLPUBLIC ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > cppu::loadSharedLibComponentFactory ( ::rtl::OUString const &  rLibName,
::rtl::OUString const &  rPath,
::rtl::OUString const &  rImplName,
::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory > const &  xMgr,
::com::sun::star::uno::Reference< ::com::sun::star::registry::XRegistryKey > const &  xKey 
) throw (::com::sun::star::loader::CannotActivateFactoryException)

Loads a shared library component and gets the factory out of it.

You can give either a fully qualified libname or single lib name. The libname need not be pre/postfixed (e.g. xxx.dll). You can give parameter rPath to force lookup of the library in a specific directory. The resulting path of the library will be checked against environment variable CPLD_ACCESSPATH if set.

Parameters:
rLibNamename of the library
rPathoptional path
rImplNameimplementation to be retrieved from the library
xMgrservice manager to be provided to the component
xKeyregistry key to be provided to the component
Returns:
factory instance (::com::sun::star::lang::XSingleComponentFactory or ::com::sun::star::lang::XSingleComponentFactory)
CPPUHELPER_DLLPUBLIC ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > cppu::loadSharedLibComponentFactory ( ::rtl::OUString const &  rLibName,
::rtl::OUString const &  rPath,
::rtl::OUString const &  rImplName,
::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory > const &  xMgr,
::com::sun::star::uno::Reference< ::com::sun::star::registry::XRegistryKey > const &  xKey,
::rtl::OUString const &  rPrefix 
) throw (::com::sun::star::loader::CannotActivateFactoryException)

Loads a shared library component and gets the factory out of it.

You can give either a fully qualified libname or single lib name. The libname need not be pre/postfixed (e.g. xxx.dll). You can give parameter rPath to force lookup of the library in a specific directory. The resulting path of the library will be checked against environment variable CPLD_ACCESSPATH if set. An optional 'prefix' parameter is used to determine the symbol name of the entry point in the library.

Parameters:
rLibNamename of the library
rPathoptional path
rImplNameimplementation to be retrieved from the library
xMgrservice manager to be provided to the component
xKeyregistry key to be provided to the component
rPrefixoptional component prefix
Returns:
factory instance (::com::sun::star::lang::XSingleComponentFactory or ::com::sun::star::lang::XSingleComponentFactory)
template<class T >
T* cppu::mapIn ( T *  pT,
cssu::Environment const &  outerEnv 
) [inline]

Maps an object from an outer Environment to the current, returns mapped object.

Parameters:
pTthe object to be mapped
outerEnvthe source environment
Returns:
the mapped object
Since:
UDK 3.2.7
void cppu::mapInAny ( cssu::Any const &  any,
cssu::Any res,
cssu::Environment const &  outerEnv 
) [inline]

Maps an any from an outer Environment to the current, fills passed any.

Parameters:
anythe any to be mapped
resthe target any
outerEnvthe source environment
Since:
UDK 3.2.7
template<class T >
T* cppu::mapOut ( T *  pT,
cssu::Environment const &  outerEnv 
) [inline]

Helpers for mapping objects relative to the current environment.

(http://wiki.services.openoffice.org/wiki/Uno/Cpp/Spec/Map_Helpers) Maps an object from the current to an outer Environment, returns mapped object.

Parameters:
pTthe object to be mapped
outerEnvthe target environment
Returns:
the mapped object
Since:
UDK 3.2.7
void cppu::mapOutAny ( cssu::Any const &  any,
cssu::Any res,
cssu::Environment const &  outerEnv 
) [inline]

Maps an any from the current to an outer Environment, fills passed any.

Parameters:
anythe any to be mapped
resthe target any
outerEnvthe target environment
Since:
UDK 3.2.7
template<class Interface1 , class Interface2 , class Interface3 , class Interface4 , class Interface5 , class Interface6 , class Interface7 , class Interface8 , class Interface9 , class Interface10 , class Interface11 >
inline ::com::sun::star::uno::Any cppu::queryInterface ( const ::com::sun::star::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 
) throw ()

Compares demanded type to given template argument types.

Template Parameters:
Interface1interface type
Interface2interface type
Interface3interface type
Interface4interface type
Interface5interface type
Interface6interface type
Interface7interface type
Interface8interface type
Interface9interface type
Interface10interface type
Interface11interface type
Parameters:
rTypedemanded type
p1interface pointer
p2interface pointer
p3interface pointer
p4interface pointer
p5interface pointer
p6interface pointer
p7interface pointer
p8interface pointer
p9interface pointer
p10interface pointer
p11interface pointer
Returns:
acquired interface of demanded type or empty Any
template<class Interface1 , class Interface2 , class Interface3 , class Interface4 >
inline ::com::sun::star::uno::Any cppu::queryInterface ( const ::com::sun::star::uno::Type rType,
Interface1 *  p1,
Interface2 *  p2,
Interface3 *  p3,
Interface4 *  p4 
) throw ()

Compares demanded type to given template argument types.

Template Parameters:
Interface1interface type
Interface2interface type
Interface3interface type
Interface4interface type
Parameters:
rTypedemanded type
p1interface pointer
p2interface pointer
p3interface pointer
p4interface pointer
Returns:
acquired interface of demanded type or empty Any
template<class Interface1 , class Interface2 , class Interface3 >
inline ::com::sun::star::uno::Any cppu::queryInterface ( const ::com::sun::star::uno::Type rType,
Interface1 *  p1,
Interface2 *  p2,
Interface3 *  p3 
) throw ()

Compares demanded type to given template argument types.

Template Parameters:
Interface1interface type
Interface2interface type
Interface3interface type
Parameters:
rTypedemanded type
p1interface pointer
p2interface pointer
p3interface pointer
Returns:
acquired interface of demanded type or empty Any
template<class Interface1 , class Interface2 , class Interface3 , class Interface4 , class Interface5 , class Interface6 , class Interface7 , class Interface8 >
inline ::com::sun::star::uno::Any cppu::queryInterface ( const ::com::sun::star::uno::Type rType,
Interface1 *  p1,
Interface2 *  p2,
Interface3 *  p3,
Interface4 *  p4,
Interface5 *  p5,
Interface6 *  p6,
Interface7 *  p7,
Interface8 *  p8 
) throw ()

Compares demanded type to given template argument types.

Template Parameters:
Interface1interface type
Interface2interface type
Interface3interface type
Interface4interface type
Interface5interface type
Interface6interface type
Interface7interface type
Interface8interface type
Parameters:
rTypedemanded type
p1interface pointer
p2interface pointer
p3interface pointer
p4interface pointer
p5interface pointer
p6interface pointer
p7interface pointer
p8interface pointer
Returns:
acquired interface of demanded type or empty Any
template<class Interface1 , class Interface2 , class Interface3 , class Interface4 , class Interface5 , class Interface6 , class Interface7 , class Interface8 , class Interface9 , class Interface10 , class Interface11 , class Interface12 >
inline ::com::sun::star::uno::Any cppu::queryInterface ( const ::com::sun::star::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 
) throw ()

Compares demanded type to given template argument types.

Template Parameters:
Interface1interface type
Interface2interface type
Interface3interface type
Interface4interface type
Interface5interface type
Interface6interface type
Interface7interface type
Interface8interface type
Interface9interface type
Interface10interface type
Interface11interface type
Interface12interface type
Parameters:
rTypedemanded type
p1interface pointer
p2interface pointer
p3interface pointer
p4interface pointer
p5interface pointer
p6interface pointer
p7interface pointer
p8interface pointer
p9interface pointer
p10interface pointer
p11interface pointer
p12interface pointer
Returns:
acquired interface of demanded type or empty Any
template<class Interface1 , class Interface2 , class Interface3 , class Interface4 , class Interface5 , class Interface6 , class Interface7 , class Interface8 , class Interface9 >
inline ::com::sun::star::uno::Any cppu::queryInterface ( const ::com::sun::star::uno::Type rType,
Interface1 *  p1,
Interface2 *  p2,
Interface3 *  p3,
Interface4 *  p4,
Interface5 *  p5,
Interface6 *  p6,
Interface7 *  p7,
Interface8 *  p8,
Interface9 *  p9 
) throw ()

Compares demanded type to given template argument types.

Template Parameters:
Interface1interface type
Interface2interface type
Interface3interface type
Interface4interface type
Interface5interface type
Interface6interface type
Interface7interface type
Interface8interface type
Interface9interface type
Parameters:
rTypedemanded type
p1interface pointer
p2interface pointer
p3interface pointer
p4interface pointer
p5interface pointer
p6interface pointer
p7interface pointer
p8interface pointer
p9interface pointer
Returns:
acquired interface of demanded type or empty Any
template<class Interface1 , class Interface2 , class Interface3 , class Interface4 , class Interface5 , class Interface6 , class Interface7 >
inline ::com::sun::star::uno::Any cppu::queryInterface ( const ::com::sun::star::uno::Type rType,
Interface1 *  p1,
Interface2 *  p2,
Interface3 *  p3,
Interface4 *  p4,
Interface5 *  p5,
Interface6 *  p6,
Interface7 *  p7 
) throw ()

Compares demanded type to given template argument types.

Template Parameters:
Interface1interface type
Interface2interface type
Interface3interface type
Interface4interface type
Interface5interface type
Interface6interface type
Interface7interface type
Parameters:
rTypedemanded type
p1interface pointer
p2interface pointer
p3interface pointer
p4interface pointer
p5interface pointer
p6interface pointer
p7interface pointer
Returns:
acquired interface of demanded type or empty Any
template<class Interface1 , class Interface2 >
inline ::com::sun::star::uno::Any cppu::queryInterface ( const ::com::sun::star::uno::Type rType,
Interface1 *  p1,
Interface2 *  p2 
) throw ()

Compares demanded type to given template argument types.

Template Parameters:
Interface1interface type
Interface2interface type
Parameters:
rTypedemanded type
p1interface pointer
p2interface pointer
Returns:
acquired interface of demanded type or empty Any
template<class Interface1 , class Interface2 , class Interface3 , class Interface4 , class Interface5 , class Interface6 , class Interface7 , class Interface8 , class Interface9 , class Interface10 >
inline ::com::sun::star::uno::Any cppu::queryInterface ( const ::com::sun::star::uno::Type rType,
Interface1 *  p1,
Interface2 *  p2,
Interface3 *  p3,
Interface4 *  p4,
Interface5 *  p5,
Interface6 *  p6,
Interface7 *  p7,
Interface8 *  p8,
Interface9 *  p9,
Interface10 *  p10 
) throw ()

Compares demanded type to given template argument types.

Template Parameters:
Interface1interface type
Interface2interface type
Interface3interface type
Interface4interface type
Interface5interface type
Interface6interface type
Interface7interface type
Interface8interface type
Interface9interface type
Interface10interface type
Parameters:
rTypedemanded type
p1interface pointer
p2interface pointer
p3interface pointer
p4interface pointer
p5interface pointer
p6interface pointer
p7interface pointer
p8interface pointer
p9interface pointer
p10interface pointer
Returns:
acquired interface of demanded type or empty Any
template<class Interface1 , class Interface2 , class Interface3 , class Interface4 , class Interface5 , class Interface6 >
inline ::com::sun::star::uno::Any cppu::queryInterface ( const ::com::sun::star::uno::Type rType,
Interface1 *  p1,
Interface2 *  p2,
Interface3 *  p3,
Interface4 *  p4,
Interface5 *  p5,
Interface6 *  p6 
) throw ()

Compares demanded type to given template argument types.

Template Parameters:
Interface1interface type
Interface2interface type
Interface3interface type
Interface4interface type
Interface5interface type
Interface6interface type
Parameters:
rTypedemanded type
p1interface pointer
p2interface pointer
p3interface pointer
p4interface pointer
p5interface pointer
p6interface pointer
Returns:
acquired interface of demanded type or empty Any
template<class Interface1 , class Interface2 , class Interface3 , class Interface4 , class Interface5 >
inline ::com::sun::star::uno::Any cppu::queryInterface ( const ::com::sun::star::uno::Type rType,
Interface1 *  p1,
Interface2 *  p2,
Interface3 *  p3,
Interface4 *  p4,
Interface5 *  p5 
) throw ()

Compares demanded type to given template argument types.

Template Parameters:
Interface1interface type
Interface2interface type
Interface3interface type
Interface4interface type
Interface5interface type
Parameters:
rTypedemanded type
p1interface pointer
p2interface pointer
p3interface pointer
p4interface pointer
p5interface pointer
Returns:
acquired interface of demanded type or empty Any
template<class Interface1 >
inline ::com::sun::star::uno::Any cppu::queryInterface ( const ::com::sun::star::uno::Type rType,
Interface1 *  p1 
) throw ()

Compares demanded type to given template argument types.

Template Parameters:
Interface1interface type
Parameters:
rTypedemanded type
p1interface pointer
Returns:
acquired interface of demanded type or empty Any
template<class T >
T* cppu::shield ( T *  pT) [inline]

Helpers for mapping objects relative to the thread-safe and current environments.

(http://wiki.services.openoffice.org/wiki/Uno/Cpp/Spec/Shield_Helpers) Maps an object from the current to the thread-safe Environment, returns mapped object.

Parameters:
pTthe object to be mapped
Returns:
the mapped object
Since:
UDK 3.2.7
void cppu::shieldAny ( cssu::Any const &  any,
cssu::Any res 
) [inline]

Maps an any from the current to the thread-safe Environment, fills the passed any.

Parameters:
anythe any to be mapped
resthe target any
Since:
UDK 3.2.7
CPPUHELPER_DLLPUBLIC void cppu::throwException ( const ::com::sun::star::uno::Any rExc) throw (::com::sun::star::uno::Exception)

This function throws the exception given by rExc.

The given value has to be of typeclass EXCEPTION and must be dervived from or of type com.sun.star.uno.Exception.

Parameters:
rExcexception to be thrown.
template<class T >
T* cppu::unshield ( T *  pT) [inline]

Maps an object from the thread-safe Environment to the current one, returns mapped object.

Parameters:
pTthe object to be mapped
Returns:
the mapped object
Since:
UDK 3.2.7
void cppu::unshieldAny ( cssu::Any const &  any,
cssu::Any res 
) [inline]

Maps an any from the thread-safe Environment to the current one, fills the passed any.

Parameters:
anythe any to be mapped
resthe target any
Since:
UDK 3.2.7
CPPUHELPER_DLLPUBLIC void cppu::writeSharedLibComponentInfo ( ::rtl::OUString const &  rLibName,
::rtl::OUString const &  rPath,
::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory > const &  xMgr,
::com::sun::star::uno::Reference< ::com::sun::star::registry::XRegistryKey > const &  xKey 
) throw (::com::sun::star::registry::CannotRegisterImplementationException)

Invokes component_writeInfo() function of specified component library.

You can give either a fully qualified libname or single lib name. The libname need not be pre/postfixed (e.g. xxx.dll). You can give parameter rPath to force lookup of the library in a specific directory. The resulting path of the library will be checked against environment variable CPLD_ACCESSPATH if set.

component_writeInfo should no longer be used in new components

Parameters:
rLibNamename of the library
rPathoptional path
xMgrservice manager to be provided to the component
xKeyregistry key to be provided to the component
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines