|
ManiVault 1.0.0
A Flexible and Extensible Visual Analytics Framework for High-Dimensional Data
|
#include <Dataset.h>
Public Member Functions | |
| Dataset (DatasetType *dataset=nullptr) | |
| Dataset (DatasetType &dataset) | |
| Dataset (const Dataset< DatasetType > &other) | |
| template<typename OtherDatasetType > | |
| Dataset (const Dataset< OtherDatasetType > &other) | |
| DatasetType & | operator* () |
| const DatasetType & | operator* () const |
| Dataset< DatasetType > & | operator= (const Dataset< DatasetType > &rhs) |
| DatasetType * | operator-> () |
| const DatasetType * | operator-> () const |
| DatasetType * | operator() () const |
| template<typename TargetSetType > | |
| TargetSetType * | get () const |
| DatasetType * | get () const |
| bool | isValid () const |
Public Member Functions inherited from hdps::DatasetPrivate | |
| QString | getDatasetId () const |
| void | setDatasetId (const QString &datasetId) |
| DatasetImpl * | getDataset () |
| const DatasetImpl * | getDataset () const |
| void | setDataset (DatasetImpl *dataset) |
| void | reset () |
| void | connectNotify (const QMetaMethod &signal) override |
| void | disconnectNotify (const QMetaMethod &signal) override |
Additional Inherited Members | |
Signals inherited from hdps::DatasetPrivate | |
| void | changed (DatasetImpl *dataset) |
| void | aboutToBeRemoved () |
| void | removed (const QString &datasetId) |
| void | dataChanged () |
| void | dataDimensionsChanged () |
| void | dataSelectionChanged () |
| void | guiNameChanged () |
| void | childAdded (const Dataset< DatasetImpl > &childDataset) |
| void | childRemoved (const QString &childDatasetGuid) |
Protected Member Functions inherited from hdps::DatasetPrivate | |
| DatasetPrivate () | |
| DatasetPrivate (const DatasetPrivate &other) | |
| DatasetPrivate & | operator= (const DatasetPrivate &other)=delete |
| ~DatasetPrivate () override=default | |
| void | registerDatasetEvents () |
Smart dataset class
Smart pointer for datasets
This smart pointer aims to make dataset access through pointers more secure. It internally manages a pointer throughout the lifetime of a dataset (resets the datasets to nullptr when a dataset is removed etc.). Access is through standard arrow and dereference operators. It is advised to always check for pointer validity before use of the pointer. In addition, it emits data signals when data is renamed, removed etc.
Only dataset reference template classes have access to protected members
|
inline |
(Default) constructor
| dataset | Pointer to dataset (if any) |
|
inline |
Construct from dataset reference
| dataset | Reference to dataset |
|
inline |
Copy constructor
| other | Smart pointer to copy from |
|
inline |
Templated copy constructor
| other | Smart pointer to copy from |
|
inline |
Get pointer of TargetSetType to dataset
TargetSetType to dataset (if any, maybe nullptr)
|
inline |
Get pointer to dataset
|
inline |
Returns smart pointer validity
|
inline |
Parenthesis operator
|
inline |
Dereference operator
|
inline |
Const dereference operator
|
inline |
Overloaded arrow operator
|
inline |
Const overloaded arrow operator
|
inline |
Assignment operator
| rhs | Right hand side operator |