Joedb
10.5.0
The Journal-Only Embedded Database
Loading...
Searching...
No Matches
src
joedb
db
encoded_file
Multiplexer.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.5.0
8
// joedbc compilation time: Oct 25 2026 16:06:59
9
// Generation of this file: 2026-10-25 19:48:05 GMT
10
//
11
/////////////////////////////////////////////////////////////////////////////
12
#ifndef joedb_db_encoded_file_Multiplexer_declared
13
#define joedb_db_encoded_file_Multiplexer_declared
14
15
#include "
Writable_Database.h
"
16
#include "
joedb/Multiplexer.h
"
17
#include "
joedb/Selective_Writable.h
"
18
19
namespace
joedb::db::encoded_file
20
{
21
namespace
detail
22
{
23
class
Multiplexer_Parent
24
{
25
protected
:
26
joedb::Selective_Writable selective_writable;
27
28
public
:
29
Multiplexer_Parent(joedb::Writable_Journal &journal):
30
selective_writable(journal, joedb::Selective_Writable::data_and_information)
31
{
32
}
33
};
34
}
35
36
/// Write simultaneously to the database and the file (ignore schema changes)
37
class
Multiplexer
:
38
protected
detail::Multiplexer_Parent,
39
public
joedb::Multiplexer
40
{
41
public
:
42
Multiplexer
(
Writable_Database
&
db
):
43
Multiplexer_Parent(
db
.journal),
44
joedb
::
Multiplexer
{
db
, selective_writable}
45
{
46
}
47
};
48
}
49
50
#endif
Selective_Writable.h
joedb::Multiplexer
Definition
Multiplexer.h:14
joedb::db::encoded_file::Multiplexer::Multiplexer
Multiplexer(Writable_Database &db)
Definition
Multiplexer.h:42
joedb::db::encoded_file::Writable_Database
A Database that contains a joedb::Writable_Journal and keeps them in sync.
Definition
Writable_Database.h:34
joedb::db::encoded_file
Automatically generated by joedbc.
Definition
Client.h:19
joedb::db
Definition
Client.h:19
joedb
Definition
Server.cpp:10
Multiplexer.h
Writable_Database.h
Generated by
1.15.0