![]() |
Defines the operation that will be performed by the database. More...
#include <DBBase.h>
Inheritance diagram for HSEPData::DBStatement:
Collaboration diagram for HSEPData::DBStatement:Public Member Functions | |
| DBStatement () | |
| virtual | ~DBStatement () |
| int | cycleQuery (CycleBase &pCycleRef) |
| Dispatch the statement with the provided Cycle. | |
| int | cycleQuery (ExecuteFunctionType pFunction) |
| Dispatch the statement with the provided Function. | |
| int | cycleQuery (DBParameters &pParametersRef, ExecuteFunctionType pFunction) |
| Dispatch the statement, using the provided parameters, with the provided Function. | |
| int | cycleQuery (DBParameters &pParametersRef, CycleBase &pCycleRef) |
| Dispatch the statement, using the provided parameters, with the provided Cycle. | |
Public Member Functions inherited from HSEP::HSEPObject | |
| string & | lastErrorRef () |
| Returns a reference to the last stored error message. | |
| ErrorCode | lastCode () |
| Returns the last stored code. | |
| bool | valid () |
| Permits to know if the object has a valid internal state. | |
| string & | typeRef () |
| Permits to know the type of this particular object. | |
Protected Member Functions | |
| virtual DBResultSet * | executeQueryPtr ()=0 |
| virtual DBResultSet * | executeQueryPtr (DBParameters &ParametersRef)=0 |
Protected Member Functions inherited from HSEP::HSEPObject | |
| HSEPObject (const char *pType) | |
| Constructor, providing the base for the state controlling instance. | |
| virtual | ~HSEPObject () |
| void | setLastError (string &pErrorMsgRef) |
| Assigns an error message text to the last executed operation. | |
| void | setLastError (const string &pErrorMsgRef) |
| Assigns an error message text to the last executed operation. | |
| void | setLastError (const char *pErrorMsg) |
| Assigns an error message text to the last executed operation. | |
| void | setValid () |
| Defines that the object has a valid state. | |
| void | setInvalid () |
| Defines that the object has an invalid state. | |
| void | setLastCode (const ErrorCode pErrorCode) |
| Defines the internal result code for the object. | |
Defines the operation that will be performed by the database.
|
inlinevirtual |
| int HSEPData::DBStatement::cycleQuery | ( | CycleBase & | pCycleRef | ) |
Dispatch the statement with the provided Cycle.
The statement has no parameters.
| pCycleRef |
Definition at line 80 of file DBBase.cpp.
References executeQueryPtr(), and HSEPData::DBResultSet::forEach().
Referenced by HSEPData::QueryRunner::execute().
Here is the call graph for this function:
Here is the caller graph for this function:| int HSEPData::DBStatement::cycleQuery | ( | ExecuteFunctionType | pFunction | ) |
Dispatch the statement with the provided Function.
The statement has no parameters.
| pFunction |
Definition at line 93 of file DBBase.cpp.
References executeQueryPtr(), and HSEPData::DBResultSet::forEach().
Here is the call graph for this function:| int HSEPData::DBStatement::cycleQuery | ( | DBParameters & | pParametersRef, |
| ExecuteFunctionType | pFunction | ||
| ) |
Dispatch the statement, using the provided parameters, with the provided Function.
| pParametersRef | |
| pFunction |
Definition at line 106 of file DBBase.cpp.
References executeQueryPtr(), and HSEPData::DBResultSet::forEach().
Here is the call graph for this function:| int HSEPData::DBStatement::cycleQuery | ( | DBParameters & | pParametersRef, |
| CycleBase & | pCycleRef | ||
| ) |
Dispatch the statement, using the provided parameters, with the provided Cycle.
| pParametersRef | |
| pCycleRef |
Definition at line 119 of file DBBase.cpp.
References executeQueryPtr(), and HSEPData::DBResultSet::forEach().
Here is the call graph for this function:
|
protectedpure virtual |
Implemented in HSEPDataSqLite::SqLiteStatement.
Referenced by cycleQuery().
Here is the caller graph for this function:
|
protectedpure virtual |
Implemented in HSEPDataSqLite::SqLiteStatement.