Joedb
10.2.1
The Journal-Only Embedded Database
Loading...
Searching...
No Matches
src
joedb
db
encoded_file
Interpreted_File_Database.h
Go to the documentation of this file.
1
/////////////////////////////////////////////////////////////////////////////
2
//
3
// This code was automatically generated by the joedb compiler
4
// https://www.joedb.org/
5
//
6
// Path to compiler: /home/rcoulom/repos/joedb/compcmake/gcc_debug/joedbc
7
// Version: 10.2.1
8
// joedbc compilation time: Sep 15 2025 20:22:33
9
// Generation of this file: 2025-09-15 18:22:57 GMT
10
//
11
/////////////////////////////////////////////////////////////////////////////
12
#ifndef joedb_db_encoded_file_Interpreted_File_Database_declared
13
#define joedb_db_encoded_file_Interpreted_File_Database_declared
14
15
#include "
Writable_Database.h
"
16
#include "
joedb/journal/Interpreted_File.h
"
17
18
namespace
joedb::db::encoded_file
19
{
20
/// Open a .joedbi text file for reading or writing
21
class
Interpreted_File_Database
:
22
private
joedb::Interpreted_File
,
23
public
Writable_Database
24
{
25
public
:
26
Interpreted_File_Database
(
const
char
*file_name):
27
joedb
::
Interpreted_File
(file_name,
joedb
::
Open_Mode
::
write_existing_or_create_new
),
28
Writable_Database
(*static_cast<
joedb
::
Interpreted_File
*>(this))
29
{
30
}
31
32
Interpreted_File_Database
(
const
std::string &file_name):
33
Interpreted_File_Database
(file_name.c_str())
34
{
35
}
36
};
37
}
38
39
#endif
Interpreted_File.h
joedb::Interpreted_File
Definition
Interpreted_File.h:77
joedb::db::encoded_file::Interpreted_File_Database
Open a .joedbi text file for reading or writing.
Definition
Interpreted_File_Database.h:24
joedb::db::encoded_file::Interpreted_File_Database::Interpreted_File_Database
Interpreted_File_Database(const std::string &file_name)
Definition
Interpreted_File_Database.h:32
joedb::db::encoded_file::Interpreted_File_Database::Interpreted_File_Database
Interpreted_File_Database(const char *file_name)
Definition
Interpreted_File_Database.h:26
joedb::db::encoded_file::Writable_Database
A Database that contains a joedb::Writable_Journal and keeps them in sync.
Definition
Writable_Database.h:32
joedb::Open_Mode
Open_Mode
Definition
Open_Mode.h:8
joedb::Open_Mode::write_existing_or_create_new
@ write_existing_or_create_new
either write_existing or create_new depending on whether the file exists. Racy in Posix,...
joedb::db::encoded_file
Automatically generated by joedbc.
Definition
Client.h:19
joedb
Definition
Server.cpp:11
Writable_Database.h
Generated by
1.9.8