Joedb 10.0.1
The Journal-Only Embedded Database
Loading...
Searching...
No Matches
Interpreter.h
Go to the documentation of this file.
1#ifndef joedb_Interpreter_declared
2#define joedb_Interpreter_declared
3
8
9namespace joedb
10{
11 /// @ingroup ui
24
25 /// @ingroup ui
38
39 /// @ingroup ui
41 {
42 private:
43 Writable_Command_Processor writable_command_processor;
44 Readable_Writable_Command_Processor readable_writable_command_processor;
45
46 public:
48 (
49 const Readable &readable,
50 Writable &writable,
51 Record_Id max_record_id
52 ):
53 writable_command_processor(writable),
54 readable_writable_command_processor
55 (
56 readable,
57 writable,
58 max_record_id
59 )
60 {
61 add_processor(writable_command_processor);
62 add_processor(readable_writable_command_processor);
63 }
64 };
65}
66
67#endif
void add_processor(Command_Processor &processor)
Interpreter(const Readable &readable, Writable &writable, Record_Id max_record_id)
Definition Interpreter.h:48
Readable_Command_Processor readable_command_processor
Definition Interpreter.h:15
Readable_Interpreter(const Readable &readable)
Definition Interpreter.h:18
Writable_Command_Processor writable_command_processor
Definition Interpreter.h:29
Writable_Interpreter(Writable &writable)
Definition Interpreter.h:32
Superclass with all joedb journal event listeners as virtual functions.
Definition Writable.h:17
Definition Blob.h:7