Language

The Free and Open Productivity Suite
Released: Apache OpenOffice 4.1.15
 Overview   Namespace   Class   Index   Help 

Methods of Class OMultiTypeInterfaceContainerHelperVar


OMultiTypeInterfaceContainerHelperVar
OMultiTypeInterfaceContainerHelperVar(
::osl::Mutex & ) throw();

virtual abstract const volatile template static inline C-linkage
NO NO NO NO NO NO YES NO

Summary
Create a container of interface containers.
Parameters
rMutex
the mutex to protect multi thread access.
                    The lifetime must be longer than the lifetime
                    of this object.

~OMultiTypeInterfaceContainerHelperVar
~OMultiTypeInterfaceContainerHelperVar() throw();

virtual abstract const volatile template static inline C-linkage
NO NO NO NO NO NO YES NO

Summary
Deletes all containers.

getContainedTypes
::com::sun::star::uno::Sequence< key > getContainedTypes() throw();

virtual abstract const volatile template static inline C-linkage
NO NO NO NO NO NO YES NO

Summary
Return all id's under which at least one interface is added.

getContainer
OInterfaceContainerHelper * getContainer(
const key & ) const throw();

virtual abstract const volatile template static inline C-linkage
NO NO YES NO NO NO YES NO

Summary
Return the container created under this key. The InterfaceContainerHelper exists until the whole MultiTypeContainer is destroyed.
Return
the container created under this key. If the container was not created, null was returned.

addInterface
sal_Int32 addInterface(
const key & rKey,
const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > & r ) throw();

virtual abstract const volatile template static inline C-linkage
NO NO NO NO NO NO YES NO

Summary
Inserts an element in the container specified with the key. The position is not specified.
Parameters
rKey
the id of the container.
rxIFace
the added interface. It is allowed, to insert null or
                   the same pointer more than once.
Return
the new count of elements in the container.

removeInterface
sal_Int32 removeInterface(
const key & rKey,
const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > & rxIFace ) throw();

virtual abstract const volatile template static inline C-linkage
NO NO NO NO NO NO YES NO

Summary
Removes an element from the container specified with the key. It uses the equal definition of uno objects to remove the interfaces.
Parameters
rKey
the id of the container.
rxIFace
the removed interface.
Return
the new count of elements in the container.

disposeAndClear
void disposeAndClear(
const ::com::sun::star::lang::EventObject & rEvt ) throw();

virtual abstract const volatile template static inline C-linkage
NO NO NO NO NO NO YES NO

Summary
Call disposing on all references in the container, that support XEventListener. Then clears the container.
Parameters
rEvt
the event object which is passed during disposing() call

clear
void clear() throw();

virtual abstract const volatile template static inline C-linkage
NO NO NO NO NO NO YES NO

Summary
Remove all elements of all containers. Does not delete the container.

OMultiTypeInterfaceContainerHelperVar
OMultiTypeInterfaceContainerHelperVar(
const OMultiTypeInterfaceContainerHelperVar & ) throw();

virtual abstract const volatile template static inline C-linkage
NO NO NO NO NO NO YES NO


operator=
OMultiTypeInterfaceContainerHelperVar & operator=(
const OMultiTypeInterfaceContainerHelperVar & ) throw();

virtual abstract const volatile template static inline C-linkage
NO NO NO NO NO NO YES NO


operator new
static void * operator new(
size_t nSize ) throw();

virtual abstract const volatile template static inline C-linkage
NO NO NO NO NO YES YES NO


operator delete
static void operator delete(
void * pMem ) throw();

virtual abstract const volatile template static inline C-linkage
NO NO NO NO NO YES YES NO


operator new
static void * operator new(
size_t ,
void * pMem ) throw();

virtual abstract const volatile template static inline C-linkage
NO NO NO NO NO YES YES NO


operator delete
static void operator delete(
void * ,
void * ) throw();

virtual abstract const volatile template static inline C-linkage
NO NO NO NO NO YES YES NO


Top of Page

Apache Software Foundation

Copyright & License | Privacy | Contact Us | Donate | Thanks

Apache, OpenOffice, OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. The Apache feather logo is a trademark of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.