|
SedSat3 1.1.6
Sediment Source Apportionment Tool - Advanced statistical methods for environmental pollution research
|
#include </home/runner/work/SedSat3/SedSat3/resultitem.h>


Public Member Functions | |
| ResultItem () | |
| Interface * | Result () const |
| void | SetResult (Interface *_result) |
| ResultItem (const ResultItem &rhs) | |
| ResultItem & | operator= (const ResultItem &rhs) |
| void | SetName (const string &_name) |
| string | Name () const |
| void | SetType (const result_type &_type) |
| result_type | Type () const |
| void | SetYAxisMode (yaxis_mode mode) |
| void | SetXAxisMode (xaxis_mode mode) |
| yaxis_mode | YAxisMode () |
| xaxis_mode | XAxisMode () |
| void | SetShowAsString (bool value) |
| bool | ShowAsString () const |
| void | setXAxisTitle (const string &title) |
| void | setYAxisTitle (const string &title) |
| void | setTableTitle (const string &Title) |
| string | TableTitle () |
| string | XAxisTitle () |
| string | YAxisTitle () |
| void | SetAbsoluteValue (bool val) |
| bool | AbsValue () |
| double | YLimit (_range highlow) |
| void | SetYLimit (_range highlow, const double &value) |
| bool | FixedYLimit () |
| void | SetShowTable (bool state) |
| bool | ShowTable () const |
| void | SetShowGraph (bool state) |
| bool | ShowGraph () const |
| Public Member Functions inherited from Interface | |
| Interface () | |
| Default constructor. | |
| Interface (const Interface &intf) | |
| Copy constructor. | |
| Interface & | operator= (const Interface &intf) |
| Assignment operator. | |
| virtual string | ToString () const |
| Convert object to string representation. | |
| virtual QJsonObject | toJsonObject () const |
| Serialize object to JSON format. | |
| virtual bool | ReadFromJsonObject (const QJsonObject &jsonobject) |
| Deserialize object from JSON format. | |
| virtual bool | writetofile (QFile *file) |
| Write object data to a file. | |
| virtual bool | Read (const QStringList &strlist) |
| Parse object data from a string list. | |
| virtual QTableWidget * | ToTable () |
| Create a Qt table widget representation of the data. | |
| string | GetNotes () const |
| Get the notes/annotations associated with this object. | |
| void | SetNotes (const string ¬e) |
| Set the notes for this object, replacing any existing notes. | |
| void | AppendtoNotes (const string ¬e) |
| Append a note to existing notes. | |
| void | ClearNotes () |
| Clear all notes associated with this object. | |
| void | SetLimit (_range lowhigh, const double &value) |
| Set upper or lower limit for value highlighting. | |
| void | SetOption (options_key opt, bool val) |
| Set a configuration option. | |
| bool | Option (options_key opt) |
| Get the current value of a configuration option. | |
| options & | GetOptions () |
| Get reference to the options structure. | |
| QString | XAxisLabel () const |
| Get the X-axis label. | |
| QString | YAxisLabel () const |
| Get the Y-axis label. | |
| bool | SetXAxisLabel (const QString &label) |
| Set the X-axis label. | |
| bool | SetYAxisLabel (const QString &label) |
| Set the Y-axis label. | |
Private Attributes | |
| string | name |
| result_type | type {} |
| Interface * | result = nullptr |
| yaxis_mode | y_axis_mode = yaxis_mode::log |
| xaxis_mode | x_axis_mode = xaxis_mode::real |
| bool | showabsvalue = false |
| bool | showasstring = true |
| vector< double > | YLimits |
| bool | fixYlimit = false |
| bool | showTable = false |
| bool | showGraph = true |
| string | Table_Title |
Additional Inherited Members | |
| Public Attributes inherited from Interface | |
| double | lowlimit {} |
| Lower threshold for value highlighting (when enabled). | |
| double | highlimit {} |
| Upper threshold for value highlighting (when enabled). | |
| bool | highlightoutsideoflimit = false |
| Flag indicating whether to highlight values outside defined limits. | |
Definition at line 16 of file resultitem.h.
| ResultItem::ResultItem | ( | ) |
Definition at line 6 of file resultitem.cpp.
References Interface::Interface(), and YLimits.
Referenced by ResultItem(), and operator=().
| ResultItem::ResultItem | ( | const ResultItem & | rhs | ) |
Definition at line 11 of file resultitem.cpp.
References Interface::Interface(), ResultItem(), fixYlimit, name, result, showabsvalue, showasstring, showGraph, showTable, type, x_axis_mode, y_axis_mode, and YLimits.
|
inline |
Definition at line 61 of file resultitem.h.
References showabsvalue.
|
inline |
Definition at line 77 of file resultitem.h.
References fixYlimit.
|
inline |
Definition at line 25 of file resultitem.h.
References name.
Referenced by Results::Append(), ResultsWindow::AppendResult(), ResultsWindow::on_result_graph_clicked(), ResultsWindow::on_result_table_clicked(), and GeneralChart::Plot().
| ResultItem & ResultItem::operator= | ( | const ResultItem & | rhs | ) |
Definition at line 25 of file resultitem.cpp.
References ResultItem(), fixYlimit, name, Interface::operator=(), result, showabsvalue, showasstring, showGraph, showTable, type, x_axis_mode, y_axis_mode, and YLimits.
|
inline |
Definition at line 20 of file resultitem.h.
References Interface::Interface(), and result.
Referenced by ResultsWindow::AppendResult(), SourceSinkData::GetObservedvsModeledElementalProfile(), SourceSinkData::GetObservedvsModeledElementalProfile_Isotope(), ResultsWindow::on_result_export_clicked(), ResultsWindow::on_result_table_clicked(), and GeneralChart::Plot().
|
inline |
Definition at line 60 of file resultitem.h.
References showabsvalue.
Referenced by Conductor::ExecuteSDFA(), Conductor::ExecuteSDFAM(), Conductor::ExecuteSDFAOnevsRest(), and Results::ReadFromJson().
|
inline |
Definition at line 24 of file resultitem.h.
References name.
Referenced by SourceSinkData::BootStrap(), Conductor::ExecuteANOVA(), Conductor::ExecuteAutoSelect(), Conductor::ExecuteBoxCox(), Conductor::ExecuteBracketingAnalysis(), Conductor::ExecuteBracketingAnalysisBatch(), Conductor::ExecuteCMBBayesianBatch(), Conductor::ExecuteCorrelationMatrix(), Conductor::ExecuteCovarianceMatrix(), Conductor::ExecuteDFA(), Conductor::ExecuteDFAM(), Conductor::ExecuteDFAOnevsRest(), Conductor::ExecuteDistributionFitting(), Conductor::ExecuteEDP(), Conductor::ExecuteEDPM(), Conductor::ExecuteKolmogorovSmirnov(), Conductor::ExecuteKolmogorovSmirnovIndividual(), Conductor::ExecuteLevenbergMarquardtBatch(), Conductor::ExecuteOutlierAnalysis(), Conductor::ExecuteSDFA(), Conductor::ExecuteSDFAM(), Conductor::ExecuteSDFAOnevsRest(), Conductor::ExecuteSourceVerify(), Conductor::ExecuteTestCMBBayesian(), SourceSinkData::GetCalculatedElementMeans(), SourceSinkData::GetCalculatedElementMu(), SourceSinkData::GetCalculatedElementSigma(), SourceSinkData::GetContribution(), SourceSinkData::GetEstimatedElementMean(), SourceSinkData::GetEstimatedElementMu(), SourceSinkData::GetEstimatedElementSigma(), SourceSinkData::GetMLRResults(), SourceSinkData::GetObservedElementalProfile(), SourceSinkData::GetObservedElementalProfile_Isotope(), SourceSinkData::GetObservedvsModeledElementalProfile(), SourceSinkData::GetObservedvsModeledElementalProfile_Isotope(), SourceSinkData::GetPredictedElementalProfile(), SourceSinkData::GetPredictedElementalProfile_Isotope(), SourceSinkData::GetSourceProfiles(), SourceSinkData::MCMC(), and Results::ReadFromJson().
|
inline |
Definition at line 21 of file resultitem.h.
References Interface::Interface(), and result.
Referenced by SourceSinkData::BootStrap(), Conductor::ExecuteANOVA(), Conductor::ExecuteAutoSelect(), Conductor::ExecuteBoxCox(), Conductor::ExecuteBracketingAnalysis(), Conductor::ExecuteBracketingAnalysisBatch(), Conductor::ExecuteCMBBayesianBatch(), Conductor::ExecuteCorrelationMatrix(), Conductor::ExecuteCovarianceMatrix(), Conductor::ExecuteDFA(), Conductor::ExecuteDFAM(), Conductor::ExecuteDFAOnevsRest(), Conductor::ExecuteDistributionFitting(), Conductor::ExecuteEDP(), Conductor::ExecuteEDPM(), Conductor::ExecuteKolmogorovSmirnov(), Conductor::ExecuteKolmogorovSmirnovIndividual(), Conductor::ExecuteLevenbergMarquardtBatch(), Conductor::ExecuteOutlierAnalysis(), Conductor::ExecuteSDFA(), Conductor::ExecuteSDFAM(), Conductor::ExecuteSDFAOnevsRest(), Conductor::ExecuteSourceVerify(), Conductor::ExecuteTestCMBBayesian(), SourceSinkData::GetCalculatedElementMeans(), SourceSinkData::GetCalculatedElementMu(), SourceSinkData::GetCalculatedElementSigma(), SourceSinkData::GetContribution(), SourceSinkData::GetEstimatedElementMean(), SourceSinkData::GetEstimatedElementMu(), SourceSinkData::GetEstimatedElementSigma(), SourceSinkData::GetObservedElementalProfile(), SourceSinkData::GetObservedElementalProfile_Isotope(), SourceSinkData::GetObservedvsModeledElementalProfile(), SourceSinkData::GetObservedvsModeledElementalProfile_Isotope(), SourceSinkData::GetPredictedElementalProfile(), SourceSinkData::GetPredictedElementalProfile_Isotope(), Elemental_Profile_Set::GetRegressionsAsResult(), SourceSinkData::GetSourceProfiles(), SourceSinkData::MCMC(), and Results::ReadFromJson().
|
inline |
Definition at line 32 of file resultitem.h.
References showasstring.
Referenced by SourceSinkData::BootStrap(), Conductor::ExecuteANOVA(), Conductor::ExecuteAutoSelect(), Conductor::ExecuteBracketingAnalysisBatch(), Conductor::ExecuteCorrelationMatrix(), Conductor::ExecuteDistributionFitting(), Conductor::ExecuteEDP(), Conductor::ExecuteEDPM(), Conductor::ExecuteLevenbergMarquardtBatch(), Conductor::ExecuteOutlierAnalysis(), Conductor::ExecuteSDFAM(), Conductor::ExecuteSourceVerify(), Conductor::ExecuteTestCMBBayesian(), SourceSinkData::GetSourceProfiles(), SourceSinkData::MCMC(), and Results::ReadFromJson().
|
inline |
Definition at line 83 of file resultitem.h.
References showGraph.
Referenced by SourceSinkData::BootStrap(), Conductor::ExecuteANOVA(), Conductor::ExecuteAutoSelect(), Conductor::ExecuteBoxCox(), Conductor::ExecuteBracketingAnalysis(), Conductor::ExecuteBracketingAnalysisBatch(), Conductor::ExecuteCorrelationMatrix(), Conductor::ExecuteCovarianceMatrix(), Conductor::ExecuteDFA(), Conductor::ExecuteDFAM(), Conductor::ExecuteDFAOnevsRest(), Conductor::ExecuteEDP(), Conductor::ExecuteEDPM(), Conductor::ExecuteLevenbergMarquardtBatch(), Conductor::ExecuteOutlierAnalysis(), Conductor::ExecuteSDFAM(), Conductor::ExecuteSourceVerify(), SourceSinkData::GetSourceProfiles(), SourceSinkData::MCMC(), and Results::ReadFromJson().
|
inline |
Definition at line 81 of file resultitem.h.
References showTable.
Referenced by SourceSinkData::BootStrap(), Conductor::ExecuteANOVA(), Conductor::ExecuteAutoSelect(), Conductor::ExecuteBoxCox(), Conductor::ExecuteBracketingAnalysis(), Conductor::ExecuteBracketingAnalysisBatch(), Conductor::ExecuteCMBBayesianBatch(), Conductor::ExecuteCorrelationMatrix(), Conductor::ExecuteCovarianceMatrix(), Conductor::ExecuteDFA(), Conductor::ExecuteDFAM(), Conductor::ExecuteDFAOnevsRest(), Conductor::ExecuteEDP(), Conductor::ExecuteEDPM(), Conductor::ExecuteKolmogorovSmirnov(), Conductor::ExecuteKolmogorovSmirnovIndividual(), Conductor::ExecuteLevenbergMarquardt(), Conductor::ExecuteLevenbergMarquardtBatch(), Conductor::ExecuteOutlierAnalysis(), Conductor::ExecuteSDFA(), Conductor::ExecuteSDFAM(), Conductor::ExecuteSDFAOnevsRest(), Conductor::ExecuteSourceVerify(), SourceSinkData::GetMLRResults(), SourceSinkData::GetSourceProfiles(), SourceSinkData::MCMC(), and Results::ReadFromJson().
|
inline |
Definition at line 50 of file resultitem.h.
References Table_Title.
Referenced by Conductor::ExecuteCorrelationMatrix(), and Conductor::ExecuteSDFAM().
|
inline |
Definition at line 26 of file resultitem.h.
References type.
Referenced by SourceSinkData::BootStrap(), Conductor::ExecuteANOVA(), Conductor::ExecuteAutoSelect(), Conductor::ExecuteBoxCox(), Conductor::ExecuteBracketingAnalysis(), Conductor::ExecuteBracketingAnalysisBatch(), Conductor::ExecuteCMBBayesianBatch(), Conductor::ExecuteCorrelationMatrix(), Conductor::ExecuteCovarianceMatrix(), Conductor::ExecuteDFA(), Conductor::ExecuteDFAM(), Conductor::ExecuteDFAOnevsRest(), Conductor::ExecuteDistributionFitting(), Conductor::ExecuteEDP(), Conductor::ExecuteEDPM(), Conductor::ExecuteKolmogorovSmirnov(), Conductor::ExecuteKolmogorovSmirnovIndividual(), Conductor::ExecuteLevenbergMarquardtBatch(), Conductor::ExecuteOutlierAnalysis(), Conductor::ExecuteSDFA(), Conductor::ExecuteSDFAM(), Conductor::ExecuteSDFAOnevsRest(), Conductor::ExecuteSourceVerify(), Conductor::ExecuteTestCMBBayesian(), SourceSinkData::GetCalculatedElementMeans(), SourceSinkData::GetCalculatedElementMu(), SourceSinkData::GetCalculatedElementSigma(), SourceSinkData::GetContribution(), SourceSinkData::GetEstimatedElementMean(), SourceSinkData::GetEstimatedElementMu(), SourceSinkData::GetEstimatedElementSigma(), SourceSinkData::GetObservedElementalProfile(), SourceSinkData::GetObservedElementalProfile_Isotope(), SourceSinkData::GetObservedvsModeledElementalProfile(), SourceSinkData::GetObservedvsModeledElementalProfile_Isotope(), SourceSinkData::GetPredictedElementalProfile(), SourceSinkData::GetPredictedElementalProfile_Isotope(), Elemental_Profile_Set::GetRegressionsAsResult(), SourceSinkData::GetSourceProfiles(), SourceSinkData::MCMC(), and Results::ReadFromJson().
|
inline |
Definition at line 29 of file resultitem.h.
References x_axis_mode.
Referenced by SourceSinkData::BootStrap(), Conductor::ExecuteLevenbergMarquardtBatch(), Conductor::ExecuteSourceVerify(), and Results::ReadFromJson().
|
inline |
Definition at line 34 of file resultitem.h.
References result, and Interface::SetXAxisLabel().
Referenced by SourceSinkData::BootStrap(), Conductor::ExecuteANOVA(), Conductor::ExecuteDistributionFitting(), Conductor::ExecuteEDP(), Conductor::ExecuteLevenbergMarquardtBatch(), Conductor::ExecuteSDFA(), Conductor::ExecuteSDFAM(), Conductor::ExecuteSDFAOnevsRest(), Conductor::ExecuteSourceVerify(), SourceSinkData::MCMC(), and Results::ReadFromJson().
|
inline |
Definition at line 28 of file resultitem.h.
References y_axis_mode.
Referenced by SourceSinkData::BootStrap(), Conductor::ExecuteANOVA(), Conductor::ExecuteAutoSelect(), Conductor::ExecuteBoxCox(), Conductor::ExecuteCMBBayesianBatch(), Conductor::ExecuteDFA(), Conductor::ExecuteDFAM(), Conductor::ExecuteDFAOnevsRest(), Conductor::ExecuteDistributionFitting(), Conductor::ExecuteEDP(), Conductor::ExecuteEDPM(), Conductor::ExecuteKolmogorovSmirnov(), Conductor::ExecuteSDFA(), Conductor::ExecuteSDFAM(), Conductor::ExecuteSDFAOnevsRest(), SourceSinkData::MCMC(), and Results::ReadFromJson().
|
inline |
Definition at line 42 of file resultitem.h.
References result, and Interface::SetYAxisLabel().
Referenced by SourceSinkData::BootStrap(), Conductor::ExecuteANOVA(), Conductor::ExecuteAutoSelect(), Conductor::ExecuteDistributionFitting(), Conductor::ExecuteEDP(), Conductor::ExecuteEDPM(), Conductor::ExecuteLevenbergMarquardtBatch(), Conductor::ExecuteSDFAM(), Conductor::ExecuteSourceVerify(), SourceSinkData::MCMC(), and Results::ReadFromJson().
|
inline |
Definition at line 69 of file resultitem.h.
References fixYlimit, high, and YLimits.
Referenced by SourceSinkData::BootStrap(), Conductor::ExecuteAutoSelect(), Conductor::ExecuteEDP(), Conductor::ExecuteEDPM(), Conductor::ExecuteLevenbergMarquardtBatch(), Conductor::ExecuteSDFA(), Conductor::ExecuteSDFAM(), Conductor::ExecuteSDFAOnevsRest(), Conductor::ExecuteSourceVerify(), SourceSinkData::MCMC(), and Results::ReadFromJson().
|
inline |
Definition at line 33 of file resultitem.h.
References showasstring.
Referenced by ResultsWindow::AppendResult().
|
inline |
Definition at line 84 of file resultitem.h.
References showGraph.
Referenced by ResultsWindow::AppendResult().
|
inline |
Definition at line 82 of file resultitem.h.
References showTable.
Referenced by ResultsWindow::AppendResult().
|
inline |
Definition at line 54 of file resultitem.h.
References Table_Title.
Referenced by ResultsWindow::on_result_table_clicked().
|
inline |
|
inline |
Definition at line 31 of file resultitem.h.
References x_axis_mode.
|
inline |
Definition at line 58 of file resultitem.h.
References Interface::XAxisLabel().
Referenced by GeneralChart::Plot().
|
inline |
Definition at line 30 of file resultitem.h.
References y_axis_mode.
|
inline |
Definition at line 59 of file resultitem.h.
References Interface::YAxisLabel().
Referenced by GeneralChart::Plot().
|
inline |
Definition at line 62 of file resultitem.h.
|
private |
Definition at line 94 of file resultitem.h.
Referenced by ResultItem(), FixedYLimit(), operator=(), and SetYLimit().
|
private |
Definition at line 86 of file resultitem.h.
Referenced by ResultItem(), Name(), operator=(), and SetName().
|
private |
Definition at line 88 of file resultitem.h.
Referenced by ResultItem(), operator=(), Result(), SetResult(), setXAxisTitle(), and setYAxisTitle().
|
private |
Definition at line 91 of file resultitem.h.
Referenced by ResultItem(), AbsValue(), operator=(), and SetAbsoluteValue().
|
private |
Definition at line 92 of file resultitem.h.
Referenced by ResultItem(), operator=(), SetShowAsString(), and ShowAsString().
|
private |
Definition at line 96 of file resultitem.h.
Referenced by ResultItem(), operator=(), SetShowGraph(), and ShowGraph().
|
private |
Definition at line 95 of file resultitem.h.
Referenced by ResultItem(), operator=(), SetShowTable(), and ShowTable().
|
private |
Definition at line 97 of file resultitem.h.
Referenced by setTableTitle(), and TableTitle().
|
private |
Definition at line 87 of file resultitem.h.
Referenced by ResultItem(), operator=(), SetType(), and Type().
|
private |
Definition at line 90 of file resultitem.h.
Referenced by ResultItem(), operator=(), SetXAxisMode(), and XAxisMode().
|
private |
Definition at line 89 of file resultitem.h.
Referenced by ResultItem(), operator=(), SetYAxisMode(), and YAxisMode().
|
private |
Definition at line 93 of file resultitem.h.
Referenced by ResultItem(), ResultItem(), operator=(), SetYLimit(), and YLimit().