Gromacs  2024.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
List of all members | Public Member Functions
gmx::test::anonymous_namespace{mock_datamodule.cpp}::StaticDataPointsChecker Class Reference

Description

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.
 

Constructor & Destructor Documentation

gmx::test::anonymous_namespace{mock_datamodule.cpp}::StaticDataPointsChecker::StaticDataPointsChecker ( const AnalysisDataTestInputFrame frame,
const AnalysisDataTestInputPointSet points,
int  firstcol,
int  n 
)
inline

Constructs a checker against a given input data frame and point set.

Parameters
[in]frameFrame to check against.
[in]pointsPoint set in frame to check against.
[in]firstcolExpected first column.
[in]nExpected 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.


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