##// END OF EJS Templates
Changes Variable from struct to class
Changes Variable from struct to class

File last commit:

r163:8de0b7c96d22
r163:8de0b7c96d22
Show More
Variable.h
24 lines | 514 B | text/x-c | CLexer
Alexandre Leroux
Creates the variable model...
r112 #ifndef SCIQLOP_VARIABLE_H
#define SCIQLOP_VARIABLE_H
Alexandre Leroux
Changes Variable from struct to class
r163 #include <Common/spimpl.h>
class QString;
Alexandre Leroux
Creates the variable model...
r112
/**
Alexandre Leroux
Changes Variable from struct to class
r163 * @brief The Variable class represents a variable in SciQlop.
Alexandre Leroux
Creates the variable model...
r112 */
Alexandre Leroux
Changes Variable from struct to class
r163 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
Creates the variable model...
r112
Alexandre Leroux
Changes Variable from struct to class
r163 private:
class VariablePrivate;
spimpl::unique_impl_ptr<VariablePrivate> impl;
Alexandre Leroux
Creates the variable model...
r112 };
#endif // SCIQLOP_VARIABLE_H