<commit_before>#ifndef joedb_Readable_Multiplexer_declared
#define joedb_Readable_Multiplexer_declared

#include "Multiplexer.h"
#include "Readable_Writeable.h"

#ifdef _MSC_VER
#pragma warning(push)
#pragma warning(disable: 4250)
#endif

namespace joedb
{
 class Readable_Multiplexer: public Readable_Writeable, public Multiplexer
 {
  private:
   Readable &readable;

  public:
   Readable_Multiplexer(Readable_Writeable &readable_writeable):
    readable(readable_writeable)
   {
    add_writeable(readable_writeable);
   }

   const std::map<Table_Id, std::string> &get_tables() const override
   {
    return readable.get_tables();
   }

   const std::map<Table_Id, std::string> &get_fields(Table_Id table_id) const
   {
    return readable.get_fields(table_id);
   }

   const Type &get_field_type(Table_Id table_id,
                              Field_Id field_id) const
   {
    return readable.get_field_type(table_id, field_id);
   }

   Record_Id get_last_record_id(Table_Id table_id) const
   {
    return readable.get_last_record_id(table_id);
   }

   bool is_used(Table_Id table_id, Record_Id record_id) const
   {
    return readable.is_used(table_id, record_id);
   }

   #define TYPE_MACRO(type, return_type, type_id, R, W)\
   return_type get_##type_id(Table_Id table_id,\
                             Record_Id record_id,\
                             Field_Id field_id) const\
   {\
    return readable.get_##type_id(table_id, record_id, field_id);\
   }
   #include "TYPE_MACRO.h"
   #undef TYPE_MACRO
 };
}

#ifdef _MSC_VER
#pragma warning(pop)
#endif

#endif
<commit_msg>Readable_Multiplexer: add override annotations to silence compiler warnings<commit_after>#ifndef joedb_Readable_Multiplexer_declared
#define joedb_Readable_Multiplexer_declared

#include "Multiplexer.h"
#include "Readable_Writeable.h"

#ifdef _MSC_VER
#pragma warning(push)
#pragma warning(disable: 4250)
#endif

namespace joedb
{
 class Readable_Multiplexer: public Readable_Writeable, public Multiplexer
 {
  private:
   Readable &readable;

  public:
   Readable_Multiplexer(Readable_Writeable &readable_writeable):
    readable(readable_writeable)
   {
    add_writeable(readable_writeable);
   }

   const std::map<Table_Id, std::string> &get_tables() const override
   {
    return readable.get_tables();
   }

   const std::map<Table_Id, std::string> &get_fields(Table_Id table_id) const override
   {
    return readable.get_fields(table_id);
   }

   const Type &get_field_type(Table_Id table_id,
                              Field_Id field_id) const override
   {
    return readable.get_field_type(table_id, field_id);
   }

   Record_Id get_last_record_id(Table_Id table_id) const override
   {
    return readable.get_last_record_id(table_id);
   }

   bool is_used(Table_Id table_id, Record_Id record_id) const override
   {
    return readable.is_used(table_id, record_id);
   }

   #define TYPE_MACRO(type, return_type, type_id, R, W)\
   return_type get_##type_id(Table_Id table_id,\
                             Record_Id record_id,\
                             Field_Id field_id) const override\
   {\
    return readable.get_##type_id(table_id, record_id, field_id);\
   }
   #include "TYPE_MACRO.h"
   #undef TYPE_MACRO
 };
}

#ifdef _MSC_VER
#pragma warning(pop)
#endif

#endif

{'fraction_non_alphanumeric': 0.08826205641492266, 'fraction_numerical': 0.002426448286320898, 'mean_word_length': 3.6516220028208743, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4999898', 'n_tokens_mistral': 1181, 'n_tokens_neox': 1118, 'n_words': 214}