1 #ifndef s11n_net_SQLITE3X_SETTINGS_DB_INCLUDED
2 #define s11n_net_SQLITE3X_SETTINGS_DB_INCLUDED 1
4 #include "sqlite3x.hpp"
61 void clear( std::string
const & where );
66 void set( std::string
const & key,
int val );
70 void set( std::string
const & key, sqlite_int64 val );
74 void set( std::string
const & key,
bool val );
78 void set( std::string
const & key,
double val );
82 void set( std::string
const & key, std::string
const & val );
86 void set( std::string
const & key,
char const * val );
94 bool get( std::string
const & key,
int & val );
96 bool get( std::string
const & key, sqlite_int64 & val );
98 bool get( std::string
const & key,
bool & val );
100 bool get( std::string
const & key,
double & val );
102 bool get( std::string
const & key, std::string & val );
107 void open( std::string
const & dbname );
128 #endif // s11n_net_SQLITE3X_SETTINGS_DB_INCLUDED