##// END OF EJS Templates
Implementation of the addDateTime method of the cache
Implementation of the addDateTime method of the cache

File last commit:

r212:8e4faeed90b4
r214:b886fd9a8729
Show More
SqpDateTime.h
19 lines | 413 B | text/x-c | CLexer
Add SqpDateTime struct
r177 #ifndef SCIQLOP_SQPDATETIME_H
#define SCIQLOP_SQPDATETIME_H
/**
* @brief The SqpDateTime struct holds the information of time parameters
*/
struct SqpDateTime {
/// Start time
double m_TStart;
/// End time
double m_TEnd;
A variable is now created with its dateTime too....
r212
bool contains(const SqpDateTime &dateTime)
{
return (m_TStart <= dateTime.m_TStart && m_TEnd >= dateTime.m_TEnd);
}
Add SqpDateTime struct
r177 };
#endif // SCIQLOP_SQPDATETIME_H