Lumiera 0.pre.04~rc.1
»edit your freedom«
Loading...
Searching...
No Matches
SessionServiceExploreScope Struct Reference

#include "steam/mobject/session/session-service-explore-scope.hpp"

Description

Implementation-level service for issuing contents/discovery queries.

Actually, the implementation of this service is backed by the PlacementIndex within the current session, but this link isn't disclosed to client code. The exposed QueryResolver is able to handle typed DiscoveryQuery instances. Usually, on invocation, a search scope needs to be specified. The root Scope of the current model (session datastructure) can be obtained by getScopeRoot

Definition at line 60 of file session-service-explore-scope.hpp.

Static Public Member Functions

static lumiera::QueryResolver const & getResolver ()
 
static PlacementMOgetScope (PlacementMO const &)
 
static PlacementMOgetScope (PlacementMO::ID const &)
 
static PlacementMOgetScopeRoot ()
 

Member Function Documentation

◆ getResolver()

QueryResolver const & getResolver ( )
static
Returns
resolver for DiscoveryQuery instances, actually backed by PlacementIndex

Definition at line 163 of file session-services.cpp.

Referenced by PlacementIndexQuery_test::checkQueryResolver(), steam::mobject::session::test::explore_testScope(), ScopeQuery_test::issue(), ElementQuery::pick(), steam::mobject::session::test::anonymous_namespace{test-scopes.cpp}::retrieve_firstElmOfType(), and ScopeLocator::theResolver().

+ Here is the caller graph for this function:

◆ getScope() [1/2]

PlacementMO & getScope ( PlacementMO const &  placementToLocate)
static
Returns
root scope of the current model (session datastructure)

Definition at line 171 of file session-services.cpp.

Referenced by Scope::containing(), and Scope::getParent().

+ Here is the caller graph for this function:

◆ getScope() [2/2]

PlacementMO & getScope ( PlacementMO::ID const &  placementToLocate)
static

Definition at line 178 of file session-services.cpp.

◆ getScopeRoot()

PlacementMO & getScopeRoot ( )
static
Returns
root scope of the current model (session datastructure)

Definition at line 186 of file session-services.cpp.

Referenced by PlacementIndexQuery_test::checkQueryResolver(), ScopePath::currModelRoot(), Scope::isRoot(), ElementQuery::pick(), ScopeLocator::pushPath(), steam::mobject::session::test::anonymous_namespace{test-scopes.cpp}::retrieve_firstElmOfType(), and ScopeQuery_test::run().

+ Here is the caller graph for this function:
+ Collaboration diagram for SessionServiceExploreScope:

The documentation for this struct was generated from the following files: