casa
$Rev:20696$
|
#include <asdm2MSGeneric.h>
Public Member Functions | |
rowsInAScanbyTimeFunctor (const vector< ScanRow * > &scans) | |
const vector< T * > & | operator() (const vector< T * > &rows, bool ignoreTime=false) |
Private Member Functions | |
bool | timeIsInAScan (T *row, const vector< ScanRow * > &scans) |
A template function which checks if there is at least one element scan of the vector scans for which the time contained by returned by row->getTime() is embedded in the time range defined in scan. | |
Private Attributes | |
const vector< ScanRow * > & | scans |
vector< T * > | result |
Definition at line 118 of file asdm2MSGeneric.h.
rowsInAScanbyTimeFunctor< T >::rowsInAScanbyTimeFunctor | ( | const vector< ScanRow * > & | scans | ) | [inline] |
Definition at line 144 of file asdm2MSGeneric.h.
const vector<T *>& rowsInAScanbyTimeFunctor< T >::operator() | ( | const vector< T * > & | rows, |
bool | ignoreTime = false |
||
) | [inline] |
Definition at line 145 of file asdm2MSGeneric.h.
References rowsInAScanbyTimeFunctor< T >::result, rowsInAScanbyTimeFunctor< T >::scans, and rowsInAScanbyTimeFunctor< T >::timeIsInAScan().
bool rowsInAScanbyTimeFunctor< T >::timeIsInAScan | ( | T * | row, |
const vector< ScanRow * > & | scans | ||
) | [inline, private] |
A template function which checks if there is at least one element scan of the vector scans for which the time contained by returned by row->getTime() is embedded in the time range defined in scan.
Returns true there is such a scan.
Definition at line 128 of file asdm2MSGeneric.h.
References rowsInAScanbyTimeFunctor< T >::result.
Referenced by rowsInAScanbyTimeFunctor< T >::operator()().
vector<T *> rowsInAScanbyTimeFunctor< T >::result [private] |
Definition at line 121 of file asdm2MSGeneric.h.
Referenced by rowsInAScanbyTimeFunctor< T >::operator()(), and rowsInAScanbyTimeFunctor< T >::timeIsInAScan().
const vector<ScanRow *>& rowsInAScanbyTimeFunctor< T >::scans [private] |
Definition at line 120 of file asdm2MSGeneric.h.
Referenced by rowsInAScanbyTimeFunctor< T >::operator()().