#include <CppSQLite3.h>
Public Member Functions | |
CppSQLite3Query () | |
CppSQLite3Query (const CppSQLite3Query &rQuery) | |
CppSQLite3Query (sqlite3 *pDB, sqlite3_stmt *pVM, bool bEof, bool bOwnVM=true) | |
CppSQLite3Query & | operator= (const CppSQLite3Query &rQuery) |
virtual | ~CppSQLite3Query () |
int | numFields () |
int | fieldIndex (const char *szField) |
const char * | fieldName (int nCol) |
const char * | fieldDeclType (int nCol) |
int | fieldDataType (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="") |
const unsigned char * | getBlobField (int nField, int &nLen) |
const unsigned char * | getBlobField (const char *szField, int &nLen) |
bool | fieldIsNull (int nField) |
bool | fieldIsNull (const char *szField) |
bool | eof () |
void | nextRow () |
void | finalize () |
Private Member Functions | |
void | checkVM () |
Private Attributes | |
sqlite3 * | mpDB |
sqlite3_stmt * | mpVM |
bool | mbEof |
int | mnCols |
bool | mbOwnVM |
Definition at line 115 of file CppSQLite3.h.
CppSQLite3Query::CppSQLite3Query | ( | ) |
CppSQLite3Query::CppSQLite3Query | ( | const CppSQLite3Query & | rQuery | ) |
CppSQLite3Query::CppSQLite3Query | ( | sqlite3 * | pDB, | |
sqlite3_stmt * | pVM, | |||
bool | bEof, | |||
bool | bOwnVM = true | |||
) |
virtual CppSQLite3Query::~CppSQLite3Query | ( | ) | [virtual] |
CppSQLite3Query& CppSQLite3Query::operator= | ( | const CppSQLite3Query & | rQuery | ) |
int CppSQLite3Query::numFields | ( | ) |
int CppSQLite3Query::fieldIndex | ( | const char * | szField | ) |
const char* CppSQLite3Query::fieldName | ( | int | nCol | ) |
const char* CppSQLite3Query::fieldDeclType | ( | int | nCol | ) |
int CppSQLite3Query::fieldDataType | ( | int | nCol | ) |
const char* CppSQLite3Query::fieldValue | ( | int | nField | ) |
const char* CppSQLite3Query::fieldValue | ( | const char * | szField | ) |
int CppSQLite3Query::getIntField | ( | int | nField, | |
int | nNullValue = 0 | |||
) |
int CppSQLite3Query::getIntField | ( | const char * | szField, | |
int | nNullValue = 0 | |||
) |
double CppSQLite3Query::getFloatField | ( | int | nField, | |
double | fNullValue = 0.0 | |||
) |
double CppSQLite3Query::getFloatField | ( | const char * | szField, | |
double | fNullValue = 0.0 | |||
) |
const char* CppSQLite3Query::getStringField | ( | int | nField, | |
const char * | szNullValue = "" | |||
) |
const char* CppSQLite3Query::getStringField | ( | const char * | szField, | |
const char * | szNullValue = "" | |||
) |
const unsigned char* CppSQLite3Query::getBlobField | ( | int | nField, | |
int & | nLen | |||
) |
const unsigned char* CppSQLite3Query::getBlobField | ( | const char * | szField, | |
int & | nLen | |||
) |
bool CppSQLite3Query::fieldIsNull | ( | int | nField | ) |
bool CppSQLite3Query::fieldIsNull | ( | const char * | szField | ) |
bool CppSQLite3Query::eof | ( | ) |
void CppSQLite3Query::nextRow | ( | ) |
void CppSQLite3Query::finalize | ( | ) |
void CppSQLite3Query::checkVM | ( | ) | [private] |
sqlite3* CppSQLite3Query::mpDB [private] |
Definition at line 168 of file CppSQLite3.h.
sqlite3_stmt* CppSQLite3Query::mpVM [private] |
Definition at line 169 of file CppSQLite3.h.
bool CppSQLite3Query::mbEof [private] |
Definition at line 170 of file CppSQLite3.h.
int CppSQLite3Query::mnCols [private] |
Definition at line 171 of file CppSQLite3.h.
bool CppSQLite3Query::mbOwnVM [private] |
Definition at line 172 of file CppSQLite3.h.