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 |
Typedefs |
|
keyType |
Methods |
|
OMultiTypeInterfaceContainerHelper( ::osl::Mutex & ) throw( ); |
Create a container of interface containers. |
~OMultiTypeInterfaceContainerHelper( ) throw( ); |
Delete all containers. |
::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type > getContainedTypes( ) const throw( ); |
Return all id's under which at least one interface is added. |
OInterfaceContainerHelper * getContainer( const ::com::sun::star::uno::Type & rKey ) const throw( ); |
Return the container created under this key. |
sal_Int32 addInterface( const ::com::sun::star::uno::Type & rKey, const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > & r ) throw( ); |
Insert an element in the container specified with the key. The position is not specified. |
sal_Int32 removeInterface( const ::com::sun::star::uno::Type & rKey, const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > & rxIFace ) throw( ); |
Remove an element from the container specified with the key. It uses the equal definition of uno objects to remove the interfaces. |
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( ); |
Remove all elements of all containers. Does not delete the container. |
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 |
|
OMultiTypeInterfaceContainerHelper( const OMultiTypeInterfaceContainerHelper & ) throw( ); |
|
OMultiTypeInterfaceContainerHelper & operator=( const OMultiTypeInterfaceContainerHelper & ) throw( ); |
Data |
|
void * m_pMap; | |
::osl::Mutex & rMutex; |
Copyright 2002 Sun Microsystems, Inc., 901 San Antonio Road, Palo Alto, CA 94303 USA.