53 PMO& root = index->getRoot();
56 ID i1 = index->insert (p1, root);
57 ID i2 = index->insert (p2, i1 );
58 ID i3 = index->insert (p3, i2 );
59 ID i4 = index->insert (p4, i3 );
60 index->insert (p5, i4 );
62 index->insert (ps1,root);
63 ID is2 =index->insert (ps2,root);
64 index->insert (ps3, is2);
72 retrieve_firstElmOfType()
89 return retrieve_firstElmOfType<TestSubMO1>();
93 retrieve_firstTestSubMO21()
95 return retrieve_firstElmOfType<TestSubMO21>();
Implementation level session API: query a scope.
Query a scope to discover it's contents or location.
Subclass-1 is not defined "processible", thus will always be handled as DummyMO...
Test MObject subclass, which, contrary to any real MObject, can be created directly without involving...
static lumiera::QueryResolver const & getResolver()
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()
PlacementMO & retrieve_startElm()
complement to the helper: retrieve one of the dummy placements which is a Placement<> and way down in...
Unit test helper to generate a system of nested test scopes.
ScopeQuery< MObject >::iterator explore_testScope(PlacementMO const &scopeTop)
shortcut to explore the contents of a scope within the current index.
Implementation level session API: PlacementIndex mock for tests.
Specific queries to explore contents of a scope within the high-level model.
Customised refcounting smart pointer template, built upon std::shared_ptr, but forwarding type relati...
discover the immediate children
static PPIdx install()
Re-define the implicit PlacementIndex temporarily, e.g.
Subclass-2 is defined "processible", but we omit the necessary "applicable" definition in TestTool...
Adapter for building an implementation of the »Lumiera Forward Iterator« concept. ...
thin wrapper around a size_t hash ID used as primary key for all Asset objects.