Joedb 9.1.4
The Journal-Only Embedded Database
Loading...
Searching...
No Matches
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"
18
19namespace 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)
38 protected detail::Multiplexer_Parent,
40 {
41 public:
43 Multiplexer_Parent(db.journal),
44 joedb::Multiplexer{db, selective_writable}
45 {
46 }
47 };
48}
49
50#endif
Write simultaneously to the database and the file (ignore schema changes)
Definition Multiplexer.h:40
Multiplexer(Writable_Database &db)
Definition Multiplexer.h:42
A writable Database constructed from a writable joedb::Buffered_File.
Definition Blob.h:7
Automatically generated by joedbc.
Definition Client.h:19