Joedb
9.1.4
The Journal-Only Embedded Database
Loading...
Searching...
No Matches
source
tutorial
src
tutorial
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/doc/source/tutorial/build/joedbc
7
// Version: 9.1.4
8
// joedbc compilation time: Apr 15 2025 14:46:29
9
// Generation of this file: 2025-04-15 12:46:31 GMT
10
//
11
/////////////////////////////////////////////////////////////////////////////
12
#ifndef tutorial_Multiplexer_declared
13
#define tutorial_Multiplexer_declared
14
15
#include "
Writable_Database.h
"
16
#include "
joedb/Multiplexer.h
"
17
#include "
joedb/Selective_Writable.h
"
18
19
namespace
tutorial
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:15
joedb::Selective_Writable
Definition
Selective_Writable.h:11
joedb::Writable_Journal
Definition
Writable_Journal.h:13
tutorial::Multiplexer
Write simultaneously to the database and the file (ignore schema changes)
Definition
Multiplexer.h:40
tutorial::Multiplexer::Multiplexer
Multiplexer(Writable_Database &db)
Definition
Multiplexer.h:42
tutorial::Writable_Database
A writable Database constructed from a writable joedb::Buffered_File.
Definition
Writable_Database.h:30
joedb
Definition
Blob.h:7
tutorial
Automatically generated by joedbc.
Definition
Client.h:19
Multiplexer.h
Writable_Database.h
Generated by
1.9.8