Lumiera  0.pre.03
»edit your freedom«
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 69 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 172 of file session-services.cpp.

References SessionServices< APIS, FRONT, SESS >::current.

Referenced by steam::mobject::session::test::explore_testScope(), ElementQuery::pick(), and ScopeLocator::theResolver().

+ Here is the caller graph for this function:

◆ getScope()

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

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

References SessionServices< APIS, FRONT, SESS >::current.

Referenced by Scope::containing().

+ Here is the caller graph for this function:

◆ getScopeRoot()

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

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

References SessionServices< APIS, FRONT, SESS >::current.

Referenced by Scope::isRoot(), ScopePath::isValid(), ElementQuery::pick(), and ScopeLocator::pushPath().

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

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