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 |
template< typename key, typename hashImpl, typename equalImpl >
virtual | abstract | interface | template |
NO | NO | NO | YES |
Typedefs |
|
keyType |
Methods |
|
OMultiTypeInterfaceContainerHelperVar( ::osl::Mutex & ) throw( ); |
Create a container of interface containers. |
~OMultiTypeInterfaceContainerHelperVar( ) throw( ); |
Deletes all containers. |
::com::sun::star::uno::Sequence< key > getContainedTypes( ) const throw( ); |
Return all id's under which at least one interface is added. |
OInterfaceContainerHelper * getContainer( const key & ) const throw( ); |
Return the container created under this key. The InterfaceContainerHelper exists until the whole MultiTypeContainer is destroyed. |
sal_Int32 addInterface( const key & rKey, const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > & r ) throw( ); |
Inserts an element in the container specified with the key. The position is not specified. |
sal_Int32 removeInterface( const key & rKey, const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > & rxIFace ) throw( ); |
Removes 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 references in the container, that support XEventListener. Then clears 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 |
|
OMultiTypeInterfaceContainerHelperVar( const OMultiTypeInterfaceContainerHelperVar & ) throw( ); |
|
OMultiTypeInterfaceContainerHelperVar & operator=( const OMultiTypeInterfaceContainerHelperVar & ) throw( ); |
Data |
|
::std::hash_map< key, void *, hashImpl, equalImpl > * m_pMap; | |
::osl::Mutex & rMutex; |
Copyright 2002 Sun Microsystems, Inc., 901 San Antonio Road, Palo Alto, CA 94303 USA.