Joedb
9.5.0
The Journal-Only Embedded Database
Loading...
Searching...
No Matches
src
joedb
journal
Interpreted_File.h
Go to the documentation of this file.
1
#ifndef joedb_Interpreted_File_declared
2
#define joedb_Interpreted_File_declared
3
4
#include "
joedb/journal/Readonly_Interpreted_File.h
"
5
#include "
joedb/journal/File_View.h
"
6
7
namespace
joedb
8
{
9
/// @ingroup journal
10
class
Interpreted_Stream_File
:
public
Readonly_Interpreted_File
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
37
class
Interpreted_File
:
38
private
detail::Interpreted_File_Data,
39
public
Interpreted_Stream_File
40
{
41
public
:
42
Interpreted_File
(
const
char
*file_name);
43
};
44
}
45
46
#endif
File_View.h
Readonly_Interpreted_File.h
joedb::File_View
Definition
File_View.h:10
joedb::Interpreted_File
Definition
Interpreted_File.h:40
joedb::Interpreted_Stream_File
Definition
Interpreted_File.h:11
joedb::Readonly_Interpreted_File
Definition
Readonly_Interpreted_File.h:14
joedb::Readonly_Journal
Definition
Readonly_Journal.h:17
joedb
Definition
Blob.h:7
Generated by
1.9.8