casa  $Rev:20696$
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Private Member Functions | Private Attributes
rowsInAScanbyTimeFunctor< T > Struct Template Reference

#include <asdm2MSGeneric.h>

List of all members.

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

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 vector< ScanRow * > &  scans) [inline]

Definition at line 144 of file asdm2MSGeneric.h.


Member Function Documentation

template<typename T >
const vector<T *>& rowsInAScanbyTimeFunctor< T >::operator() ( const vector< T * > &  rows,
bool  ignoreTime = false 
) [inline]
template<typename T >
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()().


Member Data Documentation

template<typename T >
vector<T *> rowsInAScanbyTimeFunctor< T >::result [private]
template<typename T >
const vector<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: