![]() |
Lumiera 0.pre.04~rc.1
»edit your freedom«
|
#include "common/config-rules.hpp"
the "front side" interface: the Steam-Layer code can use this QueryHandler to retrieve instances of the type TY fulfilling the given Query.
To start with, we use a mock implementation. (this code works and is already used 2/2008)
Definition at line 154 of file config-rules.hpp.
Public Member Functions | |
| virtual bool | resolve (P< TY > &solution, Query< TY > const &q)=0 |
| try to find or create an object of type TY fulfilling the given query. | |
Protected Member Functions | |
| virtual | ~QueryHandler () |
|
inlineprotectedvirtual |
Definition at line 157 of file config-rules.hpp.
try to find or create an object of type TY fulfilling the given query.
| solution | object fulfilling the query. Will be bound or unified (in case it's already bound) with the first solution. |
| q | any goals to be fulfilled by the solution. |
Referenced by DefsManagerImpl_test::create(), DefsManager::create(), DefsManager::define(), StructFactory::operator()(), steam::mobject::_mapping::resolveQuery(), and DefsManager::search().
Here is the caller graph for this function:
Collaboration diagram for QueryHandler< TY >: