Lumiera
0.pre.03
»edit your freedom«
|
#include "steam/mobject/session/specific-contents-query.hpp"
from the session, based on a filter predicate.
As the parent type, ContentsQuery, the resolution of this query requires to explore the given scope depth first; but in addition to filter based on type, a client-provided predicate is applied to each result.
Definition at line 54 of file specific-contents-query.hpp.
Public Member Functions | |
SpecificContentsQuery (PlacementMO const &scope, SpecialPredicate const &specialPred) | |
Public Member Functions inherited from ContentsQuery< MO > | |
ContentsQuery (PlacementMO const &scope) | |
Public Member Functions inherited from ScopeQuery< MO > | |
ScopeQuery (PlacementMO const &scope, ScopeQueryKind direction) | |
ScopeQueryKind | searchDirection () const |
PlacementMO::ID const & | searchScope () const |
Public Member Functions inherited from DiscoveryQuery< MO > | |
ContentFilter | contentFilter () const |
Public Member Functions inherited from Query< RES > | |
Query (string querySpec) | |
string | extractID (Symbol predicate) const |
convenience shortcut to extract a desired name-ID. More... | |
operator QueryKey () const | |
automatic conversion from Query to QueryKey for indexing and ordering. More... | |
iterator | operator() (QueryResolver const &resolver) const |
notational convenience shortcut, synonymous to Query<RES>::resolveBy() | |
Builder | rebuild () const |
iterator | resolveBy (QueryResolver const &resolver) const |
bool | usesPredicate (Symbol predicate) const |
Public Member Functions inherited from Goal | |
virtual | ~Goal () |
this is a marker baseclass | |
QueryID const & | getQID () const |
Classes | |
class | Filter |
Filter functor, built on top of a predicate, which is provided by the client on creation of this SpecivicContentsQuery instance. More... | |
Private Types | |
typedef ContentsQuery< MO >::ContentFilter | ContentFilter |
typedef function< bool(TypedPlacement)> | SpecialPredicate |
typedef Placement< MO > const & | TypedPlacement |
Private Member Functions | |
ContentFilter | buildContentFilter () const |
using a specialised version of the filtering, which doesn't only check the concrete type, but also applies a custom filter predicate More... | |
Private Attributes | |
Filter | specialTest_ |
Additional Inherited Members | |
Public Types inherited from ScopeQuery< MO > | |
typedef _Parent::ContentFilter | ContentFilter |
typedef _Parent::iterator | iterator |
Public Types inherited from DiscoveryQuery< MO > | |
typedef function< bool(PlacementMO const &)> | ContentFilter |
typedef _Query::iterator | iterator |
Public Types inherited from Query< RES > | |
typedef lib::IterAdapter< Cursor, PReso > | iterator |
Public Types inherited from Goal | |
enum | Kind { EMPTY = 0, GENERIC = 1, DISCOVERY, PLACEMENT } |
Static Public Member Functions inherited from Query< RES > | |
static Builder | build (Kind queryType=Goal::GENERIC) |
Protected Member Functions inherited from Query< RES > | |
Query (QueryID typeID, lib::QueryText const &genericQuerySpec) | |
Query (QueryID typeID, string querySpec) | |
lib::QueryText | getQueryDefinition () const |
access the complete syntactical representation of this query. More... | |
Protected Member Functions inherited from Goal | |
Goal (QueryID qid) | |
Static Protected Member Functions inherited from Query< RES > | |
static QueryID | defineQueryTypeID (Kind queryType=Goal::GENERIC) |
Protected Attributes inherited from Goal | |
QueryID | id_ |
|
inlineprivatevirtual |
using a specialised version of the filtering, which doesn't only check the concrete type, but also applies a custom filter predicate
Reimplemented from ScopeQuery< MO >.
Definition at line 98 of file specific-contents-query.hpp.