62 PMO& root = index->getRoot();
65 ID i1 = index->insert (p1, root);
66 ID i2 = index->insert (p2, i1 );
67 ID i3 = index->insert (p3, i2 );
68 ID i4 = index->insert (p4, i3 );
69 index->insert (p5, i4 );
71 index->insert (ps1,root);
72 ID is2 =index->insert (ps2,root);
73 index->insert (ps3, is2);
81 retrieve_firstElmOfType()
98 return retrieve_firstElmOfType<TestSubMO1>();
102 retrieve_firstTestSubMO21()
104 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.