25#ifndef MOBJECT_SESSION_SPECIFIC_CONTENTS_QUERY_H
26#define MOBJECT_SESSION_SPECIFIC_CONTENTS_QUERY_H
80 if (!anyMO.isCompatible<MO>())
150 template<
typename FUNC>
151 inline _PickResult<FUNC>::FilterQuery
154 using Query = _PickResult<FUNC>::FilterQuery;
156 return Query(scope, predicate);
164 template<
typename FUNC>
165 inline _PickResult<FUNC>::Iterator
168 using Query = _PickResult<FUNC>::FilterQuery;
Interface: a facility for resolving (some kind of) queries A concrete subclass has the ability to cre...
Generic interface to express a query for specifically typed result elements exposing some capabilitie...
iterator resolveBy(QueryResolver const &resolver) const
A refcounting Handle to an MObject of type MO, used to constrain or explicitly specify the location w...
function< bool(PlacementMO const &)> ContentFilter
_Parent::iterator iterator
Filter functor, built on top of a predicate, which is provided by the client on creation of this Spec...
SpecialPredicate predicate_
Filter(SpecialPredicate const &pred)
bool operator()(PlacementMO const &anyMO)
from the session, based on a filter predicate.
function< bool(TypedPlacement)> SpecialPredicate
ContentFilter buildContentFilter() const
using a specialised version of the filtering, which doesn't only check the concrete type,...
SpecificContentsQuery(PlacementMO const &scope, SpecialPredicate const &specialPred)
Placement< MO > const & TypedPlacement
ContentsQuery< MO >::ContentFilter ContentFilter
ScopeQuery< MO >::iterator Iterator
SpecificContentsQuery< MO > FilterQuery
Namespace of Session and user visible high-level objects.
_PickResult< FUNC >::FilterQuery pickAllSuitable(PlacementMO const &scope, FUNC predicate)
convenience shortcut to issue a SpecificContentsQuery, figuring out the actual return/filter type aut...
Steam-Layer implementation namespace root.
Core abstraction: placement of a media object into session context.
framework and to resolve logical queries.
Specific queries to explore contents of a scope within the high-level model.