#include <vtql_query.h>
Public Types | |
enum | { QME_RUNNING = -1, QME_SUCCESS, QME_VOID, QME_ERROR } |
Acutal state of the command. More... | |
Public Methods | |
QMError_flag (size_t id=0) | |
Init this object to a WriteID and set QME_RUNNING flag. More... | |
void | SetID (size_t i) |
Set the WriteID. More... | |
void | Handle (const Query_generic::CallB::CBFunct::Arg &p) |
Check a callback argument for messages. More... | |
Public Attributes | |
enum VTQL::QMError_flag:: { ... } | Err |
Acutal state of the command. More... | |
std::string | sErr |
almost the same as the Err flag, but as string. | |
std::string | sMsg |
This function is very handy if you want to know about the status of the execution of a command, such as VTQL syntax errors. Since this is a flag if the CQModul, the server errors are handled autmatically and if you inherit from CQModul and you have a unified design.
|
Acutal state of the command. If you Wait(bool) did return true, you can get the success status of the command. If you do not know about that return value, you can check for the QME_RUNNING flag.
|
|
Init this object to a WriteID and set QME_RUNNING flag.
|
|
Set the WriteID.
|
|
Check a callback argument for messages. This class expect of course to be attaced to a Query_generic instance. This method is called by the callback handler of CQModul.
|
|
Acutal state of the command. If you Wait(bool) did return true, you can get the success status of the command. If you do not know about that return value, you can check for the QME_RUNNING flag. |
|
If QME_ERROR is set, this containts the error message of the server, "" otherwise |