67 checkQueryOperations();
77 CHECK (isSameObject (resolver1, resolver2));
81 CHECK (isSameObject (root1, root2));
86 CHECK (isSameObject (elm3, elm2));
93 checkQueryOperations()
100 cout <<
"explore contents depth-first..." << endl;
105 cout <<
"path to root starting at " << elm << endl;
114 for ( ; result; ++result)
115 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.
Simple 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, bypassing any custom comparison operators.