SQLitePP Namespace Reference


Classes

class  ResultIterator
 Class for iterating over the result of a database query. More...
class  Statement
 Class that contains a statement for querying the sqlite db. More...
class  SqliteDB
 Connect to and query sqlite database. More...

Typedefs

typedef std::pair< const void *,
size_t > 
Blob

Functions

void showSqlite3Error (const char *infunction, sqlite3 *db)
sqlite3_stmt * prepareStatement (const char *sqlcode, sqlite3 *db)
template<>
std::string ResultIterator::get< std::string > (int column)
template<>
schma::UnicodePtr ResultIterator::get< schma::UnicodePtr > (int column)


Typedef Documentation

typedef std::pair<const void*, size_t> SQLitePP::Blob

Definition at line 44 of file sqlitepp.h.


Function Documentation

sqlite3_stmt * SQLitePP::prepareStatement ( const char *  sqlcode,
sqlite3 *  db 
)

Definition at line 25 of file sqlitepp.cpp.

References showSqlite3Error().

Referenced by SQLitePP::SqliteDB::cachedStatement().

template<>
schma::UnicodePtr SQLitePP::ResultIterator::get< schma::UnicodePtr > ( int  column  ) 

template<>
std::string SQLitePP::ResultIterator::get< std::string > ( int  column  ) 

void SQLitePP::showSqlite3Error ( const char *  infunction,
sqlite3 *  db 
)

Definition at line 39 of file sqlitepp.cpp.

Referenced by SQLitePP::Statement::exec(), and prepareStatement().


Generated on Thu Dec 21 16:14:44 2006 for The Phrasehunter by  doxygen 1.5.1