Separate specific Excel methods to ExcelFile
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
#ifndef BESTRESULTS_EXCEL_H
|
||||
#define BESTRESULTS_EXCEL_H
|
||||
#include "ExcelFile.h"
|
||||
#include <vector>
|
||||
#include <nlohmann/json.hpp>
|
||||
|
||||
@@ -7,15 +8,22 @@ using namespace std;
|
||||
using json = nlohmann::json;
|
||||
|
||||
namespace platform {
|
||||
class BestResultsExcel {
|
||||
class BestResultsExcel : ExcelFile {
|
||||
public:
|
||||
BestResultsExcel(vector<string> models, vector<string> datasets, json table, bool friedman) : models(models), datasets(datasets), table(table), friedman(friedman) {}
|
||||
BestResultsExcel(vector<string> models, vector<string> datasets, json table, bool friedman);
|
||||
~BestResultsExcel();
|
||||
void build();
|
||||
private:
|
||||
void header();
|
||||
void body();
|
||||
void footer();
|
||||
void formatColumns();
|
||||
const string fileName = "BestResults.xlsx";
|
||||
vector<string> models;
|
||||
vector<string> datasets;
|
||||
json table;
|
||||
bool friedman;
|
||||
|
||||
};
|
||||
}
|
||||
#endif //BESTRESULTS_EXCEL_H
|
Reference in New Issue
Block a user