Lumiera  0.pre.03
»edit your freedom«
DummyTypedSolutionProducer Class Reference

Description

a (dummy) concrete query resolution facility.

It is hard-wired to accept queries on int and string, generating a sequence of results for both cases

Definition at line 127 of file query-resolver-test.cpp.

Private Member Functions

bool canHandleQuery (QID qID) const
 
 operator string () const
 short characterisation of the actual facility
 
template<typename TY >
bool wantResultType (QID qID) const
 

Static Private Member Functions

template<typename TY >
static ResolutionresolutionFunction (Goal const &goal)
 

Additional Inherited Members

- Public Member Functions inherited from QueryResolver
bool canHandle (Goal const &) const
 
PReso issue (Goal const &query) const
 issue a query to retrieve contents The query is handed over internally to a suitable resolver implementation. More...
 
- Protected Types inherited from QueryResolver
using ResolutionMechanism = function< Resolution *(Goal const &)>
 
- Protected Member Functions inherited from QueryResolver
virtual bool canHandleQuery (Goal::QueryID const &) const =0
 
void installResolutionCase (Goal::QueryID const &, ResolutionMechanism)
 
+ Inheritance diagram for DummyTypedSolutionProducer:
+ Collaboration diagram for DummyTypedSolutionProducer:

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