casa  5.7.0-16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Private Member Functions | Private Attributes | List of all members
rowsInAScanbyTimeFunctor< T > Struct Template Reference

#include <asdm2MSGeneric.h>

Public Member Functions

 rowsInAScanbyTimeFunctor (const std::vector< asdm::ScanRow * > &scans)
 
const std::vector< T * > & operator() (const std::vector< T * > &rows, bool ignoreTime=false)
 

Private Member Functions

bool timeIsInAScan (T *row, const std::vector< asdm::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. More...
 

Private Attributes

const std::vector
< asdm::ScanRow * > & 
scans
 
std::vector< T * > result
 

Detailed Description

template<typename T>
struct rowsInAScanbyTimeFunctor< T >

Definition at line 118 of file asdm2MSGeneric.h.

Constructor & Destructor Documentation

template<typename T >
rowsInAScanbyTimeFunctor< T >::rowsInAScanbyTimeFunctor ( const std::vector< asdm::ScanRow * > &  scans)
inline

Definition at line 144 of file asdm2MSGeneric.h.

Member Function Documentation

template<typename T >
const std::vector<T *>& rowsInAScanbyTimeFunctor< T >::operator() ( const std::vector< T * > &  rows,
bool  ignoreTime = false 
)
inline
template<typename T >
bool rowsInAScanbyTimeFunctor< T >::timeIsInAScan ( T *  row,
const std::vector< asdm::ScanRow * > &  scans 
)
inlineprivate

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()().

Member Data Documentation

template<typename T >
std::vector<T *> rowsInAScanbyTimeFunctor< T >::result
private
template<typename T >
const std::vector<asdm::ScanRow *>& rowsInAScanbyTimeFunctor< T >::scans
private

Definition at line 120 of file asdm2MSGeneric.h.

Referenced by rowsInAScanbyTimeFunctor< T >::operator()().


The documentation for this struct was generated from the following file: