#include <defs.hh>
Inheritance diagram for uesqlc::TSqlstateDescriptor:
Public Methods | |
TSqlstateDescriptor (void) | |
Builds a new instance and initializes the map. | |
bool | queryIsEmpty (void) const |
bool | queryHasSingleRow (void) const |
int | getUniqueValue (void) const |
int | getUniqueValue (const char *pkcSQLSTATE) const |
const char * | getClassValue (void) const |
const char * | getClassValue (const char *pkcSQLSTATE) const |
mpcl::text::TString | getDescription (const char *pkcSQLSTATE) const |
const char * | getSubclassValue (void) const |
const char * | getSubclassValue (const char *pkcSQLSTATE) const |
Static Protected Methods | |
void | _addCondition (const char *pkcSQLSTATE, int iVALUE) |
void | _initialize (void) |
Initializes the SQLSTATE to integer map. |
Definition at line 473 of file c++/include/uesqlc/defs.hh.
|
Adds a new pair (pkcSQLSTATE, iVALUE) to the map.
Definition at line 272 of file defs.cc. Referenced by _initialize(). |
|
Gets SQLSTATE class for pkcSQLSTATE.
Definition at line 373 of file defs.cc. References getUniqueValue(). |
|
Gets SQLSTATE class.
Definition at line 576 of file c++/include/uesqlc/defs.hh. References uesqlc::SQLSTATE. Referenced by getDescription(). |
|
Gets the complete description for the SQLSTATE as in the source parameter pkcSQLSTATE.
Definition at line 589 of file defs.cc. References getClassValue(), and getSubclassValue(). Referenced by uesqlc::TNotFoundException::TNotFoundException(), and uesqlc::TSqlerrorException::TSqlerrorException(). |
|
Gets SQLSTATE subclass for pkcSQLSTATE.
Definition at line 608 of file defs.cc. References getUniqueValue(). |
|
Gets SQLSTATE subclass.
Definition at line 598 of file c++/include/uesqlc/defs.hh. References uesqlc::SQLSTATE. Referenced by getDescription(). |
|
Finds the integer value for the SQLSTATE in pkcSQLSTATE.
Definition at line 567 of file c++/include/uesqlc/defs.hh. |
|
Finds the integer value for the current SQLSTATE.
Definition at line 547 of file c++/include/uesqlc/defs.hh. References uesqlc::SQLSTATE. Referenced by getClassValue(), getSubclassValue(), queryHasSingleRow(), and queryIsEmpty(). |
|
Returns true if the query has only a single row.
Definition at line 534 of file c++/include/uesqlc/defs.hh. References getUniqueValue(). |
|
Returns true if the query is empty.
Definition at line 525 of file c++/include/uesqlc/defs.hh. References getUniqueValue(). |