SedSat3 1.1.6
Sediment Source Apportionment Tool - Advanced statistical methods for environmental pollution research
Loading...
Searching...
No Matches
rangeset.h
Go to the documentation of this file.
1#ifndef RANGESET_H
2#define RANGESET_H
3
4#include "interface.h"
5#include "range.h"
6
7class RangeSet : public Interface, public map<string,Range>
8{
9public:
10 RangeSet();
11 RangeSet(const RangeSet &rhs);
12 RangeSet& operator = (const RangeSet &rhs);
13 QJsonObject toJsonObject() const override;
14 bool ReadFromJsonObject(const QJsonObject &jsonobject) override;
15 string ToString() const override;
16 bool writetofile(QFile*) override;
17 bool Read(const QStringList &strlist) override;
18 QTableWidget *ToTable() override;
19 double maxval();
20 double minval();
21};
22
23#endif // RANGESET_H
Abstract base class providing common serialization and visualization interface.
Definition interface.h:65
bool ReadFromJsonObject(const QJsonObject &jsonobject) override
Deserialize object from JSON format.
Definition rangeset.cpp:28
bool writetofile(QFile *) override
Write object data to a file.
Definition rangeset.cpp:48
double minval()
Definition rangeset.cpp:70
double maxval()
Definition rangeset.cpp:59
RangeSet & operator=(const RangeSet &rhs)
Definition rangeset.cpp:13
QTableWidget * ToTable() override
Create a Qt table widget representation of the data.
Definition rangeset.cpp:82
QJsonObject toJsonObject() const override
Serialize object to JSON format.
Definition rangeset.cpp:19
bool Read(const QStringList &strlist) override
Parse object data from a string list.
Definition rangeset.cpp:54
string ToString() const override
Convert object to string representation.
Definition rangeset.cpp:38