creaImageIO_lib
|
#include <CppSQLite3.h>
Public Member Functions | |
CppSQLite3Table () | |
CppSQLite3Table (const CppSQLite3Table &rTable) | |
CppSQLite3Table (char **paszResults, int nRows, int nCols) | |
virtual | ~CppSQLite3Table () |
CppSQLite3Table & | operator= (const CppSQLite3Table &rTable) |
int | numFields () |
int | numRows () |
const char * | fieldName (int nCol) |
const char * | fieldValue (int nField) |
const char * | fieldValue (const char *szField) |
int | getIntField (int nField, int nNullValue=0) |
int | getIntField (const char *szField, int nNullValue=0) |
double | getFloatField (int nField, double fNullValue=0.0) |
double | getFloatField (const char *szField, double fNullValue=0.0) |
const char * | getStringField (int nField, const char *szNullValue="") |
const char * | getStringField (const char *szField, const char *szNullValue="") |
bool | fieldIsNull (int nField) |
bool | fieldIsNull (const char *szField) |
void | setRow (int nRow) |
void | finalize () |
Private Member Functions | |
void | checkResults () |
Private Attributes | |
int | mnCols |
int | mnRows |
int | mnCurrentRow |
char ** | mpaszResults |
Definition at line 351 of file CppSQLite3.h.
CppSQLite3Table::CppSQLite3Table | ( | ) |
Definition at line 1243 of file CppSQLite3.cpp.
References mnCols, mnCurrentRow, mnRows, and mpaszResults.
CppSQLite3Table::CppSQLite3Table | ( | const CppSQLite3Table & | rTable | ) |
Definition at line 1261 of file CppSQLite3.cpp.
References mnCols, mnCurrentRow, mnRows, and mpaszResults.
CppSQLite3Table::CppSQLite3Table | ( | char ** | paszResults, |
int | nRows, | ||
int | nCols | ||
) |
Definition at line 1283 of file CppSQLite3.cpp.
References mnCols, mnCurrentRow, mnRows, and mpaszResults.
|
virtual |
Definition at line 1301 of file CppSQLite3.cpp.
References finalize().
|
private |
Definition at line 1731 of file CppSQLite3.cpp.
References CPPSQLITE_ERROR, DONT_DELETE_MSG, and mpaszResults.
Referenced by fieldIsNull(), fieldName(), fieldValue(), numFields(), numRows(), and setRow().
bool CppSQLite3Table::fieldIsNull | ( | int | nField | ) |
Definition at line 1643 of file CppSQLite3.cpp.
References checkResults(), and fieldValue().
Referenced by getFloatField(), getIntField(), and getStringField().
bool CppSQLite3Table::fieldIsNull | ( | const char * | szField | ) |
Definition at line 1657 of file CppSQLite3.cpp.
References checkResults(), and fieldValue().
const char * CppSQLite3Table::fieldName | ( | int | nCol | ) |
Definition at line 1671 of file CppSQLite3.cpp.
References checkResults(), CPPSQLITE_ERROR, DONT_DELETE_MSG, mnCols, and mpaszResults.
const char * CppSQLite3Table::fieldValue | ( | int | nField | ) |
Definition at line 1411 of file CppSQLite3.cpp.
References checkResults(), CPPSQLITE_ERROR, DONT_DELETE_MSG, mnCols, mnCurrentRow, and mpaszResults.
Referenced by fieldIsNull(), getFloatField(), getIntField(), and getStringField().
const char * CppSQLite3Table::fieldValue | ( | const char * | szField | ) |
Definition at line 1443 of file CppSQLite3.cpp.
References checkResults(), CPPSQLITE_ERROR, DONT_DELETE_MSG, mnCols, mnCurrentRow, and mpaszResults.
void CppSQLite3Table::finalize | ( | ) |
Definition at line 1363 of file CppSQLite3.cpp.
References mpaszResults.
Referenced by operator=(), and ~CppSQLite3Table().
double CppSQLite3Table::getFloatField | ( | int | nField, |
double | fNullValue = 0.0 |
||
) |
Definition at line 1539 of file CppSQLite3.cpp.
References fieldIsNull(), and fieldValue().
double CppSQLite3Table::getFloatField | ( | const char * | szField, |
double | fNullValue = 0.0 |
||
) |
Definition at line 1565 of file CppSQLite3.cpp.
References fieldIsNull(), and fieldValue().
int CppSQLite3Table::getIntField | ( | int | nField, |
int | nNullValue = 0 |
||
) |
Definition at line 1487 of file CppSQLite3.cpp.
References fieldIsNull(), and fieldValue().
int CppSQLite3Table::getIntField | ( | const char * | szField, |
int | nNullValue = 0 |
||
) |
Definition at line 1513 of file CppSQLite3.cpp.
References fieldIsNull(), and fieldValue().
const char * CppSQLite3Table::getStringField | ( | int | nField, |
const char * | szNullValue = "" |
||
) |
Definition at line 1591 of file CppSQLite3.cpp.
References fieldIsNull(), and fieldValue().
const char * CppSQLite3Table::getStringField | ( | const char * | szField, |
const char * | szNullValue = "" |
||
) |
Definition at line 1617 of file CppSQLite3.cpp.
References fieldIsNull(), and fieldValue().
int CppSQLite3Table::numFields | ( | ) |
Definition at line 1383 of file CppSQLite3.cpp.
References checkResults(), and mnCols.
int CppSQLite3Table::numRows | ( | ) |
Definition at line 1397 of file CppSQLite3.cpp.
References checkResults(), and mnRows.
CppSQLite3Table & CppSQLite3Table::operator= | ( | const CppSQLite3Table & | rTable | ) |
Definition at line 1325 of file CppSQLite3.cpp.
References finalize(), mnCols, mnCurrentRow, mnRows, and mpaszResults.
void CppSQLite3Table::setRow | ( | int | nRow | ) |
Definition at line 1701 of file CppSQLite3.cpp.
References checkResults(), CPPSQLITE_ERROR, DONT_DELETE_MSG, mnCurrentRow, and mnRows.
|
private |
Definition at line 437 of file CppSQLite3.h.
Referenced by CppSQLite3Table(), fieldName(), fieldValue(), numFields(), and operator=().
|
private |
Definition at line 441 of file CppSQLite3.h.
Referenced by CppSQLite3Table(), fieldValue(), operator=(), and setRow().
|
private |
Definition at line 439 of file CppSQLite3.h.
Referenced by CppSQLite3Table(), numRows(), operator=(), and setRow().
|
private |
Definition at line 443 of file CppSQLite3.h.
Referenced by checkResults(), CppSQLite3Table(), fieldName(), fieldValue(), finalize(), and operator=().