Gromacs
2018.8
|
Functor for checking data frame points against static test input data.
This functor is designed to be invoked as a handled for IAnalysisDataModule::pointsAdded().
Public Member Functions | |
StaticDataPointsChecker (const AnalysisDataTestInputFrame *frame, const AnalysisDataTestInputPointSet *points, int firstcol, int n) | |
Constructs a checker against a given input data frame and point set. More... | |
void | operator() (const AnalysisDataPointSetRef &points) const |
Function call operator for the functor. | |
|
inline |
Constructs a checker against a given input data frame and point set.
[in] | frame | Frame to check against. |
[in] | points | Point set in frame to check against. |
[in] | firstcol | Expected first column. |
[in] | n | Expected number of columns. |
firstcol
and n
are used to create a checker that only expects to be called for a subset of columns. frame
and points
must exist for the lifetime of this object.