SedSat3 1.1.6
Sediment Source Apportionment Tool - Advanced statistical methods for environmental pollution research
Loading...
Searching...
No Matches
cmbtimeseries.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 CMBTimeSeries_H
5#define CMBTimeSeries_H
6
7#include "interface.h"
8
17class CMBTimeSeries : public TimeSeries<double>, public Interface
18{
19public:
24
29 CMBTimeSeries(int n);
30
36
43
48 QJsonObject toJsonObject() const override;
49
55 bool ReadFromJsonObject(const QJsonObject& jsonobject) override;
56
61 string ToString() const override;
62
68 bool writetofile(QFile*) override;
69
79 QTableWidget* ToTable() override;
80
81private:
82
83};
84
85#endif // CMBTimeSeries_H
bool ReadFromJsonObject(const QJsonObject &jsonobject) override
Deserializes time series from JSON format.
CMBTimeSeries & operator=(const CMBTimeSeries &mp)
Assignment operator.
bool writetofile(QFile *) override
Writes time series to file.
QJsonObject toJsonObject() const override
Serializes time series to JSON format.
CMBTimeSeries()
Default constructor - creates an empty time series.
QTableWidget * ToTable() override
Creates a QTableWidget for displaying time series data.
string ToString() const override
Converts time series to CSV-formatted string.
Interface()
Default constructor.
Definition interface.cpp:6