1#ifndef joedb_generator_Generator_declared
2#define joedb_generator_Generator_declared
21 void write_type(std::ostream &out,
Type type,
bool return_type,
bool setter_type);
37 virtual void write(std::ostream &out) = 0;
static const char * get_storage_type_string(Type type)
static const char * get_type_string(Type type)
void write_index_type(std::ostream &out, const Compiler_Options::Index &index)
static const char * get_cpp_type_string(Type type)
const std::string file_name
const Compiler_Options & options
const std::string dir_name
virtual void write(std::ostream &out)=0
bool db_has_values() const
void write_tuple_type(std::ostream &out, const Compiler_Options::Index &index, bool reference)
void write_initial_comment(std::ostream &out)
void write_type(std::ostream &out, Type type, bool return_type, bool setter_type)
One code generator for each of the file generated by joedbc.