Joedb
10.2.1
The Journal-Only Embedded Database
Loading...
Searching...
No Matches
source
tutorial
src
settings
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.2.1
8
// joedbc compilation time: Sep 15 2025 20:22:33
9
// Generation of this file: 2025-09-15 18:23:01 GMT
10
//
11
/////////////////////////////////////////////////////////////////////////////
12
#ifndef settings_Memory_Database_declared
13
#define settings_Memory_Database_declared
14
15
#include "
Writable_Database.h
"
16
#include "
joedb/journal/Memory_File.h
"
17
18
namespace
settings
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
settings::Memory_Database
Shortcut to directly build a Writable_Database with a Memory_File.
Definition
Memory_Database.h:22
settings::Memory_Database::Memory_Database
Memory_Database()
Definition
Memory_Database.h:24
settings::Memory_Database::pull
void pull()
Definition
Memory_Database.h:28
settings::Writable_Database
A Database that contains a joedb::Writable_Journal and keeps them in sync.
Definition
Writable_Database.h:30
joedb
Definition
Server.cpp:11
settings
Automatically generated by joedbc.
Definition
Client.h:19
Writable_Database.h
Generated by
1.9.8