58 checkQueryOperations();
68 CHECK (isSameObject (resolver1, resolver2));
72 CHECK (isSameObject (root1, root2));
77 CHECK (isSameObject (elm3, elm2));
84 checkQueryOperations()
91 cout <<
"explore contents depth-first..." << endl;
96 cout <<
"path to root starting at " << elm << endl;
105 for ( ; result; ++result)
106 cout << *result << endl;
Implementation level session API: query a scope.
Wrapper for the PlacementIndex, allowing to resolve scope contents discovery.
static lumiera::QueryResolver const & getResolver()
Interface: a facility for resolving (some kind of) queries A concrete subclass has the ability to cre...
framework and to resolve logical queries.
PPIdx build_testScopes()
helper for tests: create a pseudo-session (actually just a PlacementIndex), which contains some neste...
Steam-Layer implementation namespace root.
Namespace of Session and user visible high-level objects.
static PlacementMO & getScopeRoot()
Unit test helper to generate a system of nested test scopes.
Simplistic test class runner.
Tiny helper functions and shortcuts to be used everywhere Consider this header to be effectively incl...
Specific queries to explore contents of a scope within the high-level model.
Implementing resolution of "discover contents"-queries based on PlacementIndex.
bool isSameObject(A const &a, B const &b)
compare plain object identity, based directly on the referee's memory identities. ...