Overview | Namespace | Class | Index | Help |
Methods of Class OInterfaceContainerHelper
- OInterfaceContainerHelper
- OInterfaceContainerHelper(
::osl::Mutex & rMutex ) throw();
virtual abstract const volatile template static inline C-linkage NO NO NO NO NO NO NO NO
- Summary
- Create an interface container.
- Parameters
rMutex the mutex to protect multi thread access. The lifetime must be longer than the lifetime of this object.
- ~OInterfaceContainerHelper
- ~OInterfaceContainerHelper() throw();
virtual abstract const volatile template static inline C-linkage NO NO NO NO NO NO NO NO
- Summary
- Release all interfaces. All iterators must be destroyed before the container is destructed.
- getLength
- sal_Int32 getLength() throw();
virtual abstract const volatile template static inline C-linkage NO NO NO NO NO NO NO NO
- Summary
- Return the number of Elements in the container. Only useful if you have acquired the mutex.
- getElements
- ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > > getElements() throw();
virtual abstract const volatile template static inline C-linkage NO NO NO NO NO NO NO NO
- Summary
- Return all interfaces added to this container.
- addInterface
- sal_Int32 addInterface(
const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > & rxIFace ) throw();
virtual abstract const volatile template static inline C-linkage NO NO NO NO NO NO NO NO
- Summary
- Insert an element in the container. The position is not specified.
- Parameters
rxIFace the added interface. It is allowed to insert null or the same pointer more than once.
- Return
- the new count of elements in the container.
- removeInterface
- sal_Int32 removeInterface(
const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > & rxIFace ) throw();
virtual abstract const volatile template static inline C-linkage NO NO NO NO NO NO NO NO
- Summary
- Remove an element from the container. It uses the equal definition of uno objects to remove the interfaces.
- Parameters
rxIFace the removed interface.
- Return
- the new count of elements in the container.
- disposeAndClear
- void disposeAndClear(
const ::com::sun::star::lang::EventObject & rEvt ) throw();
virtual abstract const volatile template static inline C-linkage NO NO NO NO NO NO NO NO
- Summary
- Call disposing on all object in the container that support XEventListener. Than clear the container.
- clear
- void clear() throw();
virtual abstract const volatile template static inline C-linkage NO NO NO NO NO NO NO NO
- Summary
- Clears the container without calling disposing().
- OInterfaceContainerHelper
- OInterfaceContainerHelper(
const OInterfaceContainerHelper & ) throw();
virtual abstract const volatile template static inline C-linkage NO NO NO NO NO NO NO NO
- operator=
- OInterfaceContainerHelper & operator=(
const OInterfaceContainerHelper & ) throw();
virtual abstract const volatile template static inline C-linkage NO NO NO NO NO NO NO NO
- copyAndResetInUse
- void copyAndResetInUse() throw();
virtual abstract const volatile template static inline C-linkage NO NO NO NO NO NO NO NO
- operator new
- static void * operator new(
size_t nSize ) throw();
virtual abstract const volatile template static inline C-linkage NO NO NO NO NO YES YES NO
- operator delete
- static void operator delete(
void * pMem ) throw();
virtual abstract const volatile template static inline C-linkage NO NO NO NO NO YES YES NO
- operator new
- static void * operator new(
size_t , void * pMem ) throw();
virtual abstract const volatile template static inline C-linkage NO NO NO NO NO YES YES NO
- operator delete
- static void operator delete(
void * , void * ) throw();
virtual abstract const volatile template static inline C-linkage NO NO NO NO NO YES YES NO
Top of Page
Copyright 2002 Sun Microsystems, Inc., 901 San Antonio Road, Palo Alto, CA 94303 USA.