24#include "joedb/ui/Readable_Command_Processor.h"
30 for (
const auto &[tid, tname]:
options.get_db().get_tables())
33 inline void print_)RRR" << tname << R"RRR(_table
37 size_t max_column_width = 0,
38 Record_Id start = Record_Id::null,
42 Readable readable(db);
43 joedb::Readable_Command_Processor processor(readable);
47 )RRR" << tname << R"RRR(_table::id,
const Compiler_Options & options
Generator(std::string dir_name, std::string file_name, const Compiler_Options &options)
void write(std::ostream &out) override
print_table_h(const Compiler_Options &options)
void namespace_open(std::ostream &out, const std::vector< std::string > &n)
void namespace_close(std::ostream &out, const std::vector< std::string > &n)
void namespace_include_guard_open(std::ostream &out, const char *name, const std::vector< std::string > &n)
void namespace_include_guard_close(std::ostream &out)
One code generator for each of the file generated by joedbc.