Joedb 9.1.4
The Journal-Only Embedded Database
Loading...
Searching...
No Matches
Readonly_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/doc/source/tutorial/build/joedbc
7// Version: 9.1.4
8// joedbc compilation time: Apr 15 2025 14:46:29
9// Generation of this file: 2025-04-15 12:46:31 GMT
10//
11/////////////////////////////////////////////////////////////////////////////
12#ifndef joedb_db_encoded_file_Readonly_Database_declared
13#define joedb_db_encoded_file_Readonly_Database_declared
14
15#include "Database.h"
16#include "joedb/journal/File.h"
17
19{
20 /// Load a database from a read-only file
22 {
23 public:
28
33
38
43
44 Readonly_Database(const char *file_name):
46 (
48 )
49 {
50 }
51
52 Readonly_Database(const std::string &file_name):
53 Readonly_Database(file_name.c_str())
54 {
55 }
56 };
57}
58
59#endif
Store all the tables of the database.
Definition Database.h:75
void initialize_with_readonly_journal(joedb::Readonly_Journal &journal)
Definition Database.h:477
Load a database from a read-only file.
Readonly_Database(joedb::Buffered_File &&file)
Readonly_Database(const std::string &file_name)
Readonly_Database(joedb::Buffered_File &file)
Readonly_Database(joedb::Readonly_Journal &&journal)
Readonly_Database(joedb::Readonly_Journal &journal)
Open_Mode
Definition Open_Mode.h:8
@ read_existing
fails if does not exist
Automatically generated by joedbc.
Definition Client.h:19
Definition Blob.h:7
JOEDB_FILE File
Definition File.h:25