casa
5.7.0-16
|
#include <asdm2MSGeneric.h>
Public Member Functions | |
rowsInAScanbyTimeIntervalFunctor (const std::vector< asdm::ScanRow * > &scans) | |
const std::vector< T * > & | operator() (const std::vector< T * > &rows, bool ignoreTime=false) |
Private Member Functions | |
bool | timeIntervalIntersectsAScan (T *row, const std::vector< asdm::ScanRow * > &scans) |
A function which returns true if and only there is at least one element in the vector 'scans' for which the time interval defined by its attributes startTime and endTime has a non empty intersection with the time interval defined by the 'timeInterval' attribute of the generic parameter of 'row' which is expected to have a method getTimeInterval which returns a TimeInterval object. More... | |
Private Attributes | |
const std::vector < asdm::ScanRow * > & | scans |
std::vector< T * > | result |
Definition at line 69 of file asdm2MSGeneric.h.
|
inline |
Definition at line 104 of file asdm2MSGeneric.h.
|
inline |
Definition at line 105 of file asdm2MSGeneric.h.
References rowsInAScanbyTimeIntervalFunctor< T >::result, rowsInAScanbyTimeIntervalFunctor< T >::scans, and rowsInAScanbyTimeIntervalFunctor< T >::timeIntervalIntersectsAScan().
|
inlineprivate |
A function which returns true if and only there is at least one element in the vector 'scans' for which the time interval defined by its attributes startTime and endTime has a non empty intersection with the time interval defined by the 'timeInterval' attribute of the generic parameter of 'row' which is expected to have a method getTimeInterval which returns a TimeInterval object.
row | a pointer to an object of type T. |
a | const reference to a vector of pointers of ScanRow. |
return | a bool. |
Definition at line 86 of file asdm2MSGeneric.h.
References max, min, and rowsInAScanbyTimeIntervalFunctor< T >::result.
Referenced by rowsInAScanbyTimeIntervalFunctor< T >::operator()().
|
private |
Definition at line 72 of file asdm2MSGeneric.h.
Referenced by rowsInAScanbyTimeIntervalFunctor< T >::operator()(), and rowsInAScanbyTimeIntervalFunctor< T >::timeIntervalIntersectsAScan().
|
private |
Definition at line 71 of file asdm2MSGeneric.h.
Referenced by rowsInAScanbyTimeIntervalFunctor< T >::operator()().