#include <Services.h>
◆ 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()
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/kDB/Repository/Services.h
- kdb/kDB/Repository/Services.cpp