#include <QueryField.h>
Public Methods | |
DOQuery* | GetQuery () const |
DOQueryField (DOQuery *pQuery, unsigned int number, MYSQL_FIELD *pField) | |
Constructor method. More... | |
virtual | ~DOQueryField () |
Destructor method. More... | |
const char* | GetName () |
Return the name of the field. More... | |
CString | GetValue () |
Return the value of the field. More... | |
bool | isNull () |
true if the field value is NIL. More... | |
bool | isNum () |
true if the field contains a numeric value. More... | |
bool | isPriKey () |
true if the field is (part of) the primary key. More... | |
unsigned int | GetNumber () const |
Returns the value of member 'm_number'. More... | |
Public Attributes | |
DOQuery* | _refQuery |
DOQueryField* | _prevQuery |
DOQueryField* | _nextQuery |
Private Methods | |
void | ConstructorInclude (DOQuery *pQuery) |
Method which must be called first in a constructor. More... | |
void | DestructorInclude () |
Method which must be called first in a destructor. More... | |
Private Attributes | |
MYSQL_FIELD* | m_pField |
unsigned int | m_number |
Definition at line 69 of file QueryField.h.
|
Constructor method.
Definition at line 71 of file QueryField.cpp. |
|
Destructor method.
Definition at line 85 of file QueryField.cpp. |
|
Method which must be called first in a constructor.
Definition at line 116 of file QueryField.cpp. |
|
Method which must be called first in a destructor.
Definition at line 144 of file QueryField.cpp. Referenced by ~DOQueryField(). |
|
Return the name of the field.
Definition at line 121 of file QueryField.h. |
|
Returns the value of member 'm_number'.
Definition at line 162 of file QueryField.h. |
|
Definition at line 79 of file QueryField.h. |
|
Return the value of the field. Note that NULL fields are returned as empty strings, use DOQueryField::isNull() to make this distinction. Definition at line 99 of file QueryField.cpp. Referenced by IRPlus::InsertIRFieldRecord(), IRPlus::newMeth(), and IRPlus::newParam(). |
|
true if the field value is NIL.
Definition at line 131 of file QueryField.h. |
|
true if the field contains a numeric value.
Definition at line 142 of file QueryField.h. |
|
true if the field is (part of) the primary key.
Definition at line 152 of file QueryField.h. |
|
Definition at line 76 of file QueryField.h. |
|
Definition at line 75 of file QueryField.h. |
|
Definition at line 74 of file QueryField.h. |
|
Definition at line 87 of file QueryField.h. |
|
Definition at line 86 of file QueryField.h. |