LibreOffice Module framework (master) 1
Public Member Functions | List of all members
framework::InterceptionHelper::InterceptorList Class Reference

implements a list of items of type InterceptorInfo, and provides some special functions on it. More...

Inheritance diagram for framework::InterceptionHelper::InterceptorList:
[legend]
Collaboration diagram for framework::InterceptionHelper::InterceptorList:
[legend]

Public Member Functions

iterator findByReference (const css::uno::Reference< css::frame::XDispatchProviderInterceptor > &xInterceptor)
 search for an interceptor inside this list using it's reference. More...
 
iterator findByPattern (std::u16string_view sURL)
 search for an interceptor inside this list using it's reference. More...
 

Detailed Description

implements a list of items of type InterceptorInfo, and provides some special functions on it.

@descr Because interceptor objects can be registered for URL patterns, it supports a wildcard search on all list items.

Definition at line 78 of file interceptionhelper.hxx.

Member Function Documentation

◆ findByPattern()

iterator framework::InterceptionHelper::InterceptorList::findByPattern ( std::u16string_view  sURL)
inline

search for an interceptor inside this list using it's reference.

Parameters
sURLURL which should match with a registered pattern.
Returns
An iterator object, which points directly to the located item inside this list. In case no interceptor could be found, it points to the end of this list!

Definition at line 109 of file interceptionhelper.hxx.

References begin, end, and WildCard::Matches().

Referenced by framework::InterceptionHelper::queryDispatch().

◆ findByReference()

iterator framework::InterceptionHelper::InterceptorList::findByReference ( const css::uno::Reference< css::frame::XDispatchProviderInterceptor > &  xInterceptor)
inline

search for an interceptor inside this list using it's reference.

Parameters
xInterceptorpoints to the interceptor object, which should be located inside this list.
Returns
An iterator object, which points directly to the located item inside this list. In case no interceptor could be found, it points to the end of this list!

Definition at line 90 of file interceptionhelper.hxx.

References begin, and end.

Referenced by framework::InterceptionHelper::releaseDispatchProviderInterceptor().


The documentation for this class was generated from the following file: