Overview | Namespace | Class | Index | Help |
PUBLIC MEMBERS: | CLASSES | STRUCTS | UNIONS | ENUMS | TYPEDEFS | METHODS | STATIC METHODS | DATA | STATIC DATA |
PRIVATE MEMBERS: | CLASSES | STRUCTS | UNIONS | ENUMS | TYPEDEFS | METHODS | STATIC METHODS | DATA | STATIC DATA |
virtual | abstract | interface | template |
NO | NO | NO | NO |
Methods |
|
OInterfaceContainerHelper( ::osl::Mutex & rMutex ) throw( ); |
Create an interface container. |
~OInterfaceContainerHelper( ) throw( ); |
Release all interfaces. All iterators must be destroyed before the container is destructed. |
sal_Int32 getLength( ) const throw( ); |
Return the number of Elements in the container. Only useful if you have acquired the mutex. |
::com::sun::star::uno::Sequence< ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > > getElements( ) const throw( ); |
Return all interfaces added to this container. |
sal_Int32 addInterface( const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > & rxIFace ) throw( ); |
Inserts an element into the container. The position is not specified, thus it is not specified in which order events are fired. |
sal_Int32 removeInterface( const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > & rxIFace ) throw( ); |
Removes an element from the container. It uses interface equality to remove the interface. |
void disposeAndClear( const ::com::sun::star::lang::EventObject & rEvt ) throw( ); |
Call disposing on all object in the container that support XEventListener. Than clear the container. |
void clear( ) throw( ); |
Clears the container without calling disposing(). |
Static Methods |
|
static void * operator new( size_t nSize ) throw( ); |
|
static void operator delete( void * pMem ) throw( ); |
|
static void * operator new( size_t , void * pMem ) throw( ); |
|
static void operator delete( void * , void * ) throw( ); |
Methods |
|
OInterfaceContainerHelper( const OInterfaceContainerHelper & ) throw( ); |
|
OInterfaceContainerHelper & operator=( const OInterfaceContainerHelper & ) throw( ); |
|
void copyAndResetInUse( ) throw( ); |
Data |
|
detail::element_alias aData; | bIsList == TRUE -> aData.pAsSequence of type Sequence< XInterfaceSequence >, otherwise aData.pAsInterface == of type (XEventListener *) |
::osl::Mutex & rMutex; | |
sal_Bool bInUse; | TRUE -> used by an iterator. |
sal_Bool bIsList; | TRUE -> aData.pAsSequence is of type Sequence< XInterfaceSequence >. |
Copyright © 2000, 2017 LibreOffice contributors and/or their affiliates. All rights reserved.
LibreOffice was created by The Document Foundation, based on OpenOffice.org, which is Copyright 2000, 2010 Oracle and/or its affiliates.
The Document Foundation acknowledges all community members, please find more info at our website.
Privacy Policy | Impressum (Legal Info) | Copyright information: The source code of LibreOffice is licensed under the GNU Lesser General Public License (LGPLv3). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.