##// END OF EJS Templates
Pull request fixes
Pull request fixes

File last commit:

r234:01adf0576163
r251:f4bacb54bdee
Show More
SqpDateTime.h
23 lines | 515 B | text/x-c | CLexer
#ifndef SCIQLOP_SQPDATETIME_H
#define SCIQLOP_SQPDATETIME_H
#include <QObject>
/**
* @brief The SqpDateTime struct holds the information of time parameters
*/
struct SqpDateTime {
/// Start time
double m_TStart;
/// End time
double m_TEnd;
bool contains(const SqpDateTime &dateTime)
{
return (m_TStart <= dateTime.m_TStart && m_TEnd >= dateTime.m_TEnd);
}
};
// Required for using shared_ptr in signals/slots
Q_DECLARE_METATYPE(SqpDateTime)
#endif // SCIQLOP_SQPDATETIME_H