Joedb 9.1.4
The Journal-Only Embedded Database
Loading...
Searching...
No Matches
Journal_Construction_Lock.h
Go to the documentation of this file.
1#ifndef joedb_Journal_Construction_Lock_declared
2#define joedb_Journal_Construction_Lock_declared
3
5
6#include <array>
7
8namespace joedb
9{
10 /// @ingroup journal
12 {
13 private:
14 Buffered_File &file;
15 bool creating_new;
16
17 public:
18 std::array<int64_t, 4> pos;
19
21
24
26 {
27 return file;
28 }
29
30 bool is_creating_new() const
31 {
32 return creating_new;
33 }
34
36 };
37}
38
39#endif
Journal_Construction_Lock(const Journal_Construction_Lock &)=delete
Journal_Construction_Lock & operator=(const Journal_Construction_Lock &)=delete
Definition Blob.h:7