Silicium
Classes | Typedefs | Functions
Si::SQLite3 Namespace Reference

Classes

struct  database_deleter
 
struct  error_category
 
struct  statement_deleter
 

Typedefs

typedef std::unique_ptr< sqlite3, database_deleterdatabase_handle
 
typedef std::unique_ptr< sqlite3_stmt, statement_deleterstatement_handle
 

Functions

boost::system::error_category & sqlite_category ()
 
boost::system::error_code make_error_code (int code)
 
error_or< database_handleopen (c_string path)
 
error_or< statement_handleprepare (sqlite3 &database, c_string query)
 
boost::system::error_code bind (sqlite3_stmt &statement, int zero_based_index, sqlite3_int64 value)
 
boost::system::error_code bind (sqlite3_stmt &statement, int zero_based_index, char const *begin, int length)
 

Typedef Documentation

typedef std::unique_ptr<sqlite3, database_deleter> Si::SQLite3::database_handle
typedef std::unique_ptr<sqlite3_stmt, statement_deleter> Si::SQLite3::statement_handle

Function Documentation

boost::system::error_code Si::SQLite3::bind ( sqlite3_stmt &  statement,
int  zero_based_index,
sqlite3_int64  value 
)
inline
boost::system::error_code Si::SQLite3::bind ( sqlite3_stmt &  statement,
int  zero_based_index,
char const *  begin,
int  length 
)
inline
boost::system::error_code Si::SQLite3::make_error_code ( int  code)
inline
error_or<database_handle> Si::SQLite3::open ( c_string  path)
inline
error_or<statement_handle> Si::SQLite3::prepare ( sqlite3 &  database,
c_string  query 
)
inline
boost::system::error_category& Si::SQLite3::sqlite_category ( )
inline