Lumiera 0.pre.04
»edit your freedom«
Loading...
Searching...
No Matches
lumiera::query Namespace Reference

Namespaces

namespace  anonymous_namespace{config-rules.cpp}
 
namespace  impl
 
namespace  test
 

Typedefs

using PFork = lib::P< Fork >
 

Classes

class  ConfigRules
 Generic query interface for retrieving objects matching some capability query. More...
 
class  DefsManager
 Organise a collection of preconfigured default objects. More...
 
class  Pred
 
class  QueryHandler
 the "front side" interface: the Steam-Layer code can use this QueryHandler to retrieve instances of the type TY fulfilling the given Query. More...
 
class  Resolver
 
class  TypeHandler
 the "back side" interface towards the classes participating in the configuration system (the config system will be delivering instances of these classes for a given query). More...
 
class  TypeHandlerXX
 Adapter for using this type as a primary type within Lumiera's Steam-Layer. More...
 
struct  TypeHandlerXX< steam::mobject::session::test::DummyEntity >
 Adapter for using mobject::session::test::DummyEntity as a primary type with the TypedID registration service. More...
 

Functions

void setFakeBypass (lumiera::QueryKey const &q)
 backdoor for tests: the next config query with this query string will magically succeed with every candidate object provided.
 
bool isFakeBypass (lumiera::QueryKey const &q)
 

Typedef Documentation

◆ PFork

using PFork = lib::P<Fork>

Definition at line 96 of file config-resolver.cpp.


Class Documentation

◆ lumiera::query::Pred

class lumiera::query::Pred
+ Collaboration diagram for Pred< SYM, SIG >:

◆ lumiera::query::Resolver

class lumiera::query::Resolver
+ Collaboration diagram for Resolver:

◆ lumiera::query::TypeHandlerXX

class lumiera::query::TypeHandlerXX
+ Collaboration diagram for TypeHandlerXX< TY >:

Function Documentation

◆ setFakeBypass()

void setFakeBypass ( lumiera::QueryKey const &  q)

backdoor for tests: the next config query with this query string will magically succeed with every candidate object provided.

This is currently necessary to get objects into the defaults manager, as the query system is not able to do real query resolution

Definition at line 48 of file config-rules.cpp.

Referenced by DefsManagerImpl_test::define_and_search().

+ Here is the caller graph for this function:

◆ isFakeBypass()

bool isFakeBypass ( lumiera::QueryKey const &  q)

Definition at line 49 of file config-rules.cpp.

References isFakeBypass().

Referenced by isFakeBypass().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: