Joedb 9.5.0
The Journal-Only Embedded Database
Loading...
Searching...
No Matches
Interpreted_File.h
Go to the documentation of this file.
1#ifndef joedb_Interpreted_File_declared
2#define joedb_Interpreted_File_declared
3
6
7namespace joedb
8{
9 /// @ingroup journal
11 {
12 private:
13 std::iostream &stream;
14 File_View file_view;
15 Readonly_Journal readonly_journal;
16
17 void pwrite(const char *buffer, size_t size, int64_t offset) override;
18
19 public:
20 Interpreted_Stream_File(std::iostream &stream);
21 };
22
23 namespace detail
24 {
25 class Interpreted_File_Data
26 {
27 protected:
28 std::fstream file_stream;
29
30 public:
31 Interpreted_File_Data(const char *file_name);
32 ~Interpreted_File_Data();
33 };
34 }
35
36 /// @ingroup journal
38 private detail::Interpreted_File_Data,
40 {
41 public:
42 Interpreted_File(const char *file_name);
43 };
44}
45
46#endif
Definition Blob.h:7