Joedb
10.0.1
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
6
namespace
joedb
7
{
8
/// @ingroup journal
9
class
Interpreted_Stream_File
:
public
Readonly_Interpreted_File
10
{
11
private
:
12
std::iostream &stream;
13
14
void
pwrite(
const
char
*buffer,
size_t
size, int64_t offset)
override
;
15
16
public
:
17
Interpreted_Stream_File
(std::iostream &stream);
18
};
19
20
namespace
detail
21
{
22
class
Interpreted_File_Data
23
{
24
protected
:
25
std::fstream file_stream;
26
27
public
:
28
Interpreted_File_Data(
const
char
*file_name);
29
~Interpreted_File_Data();
30
};
31
}
32
33
/// @ingroup journal
34
class
Interpreted_File
:
35
private
detail::Interpreted_File_Data,
36
public
Interpreted_Stream_File
37
{
38
public
:
39
Interpreted_File
(
const
char
*file_name);
40
};
41
}
42
43
#endif
Readonly_Interpreted_File.h
joedb::Interpreted_File
Definition
Interpreted_File.h:37
joedb::Interpreted_Stream_File
Definition
Interpreted_File.h:10
joedb::Readonly_Interpreted_File
Definition
Readonly_Interpreted_File.h:15
joedb
Definition
Blob.h:7
Generated by
1.9.8