Field3D
Curve< T >::CheckTGreaterThan Struct Reference

Used when finding values in the m_samples vector. More...

Inheritance diagram for Curve< T >::CheckTGreaterThan:

Public Member Functions

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

Private Attributes

float m_match
 

Detailed Description

template<typename T>
struct Curve< T >::CheckTGreaterThan

Used when finding values in the m_samples vector.

Definition at line 115 of file Curve.h.

Constructor & Destructor Documentation

◆ CheckTGreaterThan()

template<typename T>
Curve< T >::CheckTGreaterThan::CheckTGreaterThan ( float  match)
inline

Definition at line 118 of file Curve.h.

119  : m_match(match)
120  { }

Member Function Documentation

◆ operator()()

template<typename T>
bool Curve< T >::CheckTGreaterThan::operator() ( std::pair< float, T >  test)
inline

Definition at line 121 of file Curve.h.

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

References Curve< T >::CheckTGreaterThan::m_match.

Member Data Documentation

◆ m_match

template<typename T>
float Curve< T >::CheckTGreaterThan::m_match
private

Definition at line 126 of file Curve.h.

Referenced by Curve< T >::CheckTGreaterThan::operator()().


The documentation for this struct was generated from the following file:
match
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.
Definition: PatternMatch.cpp:102
Curve::CheckTGreaterThan::m_match
float m_match
Definition: Curve.h:126