Add show dataset detail in report

This commit is contained in:
2023-09-05 09:26:49 +02:00
parent 0b7beda78c
commit 64fc7bd9dd
4 changed files with 46 additions and 12 deletions

View File

@@ -7,12 +7,13 @@
namespace platform {
using namespace std;
const int MAXL = 128;
class ReportConsole : public ReportBase{
const int MAXL = 132;
class ReportConsole : public ReportBase {
public:
explicit ReportConsole(json data_) : ReportBase(data_) {};
explicit ReportConsole(json data_, int index = -1) : ReportBase(data_), selectedIndex(index) {};
virtual ~ReportConsole() = default;
private:
int selectedIndex;
string headerLine(const string& text);
void header() override;
void body() override;