Replacce pragma once with ifndef
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
#pragma once
|
||||
|
||||
#ifndef DATASETSCONSOLE_H
|
||||
#define DATASETSCONSOLE_H
|
||||
#include <locale>
|
||||
#include <sstream>
|
||||
#include <nlohmann/json.hpp>
|
||||
@@ -18,4 +18,4 @@ namespace platform {
|
||||
void split_lines(int name_len, std::string line, const std::string& balance);
|
||||
};
|
||||
}
|
||||
|
||||
#endif
|
||||
|
@@ -1,5 +1,4 @@
|
||||
#include "DatasetsExcel.h"
|
||||
|
||||
namespace platform {
|
||||
DatasetsExcel::DatasetsExcel()
|
||||
{
|
||||
|
@@ -1,5 +1,5 @@
|
||||
#pragma once
|
||||
|
||||
#ifndef DATASETSEXCEL_H
|
||||
#define DATASETSEXCEL_H
|
||||
#include <nlohmann/json.hpp>
|
||||
#include "reports/ExcelFile.h"
|
||||
|
||||
@@ -13,3 +13,4 @@ namespace platform {
|
||||
void report(json& data);
|
||||
};
|
||||
}
|
||||
#endif
|
@@ -1,5 +1,5 @@
|
||||
#pragma once
|
||||
|
||||
#ifndef EXCELFILE_H
|
||||
#define EXCELFILE_H
|
||||
#include <locale>
|
||||
#include <string>
|
||||
#include <map>
|
||||
@@ -39,3 +39,4 @@ namespace platform {
|
||||
void setDefault();
|
||||
};
|
||||
}
|
||||
#endif
|
@@ -1,7 +1,6 @@
|
||||
#ifndef REPORTBASE_H
|
||||
#define REPORTBASE_H
|
||||
|
||||
//#include "main/Scores.h"
|
||||
#include <string>
|
||||
#include <nlohmann/json.hpp>
|
||||
#include "common/Paths.h"
|
||||
|
@@ -1,5 +1,5 @@
|
||||
#pragma once
|
||||
|
||||
#ifndef REPORT_CONSOLE_H
|
||||
#define REPORT_CONSOLE_H
|
||||
#include <string>
|
||||
#include "common/Colors.h"
|
||||
#include <sstream>
|
||||
@@ -32,3 +32,4 @@ namespace platform {
|
||||
std::vector<std::string> vbody;
|
||||
};
|
||||
};
|
||||
#endif
|
@@ -2,8 +2,6 @@
|
||||
#include <locale>
|
||||
#include "best/BestScore.h"
|
||||
#include "ReportExcel.h"
|
||||
|
||||
|
||||
namespace platform {
|
||||
|
||||
ReportExcel::ReportExcel(json data_, bool compare, lxw_workbook* workbook, lxw_worksheet* worksheet) : ReportBase(data_, compare), ExcelFile(workbook, worksheet)
|
||||
|
@@ -1,4 +1,5 @@
|
||||
#pragma once
|
||||
#ifndef REPORT_EXCEL_COMPARED_H
|
||||
#define REPORT_EXCEL_COMPARED_H
|
||||
#include "ReportExcel.h"
|
||||
namespace platform {
|
||||
class ReportExcelCompared : public ExcelFile {
|
||||
@@ -16,4 +17,5 @@ namespace platform {
|
||||
std::string leaves_label;
|
||||
std::string depth_label;
|
||||
};
|
||||
};
|
||||
};
|
||||
#endif
|
@@ -1,5 +1,5 @@
|
||||
#pragma once
|
||||
|
||||
#ifndef REPORTS_PAGED_H
|
||||
#define REPORTS_PAGED_H
|
||||
#include <locale>
|
||||
#include <sstream>
|
||||
#include <nlohmann/json.hpp>
|
||||
@@ -23,3 +23,4 @@ namespace platform {
|
||||
std::locale loc;
|
||||
};
|
||||
}
|
||||
#endif
|
@@ -1,5 +1,5 @@
|
||||
#pragma once
|
||||
|
||||
#ifndef RESULTSDATASETSCONSOLE_H
|
||||
#define RESULTSDATASETSCONSOLE_H
|
||||
#include <locale>
|
||||
#include <string>
|
||||
#include <sstream>
|
||||
@@ -15,7 +15,4 @@ namespace platform {
|
||||
bool report(const std::string& dataset, const std::string& score, const std::string& model);
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
#endif
|
Reference in New Issue
Block a user