Vespucci
1.0.0
|
#include <datamodel.h>
Public Member Functions | |
DataModel () | |
QSharedPointer< VespucciDataset > | GetDataset (const QString &key) const |
DataModel::GetDataset Get the VespucciDataset named key. More... | |
QSharedPointer< AnalysisResults > | GetResults (const QString &dataset_key, const QString &results_key) const |
DataModel::GetResults Get the AnalysisResults object named results_key from the dataset named dataset_key. More... | |
QSharedPointer< AnalysisResults > | GetResults (const QStringList &keys) const |
QSharedPointer< MapData > | GetMap (const QString &dataset_key, const QString &map_key) const |
DataModel::GetMap Get the MapData object named map_key from dataset named dataset_key. More... | |
QSharedPointer< MapData > | GetMap (const QStringList &keys) const |
QList< QSharedPointer< MapData > > | GetMapsUsingColorRange (const QString &range_key) |
const mat & | GetResultsMatrix (const QString &dataset_key, const QString &results_key, const QString &matrix_key) const |
const mat & | GetResultsMatrix (const QStringList &keys) const |
const mat & | GetCoreMatrix (const QString &dataset_key, const QString &matrix_key) const |
DataModel::GetCoreMatrix. More... | |
const mat & | GetCoreMatrix (const QStringList &keys) const |
const mat & | GetAuxiliaryMatrix (const QString &dataset_key, const QString &matrix_key) const |
DataModel::GetAuxiliaryMatrix. More... | |
const mat & | GetAuxiliaryMatrix (const QStringList &keys) const |
const mat & | GetMatrix (const QString &dataset_key, const QString &matrix_key) const |
const mat & | GetMatrix (const QStringList &keys) const |
bool | Mappable (const QStringList &keys) const |
bool | Plottable (const QStringList &keys) const |
QStringList | DatasetNames () const |
DataModel::DatasetNames. More... | |
QStringList | AnalysisResultsNames (const QString &dataset_key) const |
DataModel::AnalysisResultsNames. More... | |
QStringList | AuxiliaryMatrixNames (const QString &dataset_key) const |
DataModel::AuxiliaryMatrixNames. More... | |
QStringList | CoreMatrixNames (const QString &dataset_key) |
void | AddDataset (QSharedPointer< VespucciDataset > dataset) |
DataModel::AddDataset. More... | |
void | RemoveDataset (const QString &name) |
DataModel::RemoveDataset. More... | |
const mat & | EmptyMatrix () const |
bool | HasDataset (const QString &key) const |
bool | HasMatrix (const QStringList &keys) const |
Definition at line 24 of file datamodel.h.
DataModel::DataModel | ( | ) |
Definition at line 22 of file datamodel.cpp.
void DataModel::AddDataset | ( | QSharedPointer< VespucciDataset > | dataset | ) |
dataset | Refuses to add a dataset if a dataset with that name already exists will throw invalid_argument. VespucciWorkspace should handle it. |
Definition at line 320 of file datamodel.cpp.
QStringList DataModel::AnalysisResultsNames | ( | const QString & | dataset_key | ) | const |
DataModel::AnalysisResultsNames.
dataset_key |
Definition at line 279 of file datamodel.cpp.
QStringList DataModel::AuxiliaryMatrixNames | ( | const QString & | dataset_key | ) | const |
DataModel::AuxiliaryMatrixNames.
dataset_key |
Definition at line 294 of file datamodel.cpp.
QStringList DataModel::CoreMatrixNames | ( | const QString & | dataset_key | ) |
Definition at line 304 of file datamodel.cpp.
QStringList DataModel::DatasetNames | ( | ) | const |
Definition at line 266 of file datamodel.cpp.
const mat & DataModel::EmptyMatrix | ( | ) | const |
Definition at line 339 of file datamodel.cpp.
const mat & DataModel::GetAuxiliaryMatrix | ( | const QString & | dataset_key, |
const QString & | matrix_key | ||
) | const |
DataModel::GetAuxiliaryMatrix.
dataset_key | |
matrix_key |
Definition at line 191 of file datamodel.cpp.
const mat & DataModel::GetAuxiliaryMatrix | ( | const QStringList & | keys | ) | const |
Definition at line 209 of file datamodel.cpp.
const mat & DataModel::GetCoreMatrix | ( | const QString & | dataset_key, |
const QString & | matrix_key | ||
) | const |
dataset_key | |
matrix_key |
Definition at line 160 of file datamodel.cpp.
const mat & DataModel::GetCoreMatrix | ( | const QStringList & | keys | ) | const |
Definition at line 179 of file datamodel.cpp.
QSharedPointer< VespucciDataset > DataModel::GetDataset | ( | const QString & | key | ) | const |
DataModel::GetDataset Get the VespucciDataset named key.
key |
Definition at line 32 of file datamodel.cpp.
QSharedPointer< MapData > DataModel::GetMap | ( | const QString & | dataset_key, |
const QString & | map_key | ||
) | const |
DataModel::GetMap Get the MapData object named map_key from dataset named dataset_key.
dataset_key | |
map_key |
Definition at line 81 of file datamodel.cpp.
QSharedPointer< MapData > DataModel::GetMap | ( | const QStringList & | keys | ) | const |
Definition at line 100 of file datamodel.cpp.
QList< QSharedPointer< MapData > > DataModel::GetMapsUsingColorRange | ( | const QString & | range_key | ) |
Definition at line 106 of file datamodel.cpp.
const mat & DataModel::GetMatrix | ( | const QString & | dataset_key, |
const QString & | matrix_key | ||
) | const |
Definition at line 215 of file datamodel.cpp.
const mat & DataModel::GetMatrix | ( | const QStringList & | keys | ) | const |
Definition at line 235 of file datamodel.cpp.
QSharedPointer< AnalysisResults > DataModel::GetResults | ( | const QString & | dataset_key, |
const QString & | results_key | ||
) | const |
DataModel::GetResults Get the AnalysisResults object named results_key from the dataset named dataset_key.
dataset_key | |
results_key |
Definition at line 49 of file datamodel.cpp.
QSharedPointer< AnalysisResults > DataModel::GetResults | ( | const QStringList & | keys | ) | const |
Definition at line 68 of file datamodel.cpp.
const mat & DataModel::GetResultsMatrix | ( | const QString & | dataset_key, |
const QString & | results_key, | ||
const QString & | matrix_key | ||
) | const |
Definition at line 119 of file datamodel.cpp.
const mat & DataModel::GetResultsMatrix | ( | const QStringList & | keys | ) | const |
Definition at line 148 of file datamodel.cpp.
bool DataModel::HasDataset | ( | const QString & | key | ) | const |
Definition at line 344 of file datamodel.cpp.
bool DataModel::HasMatrix | ( | const QStringList & | keys | ) | const |
Definition at line 351 of file datamodel.cpp.
bool DataModel::Mappable | ( | const QStringList & | keys | ) | const |
Definition at line 242 of file datamodel.cpp.
bool DataModel::Plottable | ( | const QStringList & | keys | ) | const |
Definition at line 255 of file datamodel.cpp.
void DataModel::RemoveDataset | ( | const QString & | name | ) |