lumiera::query::QueryHandler< TY > Class Template Reference

#include <configrules.hpp>

List of all members.


Detailed Description

template<class TY>
class lumiera::query::QueryHandler< TY >

the "frontside" interface: the Proc-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)

See also:
lumiera::query::LookupPreconfigured

lumiera::query::MockTable

Definition at line 139 of file configrules.hpp.


Public Member Functions

virtual bool resolve (P< TY > &solution, const Query< TY > &q)=0
 try to find or create an object of type TY fulfilling the given query.

Member Function Documentation

template<class TY>
virtual bool lumiera::query::QueryHandler< TY >::resolve ( P< TY > &  solution,
const Query< TY > &  q 
) [pure virtual]

try to find or create an object of type TY fulfilling the given query.

Parameters:
solution object fulfilling the query. Will be bound or unified (in case it's already bound) with the first solution. any goals to be fulfilled by the solution.
Returns:
false if resolution failed. In this case, solution ptr is empty.

Referenced by mobject::session::DefsManager::create(), mobject::session::DefsManager::define(), asset::StructFactory::operator()(), and mobject::session::DefsManager::search().

Here is the caller graph for this function:


The documentation for this class was generated from the following file:

Generated on Fri Nov 7 22:15:52 2008 for Lumiera by  doxygen 1.5.6