Joedb 9.1.4
The Journal-Only Embedded Database
Loading...
Searching...
No Matches
readonly_cpp.h
Go to the documentation of this file.
1#ifndef joedb_generator_readonly_cpp_declared
2#define joedb_generator_readonly_cpp_declared
3
5
6namespace joedb::generator
7{
8 /// @ingroup compiler
9 class readonly_cpp: public Generator
10 {
11 public:
13 Generator(".", "readonly.cpp", options)
14 {
15 }
16
17 void generate() override
18 {
19 out << "#include \"Database.cpp\"\n";
20 }
21 };
22}
23
24#endif
const Compiler_Options & options
Definition Generator.h:14
readonly_cpp(const Compiler_Options &options)
One code generator for each of the file generated by joedbc.
Definition Client_h.cpp:5