Silicium
Classes | Namespaces | Typedefs | Functions
sqlite3.hpp File Reference
#include <silicium/c_string.hpp>
#include <silicium/error_or.hpp>
#include <sqlite3.h>
#include <memory>

Go to the source code of this file.

Classes

struct  Si::SQLite3::database_deleter
 
struct  Si::SQLite3::statement_deleter
 
struct  Si::SQLite3::error_category
 

Namespaces

 Si
 
 Si::SQLite3
 

Typedefs

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

Functions

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