##// END OF EJS Templates
Merge pull request 159 from SCIQLOP-Initialisation develop...
Merge pull request 159 from SCIQLOP-Initialisation develop Develop

File last commit:

r234:01adf0576163
r244:390cce0166be merge
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