Go to the source code of this file.
Namespaces | |
namespace | SQLitePP |
Classes | |
class | SQLitePP::ResultIterator |
Class for iterating over the result of a database query. More... | |
class | SQLitePP::Statement |
Class that contains a statement for querying the sqlite db. More... | |
class | SQLitePP::SqliteDB |
Connect to and query sqlite database. More... | |
Defines | |
#define | SQLITEPP_H SQLITEPP_H |
#define | MAX_ARGUMENTS 9 |
#define | BINDARG(Z, N, _) bindArg(BOOST_PP_CAT(a, N)); |
#define | BINDARGS(Z, N, _) |
Typedefs | |
typedef std::pair< const void *, size_t > | SQLitePP::Blob |
Functions | |
void | SQLitePP::showSqlite3Error (const char *infunction, sqlite3 *db) |
sqlite3_stmt * | SQLitePP::prepareStatement (const char *sqlcode, sqlite3 *db) |
template<> | |
std::string | SQLitePP::ResultIterator::get< std::string > (int column) |
template<> | |
schma::UnicodePtr | SQLitePP::ResultIterator::get< schma::UnicodePtr > (int column) |
#define BINDARG | ( | Z, | |||
N, | |||||
_ | ) | bindArg(BOOST_PP_CAT(a, N)); |
Definition at line 145 of file sqlitepp.h.
#define BINDARGS | ( | Z, | |||
N, | |||||
_ | ) |
Value:
template<BOOST_PP_ENUM_PARAMS(BOOST_PP_INC(N), typename T)> \ inline Statement& bindArgs(BOOST_PP_ENUM_BINARY_PARAMS(BOOST_PP_INC(N), T, a)) \ { \ BOOST_PP_REPEAT(BOOST_PP_INC(N), BINDARG, _) \ return *this; \ }
Definition at line 148 of file sqlitepp.h.
#define MAX_ARGUMENTS 9 |
Definition at line 142 of file sqlitepp.h.
#define SQLITEPP_H SQLITEPP_H |
Definition at line 23 of file sqlitepp.h.