put using json=nlohmann:ordered_json under namespace platform
This commit is contained in:
@@ -8,7 +8,6 @@
|
||||
namespace platform {
|
||||
using json = nlohmann::ordered_json;
|
||||
|
||||
|
||||
class DatasetsConsole : public ReportsPaged {
|
||||
public:
|
||||
static const int BALANCE_LENGTH;
|
||||
|
@@ -3,10 +3,9 @@
|
||||
#include <nlohmann/json.hpp>
|
||||
#include "reports/ExcelFile.h"
|
||||
|
||||
using json = nlohmann::ordered_json;
|
||||
|
||||
namespace platform {
|
||||
|
||||
using json = nlohmann::ordered_json;
|
||||
class DatasetsExcel : public ExcelFile {
|
||||
public:
|
||||
DatasetsExcel();
|
||||
|
@@ -1,14 +1,14 @@
|
||||
#pragma once
|
||||
#ifndef REPORTBASE_H
|
||||
#define REPORTBASE_H
|
||||
|
||||
//#include "main/Scores.h"
|
||||
#include <string>
|
||||
#include <iostream>
|
||||
#include <nlohmann/json.hpp>
|
||||
#include "common/Paths.h"
|
||||
#include "common/Symbols.h"
|
||||
|
||||
using json = nlohmann::ordered_json;
|
||||
namespace platform {
|
||||
|
||||
using json = nlohmann::ordered_json;
|
||||
class ReportBase {
|
||||
public:
|
||||
explicit ReportBase(json data_, bool compare);
|
||||
@@ -36,3 +36,4 @@ namespace platform {
|
||||
bool existBestFile = true;
|
||||
};
|
||||
};
|
||||
#endif
|
@@ -1,11 +1,13 @@
|
||||
#pragma once
|
||||
|
||||
#ifndef REPORT_EXCEL_H
|
||||
#define REPORT_EXCEL_H
|
||||
#include <map>
|
||||
#include <xlsxwriter.h>
|
||||
#include "common/Colors.h"
|
||||
#include "ReportBase.h"
|
||||
#include "ExcelFile.h"
|
||||
namespace platform {
|
||||
using json = nlohmann::ordered_json;
|
||||
|
||||
class ReportExcel : public ReportBase, public ExcelFile {
|
||||
public:
|
||||
explicit ReportExcel(json data_, bool compare, lxw_workbook* workbook, lxw_worksheet* worksheet = NULL);
|
||||
@@ -22,3 +24,4 @@ namespace platform {
|
||||
void header_notes(int row);
|
||||
};
|
||||
};
|
||||
#endif
|
Reference in New Issue
Block a user