Joedb 9.1.3
The Journal-Only Embedded Database
Loading...
Searching...
No Matches
Public Member Functions | List of all members
joedb::Readable Class Referenceabstract

#include <joedb/Readable.h>

Inheritance diagram for joedb::Readable:
Inheritance graph
[legend]

Public Member Functions

virtual const std::map< Table_Id, std::string > & get_tables () const =0
 
virtual const std::map< Field_Id, std::string > & get_fields (Table_Id table_id) const =0
 
virtual const Typeget_field_type (Table_Id table_id, Field_Id field_id) const =0
 
virtual const Compact_Freedom_Keeperget_freedom (Table_Id table_id) const =0
 
Table_Id find_table (const std::string &name) const
 
Field_Id find_field (Table_Id table_id, const std::string &name) const
 
const std::string & get_table_name (Table_Id table_id) const
 
const std::string & get_field_name (Table_Id table_id, Field_Id field_id) const
 
Record_Id get_last_record_id (Table_Id table_id) const
 
bool is_used (Table_Id table_id, Record_Id record_id) const
 
virtual ~Readable ()
 

Detailed Description

Definition at line 14 of file Readable.h.

Constructor & Destructor Documentation

◆ ~Readable()

joedb::Readable::~Readable ( )
virtualdefault

Member Function Documentation

◆ find_field()

Field_Id joedb::Readable::find_field ( Table_Id  table_id,
const std::string &  name 
) const

Definition at line 22 of file Readable.cpp.

◆ find_table()

Table_Id joedb::Readable::find_table ( const std::string &  name) const

Definition at line 12 of file Readable.cpp.

◆ get_field_name()

const std::string & joedb::Readable::get_field_name ( Table_Id  table_id,
Field_Id  field_id 
) const

Definition at line 52 of file Readable.cpp.

◆ get_field_type()

virtual const Type & joedb::Readable::get_field_type ( Table_Id  table_id,
Field_Id  field_id 
) const
pure virtual

Implemented in joedb::Database_Schema.

◆ get_fields()

virtual const std::map< Field_Id, std::string > & joedb::Readable::get_fields ( Table_Id  table_id) const
pure virtual

Implemented in joedb::Database_Schema.

◆ get_freedom()

virtual const Compact_Freedom_Keeper & joedb::Readable::get_freedom ( Table_Id  table_id) const
pure virtual

Implemented in joedb::Database_Schema.

◆ get_last_record_id()

Record_Id joedb::Readable::get_last_record_id ( Table_Id  table_id) const

Definition at line 74 of file Readable.cpp.

◆ get_table_name()

const std::string & joedb::Readable::get_table_name ( Table_Id  table_id) const

Definition at line 38 of file Readable.cpp.

◆ get_tables()

virtual const std::map< Table_Id, std::string > & joedb::Readable::get_tables ( ) const
pure virtual

Implemented in joedb::Database_Schema.

◆ is_used()

bool joedb::Readable::is_used ( Table_Id  table_id,
Record_Id  record_id 
) const

Definition at line 81 of file Readable.cpp.


The documentation for this class was generated from the following files: