Database callback class.
More...
#include <Database.h>
| virtual trippingcyril::database::DBCallback::~DBCallback |
( |
| ) |
|
|
inlinevirtual |
| virtual void trippingcyril::database::DBCallback::QueryDone |
( |
| ) |
|
|
inlinevirtual |
This will get called after either QueryResult or QueryError, you could use this as a cleanup method.
| virtual void trippingcyril::database::DBCallback::QueryError |
( |
const String & |
error, |
|
|
const String & |
query |
|
) |
| |
|
pure virtual |
This method will get called upon errors
- Parameters
-
| error | The error message |
| query | The query |
| virtual void trippingcyril::database::DBCallback::QueryResult |
( |
const DBResult * |
result, |
|
|
const String & |
query |
|
) |
| |
|
pure virtual |
This method will get called with the results
- Parameters
-
| result | The result of the query |
| query | The query |
The documentation for this class was generated from the following file: