Variable.h
27 lines
| 608 B
| text/x-c
|
CLexer
Alexandre Leroux
|
r107 | #ifndef SCIQLOP_VARIABLE_H | ||
#define SCIQLOP_VARIABLE_H | ||||
Alexandre Leroux
|
r151 | #include <Common/spimpl.h> | ||
Alexandre Leroux
|
r152 | class IDataSeries; | ||
Alexandre Leroux
|
r151 | class QString; | ||
Alexandre Leroux
|
r107 | |||
/** | ||||
Alexandre Leroux
|
r151 | * @brief The Variable class represents a variable in SciQlop. | ||
Alexandre Leroux
|
r107 | */ | ||
Alexandre Leroux
|
r151 | class Variable { | ||
public: | ||||
explicit Variable(const QString &name, const QString &unit, const QString &mission); | ||||
QString name() const noexcept; | ||||
QString mission() const noexcept; | ||||
QString unit() const noexcept; | ||||
Alexandre Leroux
|
r107 | |||
Alexandre Leroux
|
r152 | void addDataSeries(std::unique_ptr<IDataSeries> dataSeries) noexcept; | ||
Alexandre Leroux
|
r151 | private: | ||
class VariablePrivate; | ||||
spimpl::unique_impl_ptr<VariablePrivate> impl; | ||||
Alexandre Leroux
|
r107 | }; | ||
#endif // SCIQLOP_VARIABLE_H | ||||