#include <Services.h>
|
|
| Services (const Services &_rhs) |
| |
|
Services | operator= (const Services &_rhs) |
| |
| template<typename _T_ > |
| void | addService (_T_ *_service, int _priority=0) |
| |
| knowDBC::Result | call (const knowCore::Uri &_service, const QString &_query, const knowCore::ValueHash &_bindings) const |
| |
| template<typename _T_ > |
| void | removeAllServices () |
| |
◆ addService()
template<typename _T_ >
| void kDB::Repository::Services::addService |
( |
_T_ * | _service, |
|
|
int | _priority = 0 ) |
|
inline |
Add a _service , a higher _priority is used if two different AbstractService can answer a call, a higher value is tried first
◆ call()
| knowDBC::Result Services::call |
( |
const knowCore::Uri & | _service, |
|
|
const QString & | _query, |
|
|
const knowCore::ValueHash & | _bindings ) const |
Execute the query _query on the service _service using the _bindings
- Returns
- the result of the query or an error if the service cannot be called
◆ removeAllServices()
template<typename _T_ >
| void kDB::Repository::Services::removeAllServices |
( |
| ) |
|
|
inline |
Remove all the services with a given type
The documentation for this class was generated from the following files:
- kDB/Repository/Services.h
- kDB/Repository/Services.cpp