##// END OF EJS Templates
Tests sort() method
Tests sort() method

File last commit:

r471:d00d6fd96c10
r477:def9dce68e0a
Show More
Variable.h
57 lines | 1.4 KiB | text/x-c | CLexer
Alexandre Leroux
Creates the variable model...
r107 #ifndef SCIQLOP_VARIABLE_H
#define SCIQLOP_VARIABLE_H
Alexandre Leroux
Exports core module as a shared library...
r425 #include "CoreGlobal.h"
Change SqpRange for SqpDateTime
r471 #include <Data/SqpRange.h>
Variable slot is called when x range of its graph changed
r210
#include <QLoggingCategory>
Alexandre Leroux
Makes the connection between Variable controller and Visualization controller...
r158 #include <QObject>
Alexandre Leroux
Centralization of qregistermetatype management
r285 #include <Common/MetaTypes.h>
Variable slot is called when x range of its graph changed
r210 #include <Common/spimpl.h>
Q_DECLARE_LOGGING_CATEGORY(LOG_Variable)
Alexandre Leroux
Adds data series to a variable
r152 class IDataSeries;
Alexandre Leroux
Changes Variable from struct to class
r151 class QString;
Alexandre Leroux
Creates the variable model...
r107
/**
Alexandre Leroux
Changes Variable from struct to class
r151 * @brief The Variable class represents a variable in SciQlop.
Alexandre Leroux
Creates the variable model...
r107 */
Alexandre Leroux
Exports core module as a shared library...
r425 class SCIQLOP_CORE_EXPORT Variable : public QObject {
The mock plugin can now create data with view operation
r219
Q_OBJECT
Alexandre Leroux
Changes Variable from struct to class
r151 public:
Change SqpRange for SqpDateTime
r471 explicit Variable(const QString &name, const SqpRange &dateTime,
Alexandre Leroux
Adds QVariantHash to store metadata in a variable
r373 const QVariantHash &metadata = {});
Alexandre Leroux
Changes Variable from struct to class
r151
QString name() const noexcept;
Change SqpRange for SqpDateTime
r471 SqpRange dateTime() const noexcept;
void setDateTime(const SqpRange &dateTime) noexcept;
Alexandre Leroux
Adds data series to a variable
r152
Alexandre Leroux
Handles creations for scalar series
r169 /// @return the data of the variable, nullptr if there is no data
IDataSeries *dataSeries() const noexcept;
Alexandre Leroux
Adds QVariantHash to store metadata in a variable
r373 QVariantHash metadata() const noexcept;
Change SqpRange for SqpDateTime
r471 bool contains(const SqpRange &dateTime) const noexcept;
bool intersect(const SqpRange &dateTime) const noexcept;
bool isInside(const SqpRange &dateTime) const noexcept;
The mock plugin can now create data with view operation
r219
Variable slot is called when x range of its graph changed
r210 public slots:
Alexandre Leroux
Use std::shared_ptr in CosinusProvider
r287 void setDataSeries(std::shared_ptr<IDataSeries> dataSeries) noexcept;
The mock plugin can now create data with view operation
r219
signals:
Fix the cosinus bug....
r276 void updated();
The mock plugin can now create data with view operation
r219
Alexandre Leroux
Changes Variable from struct to class
r151 private:
class VariablePrivate;
spimpl::unique_impl_ptr<VariablePrivate> impl;
Alexandre Leroux
Creates the variable model...
r107 };
Alexandre Leroux
Makes the connection between Variable controller and Visualization controller...
r158 // Required for using shared_ptr in signals/slots
Alexandre Leroux
Centralization of qregistermetatype management
r285 SCIQLOP_REGISTER_META_TYPE(VARIABLE_PTR_REGISTRY, std::shared_ptr<Variable>)
Alexandre Leroux
Makes the connection between Variable controller and Visualization controller...
r158
Alexandre Leroux
Creates the variable model...
r107 #endif // SCIQLOP_VARIABLE_H