CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
MinSelector< T > Struct Template Reference

#include <MinSelector.h>

Public Member Functions

 MinSelector (T min)
 
bool operator() (T t) const
 

Private Attributes

T min_
 

Detailed Description

template<typename T>
struct MinSelector< T >

Definition at line 11 of file MinSelector.h.

Constructor & Destructor Documentation

◆ MinSelector()

template<typename T >
MinSelector< T >::MinSelector ( T  min)
inline

Definition at line 12 of file MinSelector.h.

12 : min_( min ) { }

Member Function Documentation

◆ operator()()

template<typename T >
bool MinSelector< T >::operator() ( T  t) const
inline

Definition at line 13 of file MinSelector.h.

13 { return t >= min_; }

References MinSelector< T >::min_, and OrderedSet::t.

Member Data Documentation

◆ min_

template<typename T >
T MinSelector< T >::min_
private

Definition at line 16 of file MinSelector.h.

Referenced by MinSelector< T >::operator()().

min
T min(T a, T b)
Definition: MathUtil.h:58
MinSelector::min_
T min_
Definition: MinSelector.h:16
OrderedSet.t
t
Definition: OrderedSet.py:90