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