Create ReportExcel eq to ReportConsole

This commit is contained in:
2023-08-21 17:51:49 +02:00
parent 8066701c3c
commit d2da0ddb88
7 changed files with 117 additions and 18 deletions

View File

@@ -2,20 +2,18 @@
#define REPORTCONSOLE_H
#include <string>
#include <iostream>
#include <nlohmann/json.hpp>
#include "ReportBase.h"
#include "Colors.h"
using json = nlohmann::json;
const int MAXL = 128;
namespace platform {
using namespace std;
const int MAXL = 128;
class ReportConsole : public ReportBase{
public:
explicit ReportConsole(json data_) : ReportBase(data_) {};
virtual ~ReportConsole() = default;
private:
string headerLine(const string& text);
void header() override;
void body() override;
void footer() override;