Definition at line 19 of file archive_database.cc.
◆ Handle()
| impeller::ArchiveDatabase::Handle::Handle |
( |
const std::string & |
filename | ) |
|
|
inlineexplicit |
Definition at line 20 of file archive_database.cc.
21 if (::sqlite3_initialize() != SQLITE_OK) {
26 sqlite3* db =
nullptr;
27 auto res = ::sqlite3_open(filename.c_str(), &db);
29 if (res != SQLITE_OK || db ==
nullptr) {
References VALIDATION_LOG.
◆ ~Handle()
| impeller::ArchiveDatabase::Handle::~Handle |
( |
| ) |
|
|
inline |
Definition at line 36 of file archive_database.cc.
37 if (handle_ ==
nullptr) {
40 ::sqlite3_close(handle_);
◆ Get()
| ::sqlite3* impeller::ArchiveDatabase::Handle::Get |
( |
| ) |
const |
|
inline |
◆ IsValid()
| bool impeller::ArchiveDatabase::Handle::IsValid |
( |
| ) |
const |
|
inline |
The documentation for this struct was generated from the following file: