OpenStructure
Data Structures | Typedefs | Functions
ost::db Namespace Reference

Data Structures

class  PreparedStatement
class  DatabaseError
class  RowSet
 Row set iterator. More...
class  Database
 SQLite database handle. More...

Typedefs

typedef boost::shared_ptr
< Database
DatabasePtr
typedef boost::shared_ptr
< PreparedStatement
PreparedStatementPtr

Functions

void SqlConvert (sqlite3_stmt *stmt, int &value, int col=0)
void SqlConvert (sqlite3_stmt *stmt, String &value, int col=0)
void SqlConvert (sqlite3_stmt *stmt, sqlite3_int64 &value, int col=0)
template<typename T >
void SqlConvert (sqlite3_stmt *stmt, T &value)

Typedef Documentation

typedef boost::shared_ptr<Database> DatabasePtr

Definition at line 38 of file sqlite_wrap.hh.

typedef boost::shared_ptr<PreparedStatement> PreparedStatementPtr

Definition at line 41 of file sqlite_wrap.hh.


Function Documentation

void ost::db::SqlConvert ( sqlite3_stmt *  stmt,
int &  value,
int  col = 0 
)
inline

Definition at line 28 of file sqlite_conv.hh.

void ost::db::SqlConvert ( sqlite3_stmt *  stmt,
String value,
int  col = 0 
)
inline

Definition at line 33 of file sqlite_conv.hh.

void ost::db::SqlConvert ( sqlite3_stmt *  stmt,
sqlite3_int64 &  value,
int  col = 0 
)
inline

Definition at line 38 of file sqlite_conv.hh.

void ost::db::SqlConvert ( sqlite3_stmt *  stmt,
T &  value 
)

Definition at line 44 of file sqlite_conv.hh.