Lumiera
0.pre.03
»edit your freedom«
|
Go to the source code of this file.
Implementing resolution of "discover contents"-queries based on PlacementIndex.
This wrapper adds a service to resolve queries for exploring the contents or the parent path of a given scope; the actual implementation relies on the basic operations provided by the PlacementIndex; usually this wrapper is instantiated as one of the SessionServices for use by Steam-Layer internals. The PlacementIndex to use for the implementation is handed in to the ctor.
As any of the QueryResolver services, the actual resolution is completely decoupled from the querying client code, which retrieves the query results through an iterator. Parametrisation is transmitted to the resolver using a special subclass of Goal, a ScopeQuery. Especially, besides a filter to apply on the results to retrieve, the direction and way to search can be parametrised:
Definition in file placement-index-query-resolver.hpp.
#include "steam/mobject/session/placement-index.hpp"
#include "steam/mobject/session/scope-query.hpp"
#include "common/query.hpp"
#include <functional>
Classes | |
class | PlacementIndexQueryResolver |
Wrapper for the PlacementIndex, allowing to resolve scope contents discovery. More... | |
Typedefs | |
typedef PlacementIndex & | IndexLink(void) |
Namespaces | |
steam | |
Steam-Layer implementation namespace root. | |
steam::mobject | |
Media-Objects, edit operations and high-level session. | |
steam::mobject::session | |
Namespace of Session and user visible high-level objects. | |