|
SedSat3 1.1.6
Sediment Source Apportionment Tool - Advanced statistical methods for environmental pollution research
|
Collection of named CMBVectorSet objects for hierarchical data organization. More...
#include </home/runner/work/SedSat3/SedSat3/cmbvectorsetset.h>


Public Member Functions | |
| CMBVectorSetSet () | |
| Default constructor - creates an empty vector set set. | |
| CMBVectorSetSet (const CMBVectorSetSet &mp) | |
| Copy constructor. | |
| CMBVectorSetSet & | operator= (const CMBVectorSetSet &mp) |
| Assignment operator. | |
| QJsonObject | toJsonObject () const override |
| Serializes vector set set to JSON format. | |
| bool | ReadFromJsonObject (const QJsonObject &jsonobject) override |
| Deserializes vector set set from JSON format. | |
| string | ToString () const override |
| Converts vector set set to string representation. | |
| QTableWidget * | ToTable () override |
| Creates a QTableWidget for displaying vector set set data. | |
| bool | writetofile (QFile *file) override |
| Writes vector set set to file. | |
| string | Label (const string &vectorset, const string &column, int j) const |
| Gets label at specified position in a column within a vector set. | |
| double | valueAt (const string &vectorset, const string &columnlabel, int j) const |
| Gets value at specified position in a column within a vector set. | |
| CMBVector & | GetColumn (const string &vectorset, const string &columnlabel) |
| Gets reference to a named column vector within a vector set. | |
| void | Append (const string &columnlabel, const CMBVectorSet &vectorset) |
| Adds or replaces a vector set in the collection. | |
| unsigned int | MaxSize () const |
| Finds the maximum size among all vectors in all sets. | |
| double | max () const |
| Finds the maximum value across all vectors in all sets. | |
| double | min () const |
| Finds the minimum value across all vectors in all sets. | |
Public Member Functions inherited from Interface | |
| Interface () | |
| Default constructor. | |
| Interface (const Interface &intf) | |
| Copy constructor. | |
| Interface & | operator= (const Interface &intf) |
| Assignment operator. | |
| virtual bool | Read (const QStringList &strlist) |
| Parse object data from a string list. | |
| 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. | |
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. | |
Collection of named CMBVectorSet objects for hierarchical data organization.
Manages a two-level hierarchy of vectors: sets of vector sets. Provides JSON serialization and table generation for complex multi-group, multi-variable datasets. Commonly used for organizing discriminant function analysis results across multiple discriminant axes.
Definition at line 17 of file cmbvectorsetset.h.
| CMBVectorSetSet::CMBVectorSetSet | ( | ) |
Default constructor - creates an empty vector set set.
Definition at line 5 of file cmbvectorsetset.cpp.
| CMBVectorSetSet::CMBVectorSetSet | ( | const CMBVectorSetSet & | mp | ) |
Copy constructor.
| mp | Vector set set to copy from |
Definition at line 9 of file cmbvectorsetset.cpp.
| void CMBVectorSetSet::Append | ( | const string & | columnlabel, |
| const CMBVectorSet & | vectorset | ||
| ) |
Adds or replaces a vector set in the collection.
| columnlabel | Name for the vector set |
| vectorset | Vector set to add |
Definition at line 134 of file cmbvectorsetset.cpp.
References vectorset.
Referenced by SourceSinkData::DiscriminantFunctionAnalysis().
Gets reference to a named column vector within a vector set.
| vectorset | Name of the vector set |
| columnlabel | Name of the vector column |
Definition at line 130 of file cmbvectorsetset.cpp.
References vectorset.
Gets label at specified position in a column within a vector set.
| vectorset | Name of the vector set |
| column | Name of the vector column within the set |
| j | Index within the column |
Definition at line 116 of file cmbvectorsetset.cpp.
References Label(), and vectorset.
Referenced by Label().
| double CMBVectorSetSet::max | ( | ) | const |
Finds the maximum value across all vectors in all sets.
Definition at line 60 of file cmbvectorsetset.cpp.
| unsigned int CMBVectorSetSet::MaxSize | ( | ) | const |
Finds the maximum size among all vectors in all sets.
Definition at line 49 of file cmbvectorsetset.cpp.
Referenced by ToTable().
| double CMBVectorSetSet::min | ( | ) | const |
Finds the minimum value across all vectors in all sets.
Definition at line 69 of file cmbvectorsetset.cpp.
| CMBVectorSetSet & CMBVectorSetSet::operator= | ( | const CMBVectorSetSet & | mp | ) |
Assignment operator.
| mp | Vector set set to assign from |
Definition at line 13 of file cmbvectorsetset.cpp.
References Interface::operator=().
|
overridevirtual |
Deserializes vector set set from JSON format.
| jsonobject | JSON object to read from |
Reimplemented from Interface.
Definition at line 28 of file cmbvectorsetset.cpp.
References CMBVectorSet::ReadFromJsonObject().
Referenced by Results::ReadFromJson().
|
overridevirtual |
Serializes vector set set to JSON format.
Reimplemented from Interface.
Definition at line 19 of file cmbvectorsetset.cpp.
|
overridevirtual |
Converts vector set set to string representation.
Reimplemented from Interface.
Definition at line 37 of file cmbvectorsetset.cpp.
References CMBVectorSet::ToString().
Referenced by writetofile().
|
overridevirtual |
Creates a QTableWidget for displaying vector set set data.
Generates a table with column pairs for each vector in each set, with hierarchical column headers.
Reimplemented from Interface.
Definition at line 80 of file cmbvectorsetset.cpp.
| double CMBVectorSetSet::valueAt | ( | const string & | vectorset, |
| const string & | columnlabel, | ||
| int | j | ||
| ) | const |
Gets value at specified position in a column within a vector set.
| vectorset | Name of the vector set |
| columnlabel | Name of the vector column within the set |
| j | Index within the column |
Definition at line 123 of file cmbvectorsetset.cpp.
References valueAt(), and vectorset.
Referenced by valueAt().
|
overridevirtual |
Writes vector set set to file.
| file | File pointer to write to |
Reimplemented from Interface.
Definition at line 110 of file cmbvectorsetset.cpp.
References ToString().