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// SedSAT3 – Sediment Source Assessment Tool, version 3
2// U.S. Geological Survey. See LICENSE.md and DISCLAIMER.md in the repository root.
3
4#ifndef RANGESET_H
5#define RANGESET_H
6
7#include "interface.h"
8#include "range.h"
9
10class RangeSet : public Interface, public map<string,Range>
11{
12public:
13 RangeSet();
14 RangeSet(const RangeSet &rhs);
15 RangeSet& operator = (const RangeSet &rhs);
16 QJsonObject toJsonObject() const override;
17 bool ReadFromJsonObject(const QJsonObject &jsonobject) override;
18 string ToString() const override;
19 bool writetofile(QFile*) override;
20 bool Read(const QStringList &strlist) override;
21 QTableWidget *ToTable() override;
22 double maxval();
23 double minval();
24};
25
26#endif // RANGESET_H
Interface()
Default constructor.
Definition interface.cpp:6
bool ReadFromJsonObject(const QJsonObject &jsonobject) override
Deserialize object from JSON format.
Definition rangeset.cpp:32
bool writetofile(QFile *) override
Write object data to a file.
Definition rangeset.cpp:52
double minval()
Definition rangeset.cpp:74
double maxval()
Definition rangeset.cpp:63
RangeSet & operator=(const RangeSet &rhs)
Definition rangeset.cpp:17
QTableWidget * ToTable() override
Create a Qt table widget representation of the data.
Definition rangeset.cpp:86
QJsonObject toJsonObject() const override
Serialize object to JSON format.
Definition rangeset.cpp:23
bool Read(const QStringList &strlist) override
Parse object data from a string list.
Definition rangeset.cpp:58
string ToString() const override
Convert object to string representation.
Definition rangeset.cpp:42