|
| Column (Statement::Ptr &aStmtPtr, int aIndex) throw () |
| Encapsulation of a Column in a Row of the result. More...
|
|
virtual | ~Column (void) throw () |
| Simple destructor. More...
|
|
int | getInt (void) const throw () |
| Return the integer value of the column. More...
|
|
sqlite3_int64 | getInt64 (void) const throw () |
| Return the 64bits integer value of the column. More...
|
|
double | getDouble (void) const throw () |
| Return the double (64bits float) value of the column. More...
|
|
const char * | getText (void) const throw () |
| Return a pointer to the text value (NULL terminated string) of the column. More...
|
|
const void * | getBlob (void) const throw () |
| Return a pointer to the binary blob value of the column. More...
|
|
int | getType (void) const throw () |
| Return the type of the value of the column. More...
|
|
bool | isInteger (void) const throw () |
| Test if the column is an integer type value (meaningfull only before any conversion) More...
|
|
bool | isFloat (void) const throw () |
| Test if the column is a floting point type value (meaningfull only before any conversion) More...
|
|
bool | isText (void) const throw () |
| Test if the column is a text type value (meaningfull only before any conversion) More...
|
|
bool | isBlob (void) const throw () |
| Test if the column is a binary blob type value (meaningfull only before any conversion) More...
|
|
bool | isNull (void) const throw () |
| Test if the column is NULL (meaningfull only before any conversion) More...
|
|
int | getBytes (void) const throw () |
| Return the number of bytes used by the text (or blob) value of the column. More...
|
|
int | size (void) const throw () |
| Alias returning the number of bytes used by the text (or blob) value of the column. More...
|
|
| operator int () const |
| Inline cast operator to int. More...
|
|
| operator sqlite3_int64 () const |
| Inline cast operator to 64bits integer. More...
|
|
| operator double () const |
| Inline cast operator to double. More...
|
|
| operator const char * () const |
| Inline cast operator to char*. More...
|
|
| operator const void * () const |
| Inline cast operator to void*. More...
|
|
const char * | errmsg (void) const |
| Return UTF-8 encoded English language explanation of the most recent error. More...
|
|
Encapsulation of a Column in a row of the result pointed by the prepared Statement.
A Column is a particular field of SQLite data in the current row of result of the Statement : it points to a single cell.
Its value can be expressed as a text, and, when applicable, as a numeric (integer or floting point) or a binary blob.
Definition at line 29 of file Column.h.
int SQLite::Column::getType |
( |
void |
| ) |
const throw () |
Return the type of the value of the column.
Return either SQLITE_INTEGER, SQLITE_FLOAT, SQLITE_TEXT, SQLITE_BLOB, or SQLITE_NULL.
- Warning
- After a type conversion (by a call to a getXxx on a Column of a Yyy type), the value returned by sqlite3_column_type() is undefined.
Definition at line 61 of file Column.cpp.