1#ifndef joedb_Readable_declared
2#define joedb_Readable_declared
11 class Compact_Freedom_Keeper;
18 static const std::string default_table_name;
19 static const std::string default_field_name;
22 virtual const std::map<Table_Id, std::string> &
get_tables()
const = 0;
23 virtual const std::map<Field_Id, std::string> &
get_fields
34 #define TYPE_MACRO(type, return_type, type_id, R, W)\
35 virtual const type &get_##type_id\
virtual const Type & get_field_type(Table_Id table_id, Field_Id field_id) const =0
const std::string & get_field_name(Table_Id table_id, Field_Id field_id) const
Field_Id find_field(Table_Id table_id, const std::string &name) const
bool is_used(Table_Id table_id, Record_Id record_id) const
virtual const Compact_Freedom_Keeper & get_freedom(Table_Id table_id) const =0
virtual const std::map< Field_Id, std::string > & get_fields(Table_Id table_id) const =0
const std::string & get_table_name(Table_Id table_id) const
Table_Id find_table(const std::string &name) const
Record_Id get_last_record_id(Table_Id table_id) const
virtual const std::map< Table_Id, std::string > & get_tables() const =0