#include <database-sqlite3.h>
|
| void | bindPos (sqlite3_stmt *stmt, const v3s16 &pos, int index=1) |
| |
| 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 |
| |
◆ MapDatabaseSQLite3()
| MapDatabaseSQLite3::MapDatabaseSQLite3 |
( |
const std::string & | savedir | ) |
|
◆ ~MapDatabaseSQLite3()
| MapDatabaseSQLite3::~MapDatabaseSQLite3 |
( |
| ) |
|
|
virtual |
◆ beginSave()
| void MapDatabaseSQLite3::beginSave |
( |
| ) |
|
|
inlinevirtual |
◆ bindPos()
| void MapDatabaseSQLite3::bindPos |
( |
sqlite3_stmt * | stmt, |
|
|
const v3s16 & | pos, |
|
|
int | index = 1 ) |
|
inlineprivate |
◆ createDatabase()
| void MapDatabaseSQLite3::createDatabase |
( |
| ) |
|
|
protectedvirtual |
◆ deleteBlock()
| bool MapDatabaseSQLite3::deleteBlock |
( |
const v3s16 & | pos | ) |
|
|
virtual |
◆ endSave()
| void MapDatabaseSQLite3::endSave |
( |
| ) |
|
|
inlinevirtual |
◆ initStatements()
| void MapDatabaseSQLite3::initStatements |
( |
| ) |
|
|
protectedvirtual |
◆ listAllLoadableBlocks()
| void MapDatabaseSQLite3::listAllLoadableBlocks |
( |
std::vector< v3s16 > & | dst | ) |
|
|
virtual |
◆ loadBlock()
| void MapDatabaseSQLite3::loadBlock |
( |
const v3s16 & | pos, |
|
|
std::string * | block ) |
|
virtual |
◆ saveBlock()
| bool MapDatabaseSQLite3::saveBlock |
( |
const v3s16 & | pos, |
|
|
std::string_view | data ) |
|
virtual |
◆ m_stmt_delete
| sqlite3_stmt* MapDatabaseSQLite3::m_stmt_delete = nullptr |
|
private |
◆ m_stmt_list
| sqlite3_stmt* MapDatabaseSQLite3::m_stmt_list = nullptr |
|
private |
◆ m_stmt_read
| sqlite3_stmt* MapDatabaseSQLite3::m_stmt_read = nullptr |
|
private |
◆ m_stmt_write
| sqlite3_stmt* MapDatabaseSQLite3::m_stmt_write = nullptr |
|
private |
The documentation for this class was generated from the following files: