Joedb 10.2.1
The Journal-Only Embedded Database
Loading...
Searching...
No Matches
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"
17
19{
20 /// Open a .joedbi text file for reading or writing
24 {
25 public:
26 Interpreted_File_Database(const char *file_name):
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
Open a .joedbi text file for reading or writing.
A Database that contains a joedb::Writable_Journal and keeps them in sync.
Open_Mode
Definition Open_Mode.h:8
@ write_existing_or_create_new
either write_existing or create_new depending on whether the file exists. Racy in Posix,...
Automatically generated by joedbc.
Definition Client.h:19