CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
reco::parser::Comparison< CompT > Struct Template Reference

#include <Comparison.h>

Inheritance diagram for reco::parser::Comparison< CompT >:
reco::parser::ComparisonBase

Public Member Functions

bool compare (double lhs, double rhs) const override
 
- Public Member Functions inherited from reco::parser::ComparisonBase
virtual ~ComparisonBase ()
 

Private Attributes

CompT comp
 

Detailed Description

template<class CompT>
struct reco::parser::Comparison< CompT >

Definition at line 18 of file Comparison.h.

Member Function Documentation

◆ compare()

template<class CompT >
bool reco::parser::Comparison< CompT >::compare ( double  lhs,
double  rhs 
) const
inlineoverridevirtual

Implements reco::parser::ComparisonBase.

Definition at line 19 of file Comparison.h.

References reco::parser::Comparison< CompT >::comp.

19 { return comp(lhs, rhs); }

Member Data Documentation

◆ comp

template<class CompT >
CompT reco::parser::Comparison< CompT >::comp
private

Definition at line 22 of file Comparison.h.

Referenced by reco::parser::Comparison< CompT >::compare().