Joedb
10.4.6
The Journal-Only Embedded Database
Loading...
Searching...
No Matches
src
joedb
db
encoded_file
Memory_Database.h
Go to the documentation of this file.
1
/////////////////////////////////////////////////////////////////////////////
2
//
3
// This code was automatically generated by the joedb compiler
4
// https://www.joedb.org/
5
//
6
// Path to compiler: /home/rcoulom/repos/joedb/compcmake/gcc_debug/joedbc
7
// Version: 10.4.6
8
// joedbc compilation time: Oct 15 2026 13:18:09
9
// Generation of this file: 2026-10-15 11:18:18 GMT
10
//
11
/////////////////////////////////////////////////////////////////////////////
12
#ifndef joedb_db_encoded_file_Memory_Database_declared
13
#define joedb_db_encoded_file_Memory_Database_declared
14
15
#include "
Writable_Database.h
"
16
#include "
joedb/journal/Memory_File.h
"
17
18
namespace
joedb::db::encoded_file
19
{
20
/// Shortcut to directly build a @ref Writable_Database with a Memory_File
21
class
Memory_Database
:
public
joedb::Memory_File
,
public
Writable_Database
22
{
23
public
:
24
Memory_Database
(): Writable_Database(*this,
joedb
::
Recovery
::
none
)
25
{
26
}
27
28
void
pull
()
29
{
30
journal.pull();
31
play_journal();
32
}
33
};
34
}
35
36
#endif
Memory_File.h
joedb::Memory_File
Definition
Memory_File.h:12
joedb::db::encoded_file::Memory_Database::Memory_Database
Memory_Database()
Definition
Memory_Database.h:24
joedb::db::encoded_file::Memory_Database::pull
void pull()
Definition
Memory_Database.h:28
joedb::Content_Check::none
@ none
Definition
Connection.h:21
joedb::Recovery
Recovery
Definition
Journal_Construction_Lock.h:11
joedb::db::encoded_file
Automatically generated by joedbc.
Definition
Client.h:19
joedb
Definition
Server.cpp:10
Writable_Database.h
Generated by
1.15.0