Joedb 10.2.1
The Journal-Only Embedded Database
|
#include <joedb/compiler/generator/Generator.h>
Public Member Functions | |
Generator (const char *dir_name, const char *file_name, const Compiler_Options &options) | |
virtual void | generate ()=0 |
virtual | ~Generator () |
Protected Member Functions | |
bool | db_has_values () const |
void | write_initial_comment () |
void | write_type (Type type, bool return_type, bool setter_type) |
void | write_tuple_type (const Compiler_Options::Index &index, bool reference) |
void | write_index_type (const Compiler_Options::Index &index) |
std::string | get_file_string (const char *dir_name, const char *file_name) |
Static Protected Member Functions | |
static const char * | get_type_string (Type type) |
static const char * | get_cpp_type_string (Type type) |
static const char * | get_storage_type_string (Type type) |
Protected Attributes | |
const Compiler_Options & | options |
joedb::ofstream | out |
Definition at line 10 of file Generator.h.
joedb::generator::Generator::Generator | ( | const char * | dir_name, |
const char * | file_name, | ||
const Compiler_Options & | options | ||
) |
Definition at line 193 of file Generator.cpp.
|
virtualdefault |
|
protected |
Definition at line 10 of file Generator.cpp.
|
pure virtual |
Implemented in joedb::generator::Client_h, joedb::generator::Database_h, joedb::generator::Database_Writable_cpp, joedb::generator::Database_Writable_h, joedb::generator::File_Client_h, joedb::generator::File_Database_h, joedb::generator::ids_h, joedb::generator::Interpreted_File_Database_h, joedb::generator::introspection_h, joedb::generator::Memory_Database_h, joedb::generator::Multiplexer_h, joedb::generator::print_table_h, joedb::generator::Procedure_h, joedb::generator::Procedures_h, joedb::generator::Readable_h, joedb::generator::Readonly_Client_h, joedb::generator::readonly_cpp, joedb::generator::Readonly_Database_h, joedb::generator::readonly_h, joedb::generator::Readonly_Interpreted_File_Database_h, joedb::generator::RPC_Client_h, joedb::generator::Signatures_h, joedb::generator::Types_h, joedb::generator::writable_cpp, joedb::generator::Writable_Database_cpp, joedb::generator::Writable_Database_h, and joedb::generator::writable_h.
|
staticprotected |
Definition at line 144 of file Generator.cpp.
|
protected |
Definition at line 175 of file Generator.cpp.
|
staticprotected |
Definition at line 158 of file Generator.cpp.
|
staticprotected |
Definition at line 130 of file Generator.cpp.
|
protected |
Definition at line 108 of file Generator.cpp.
|
protected |
Definition at line 22 of file Generator.cpp.
|
protected |
Definition at line 70 of file Generator.cpp.
|
protected |
Definition at line 39 of file Generator.cpp.
|
protected |
Definition at line 13 of file Generator.h.
|
protected |
Definition at line 14 of file Generator.h.