| Type | info |
| Title | cppu::OInterfaceContainerHelper::forEach<>() |
| Posted by | [EMAIL PROTECTED] |
| Affected | ..., |
| Effective from | cws presfixes08 |
Summary
I have added the following template member function:
cppuhelper/interfacecontainer.h, class cppu::OInterfaceContainerHelper:
+ template <typename ListenerT, typename FuncT>
+ inline void forEach( FuncT const& func );
Description
/** Executes a functor for each contained listener of specified type, e.g.
<code>forEach<awt::XPaintListener>(...</code>.
If a com::sun::star::lang::DisposedException occurs which relates to
the called listener, then that listener is removed from the container.
@tpl ListenerT listener type
@tpl FuncT unary functor type, let your compiler deduce this for you
@param func unary functor object expecting an argument of type
::com::sun::star::uno::Reference<ListenerT>
*/
template <typename ListenerT, typename FuncT>
inline void forEach( FuncT const& func );
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
