Language
The Free and Open Productivity Suite
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 |
:: cppu :: class OMultiTypeInterfaceContainerHelper
- Base Classes
- None.
- Known Derived Classes
- None.
virtual |
abstract |
interface |
template |
NO |
NO |
NO |
NO |
- Summary
- Specialized class for key type com::sun::star::uno::Type,
without explicit usage of STL symbols.
- File
- interfacecontainer.h
Public Members
-
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( ); |
Inserts an element into the container with the specified key.
The position is not specified, thus it is not specified in which order events are fired.
|
sal_Int32
removeInterface( const ::com::sun::star::uno::Type & rKey, const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > & rxIFace ) throw( ); |
Removes an element from the container with the specified key.
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( ); |
Remove all elements of all containers. Does not delete the container.
|
Private Members
-
Top of Page
Copyright © 2012, The Apache Software Foundation, Licensed under the Apache License, Version 2.0. Apache, the Apache feather logo, Apache OpenOffice and OpenOffice.org are trademarks of The Apache Software Foundation. Other names may be trademarks of their respective owners.