#include <database-sqlite3.h>
|
virtual | ~Database_SQLite3 () |
|
bool | initialized () const |
|
| Database_SQLite3 (const std::string &savedir, const std::string &dbname) |
|
void | verifyDatabase () |
|
void | str_to_sqlite (sqlite3_stmt *s, int iCol, std::string_view str) const |
|
void | int_to_sqlite (sqlite3_stmt *s, int iCol, int val) const |
|
void | int64_to_sqlite (sqlite3_stmt *s, int iCol, s64 val) const |
|
void | double_to_sqlite (sqlite3_stmt *s, int iCol, double val) const |
|
std::string_view | sqlite_to_string_view (sqlite3_stmt *s, int iCol) |
|
std::string | sqlite_to_string (sqlite3_stmt *s, int iCol) |
|
std::string_view | sqlite_to_blob (sqlite3_stmt *s, int iCol) |
|
s32 | sqlite_to_int (sqlite3_stmt *s, int iCol) |
|
u32 | sqlite_to_uint (sqlite3_stmt *s, int iCol) |
|
s64 | sqlite_to_int64 (sqlite3_stmt *s, int iCol) |
|
u64 | sqlite_to_uint64 (sqlite3_stmt *s, int iCol) |
|
float | sqlite_to_float (sqlite3_stmt *s, int iCol) |
|
const v3f | sqlite_to_v3f (sqlite3_stmt *s, int iCol) |
|
void | sqlite3_vrfy (int s, std::string_view m="", int r=SQLITE_OK) const |
|
void | sqlite3_vrfy (const int s, const int r, std::string_view m="") const |
|
◆ ModStorageDatabaseSQLite3()
ModStorageDatabaseSQLite3::ModStorageDatabaseSQLite3 |
( |
const std::string & | savedir | ) |
|
◆ ~ModStorageDatabaseSQLite3()
ModStorageDatabaseSQLite3::~ModStorageDatabaseSQLite3 |
( |
| ) |
|
|
virtual |
◆ beginSave()
virtual void ModStorageDatabaseSQLite3::beginSave |
( |
| ) |
|
|
inlinevirtual |
◆ createDatabase()
void ModStorageDatabaseSQLite3::createDatabase |
( |
| ) |
|
|
protectedvirtual |
◆ endSave()
virtual void ModStorageDatabaseSQLite3::endSave |
( |
| ) |
|
|
inlinevirtual |
◆ getModEntries()
void ModStorageDatabaseSQLite3::getModEntries |
( |
const std::string & | modname, |
|
|
StringMap * | storage ) |
|
virtual |
◆ getModEntry()
bool ModStorageDatabaseSQLite3::getModEntry |
( |
const std::string & | modname, |
|
|
const std::string & | key, |
|
|
std::string * | value ) |
|
virtual |
◆ getModKeys()
void ModStorageDatabaseSQLite3::getModKeys |
( |
const std::string & | modname, |
|
|
std::vector< std::string > * | storage ) |
|
virtual |
◆ hasModEntry()
bool ModStorageDatabaseSQLite3::hasModEntry |
( |
const std::string & | modname, |
|
|
const std::string & | key ) |
|
virtual |
◆ initStatements()
void ModStorageDatabaseSQLite3::initStatements |
( |
| ) |
|
|
protectedvirtual |
◆ listMods()
void ModStorageDatabaseSQLite3::listMods |
( |
std::vector< std::string > * | res | ) |
|
|
virtual |
◆ removeModEntries()
bool ModStorageDatabaseSQLite3::removeModEntries |
( |
const std::string & | modname | ) |
|
|
virtual |
◆ removeModEntry()
bool ModStorageDatabaseSQLite3::removeModEntry |
( |
const std::string & | modname, |
|
|
const std::string & | key ) |
|
virtual |
◆ setModEntry()
bool ModStorageDatabaseSQLite3::setModEntry |
( |
const std::string & | modname, |
|
|
const std::string & | key, |
|
|
std::string_view | value ) |
|
virtual |
◆ m_stmt_get
sqlite3_stmt* ModStorageDatabaseSQLite3::m_stmt_get = nullptr |
|
private |
◆ m_stmt_get_all
sqlite3_stmt* ModStorageDatabaseSQLite3::m_stmt_get_all = nullptr |
|
private |
◆ m_stmt_get_keys
sqlite3_stmt* ModStorageDatabaseSQLite3::m_stmt_get_keys = nullptr |
|
private |
◆ m_stmt_has
sqlite3_stmt* ModStorageDatabaseSQLite3::m_stmt_has = nullptr |
|
private |
◆ m_stmt_remove
sqlite3_stmt* ModStorageDatabaseSQLite3::m_stmt_remove = nullptr |
|
private |
◆ m_stmt_remove_all
sqlite3_stmt* ModStorageDatabaseSQLite3::m_stmt_remove_all = nullptr |
|
private |
◆ m_stmt_set
sqlite3_stmt* ModStorageDatabaseSQLite3::m_stmt_set = nullptr |
|
private |
The documentation for this class was generated from the following files: