Language

The Free and Open Productivity Suite
Released: Apache OpenOffice 4.1.15

API

SDK

Tips ‘n’ Tricks

Miscellaneous


:: cppu ::

class OMultiTypeInterfaceContainerHelperInt32


Base Classes
None.
Known Derived Classes
None.

virtual abstract interface template
NO NO NO NO
Summary
Specialized class for key type sal_Int32, without explicit usage of STL symbols.
File
propshlp.hxx

Public Members

Typedefs

keyType

Methods


OMultiTypeInterfaceContainerHelperInt32( ::osl::Mutex & ) throw( );
Create a container of interface containers.

~OMultiTypeInterfaceContainerHelperInt32( ) throw( );
Delete all containers.
::com::sun::star::uno::Sequence< sal_Int32 >
getContainedTypes( ) const throw( );
Return all id's under which at least one interface is added.
OInterfaceContainerHelper *
getContainer( const sal_Int32 & rKey ) const throw( );
Return the container created under this key.
sal_Int32
addInterface( const sal_Int32 & 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 sal_Int32 & 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( );

Private Members

Methods


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

Data

void * m_pMap;
::osl::Mutex & rMutex;

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.