Field3D
Curve< double >::CheckTGreaterThan Class Reference

Public Member Functions

 CheckTGreaterThan (float match)
 
bool operator() (std::pair< float, double > test)
 

Private Attributes

float m_match
 

Constructor & Destructor Documentation

◆ CheckTGreaterThan()

Curve< double >::CheckTGreaterThan::CheckTGreaterThan ( float  match)
inline

Definition at line 118 of file Curve.h.

119  : m_match(match)
120  { }
bool match(const std::string &name, const std::string &attribute, const std::vector< std::string > &patterns, const MatchFlags flags=MatchEmptyPattern)
Matches a <name>:<attribute> string against a set of patterns.

Member Function Documentation

◆ operator()()

bool Curve< double >::CheckTGreaterThan::operator() ( std::pair< float, double >  test)
inline

Definition at line 121 of file Curve.h.

122  {
123  return test.first > m_match;
124  }

Member Data Documentation

◆ m_match

float Curve< double >::CheckTGreaterThan::m_match
private

Definition at line 126 of file Curve.h.


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