CMS 3D CMS Logo

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
List of all members | Public Member Functions | Private Attributes
MaxSelector< T > Struct Template Reference

#include <MaxSelector.h>

Public Member Functions

 MaxSelector (T max)
 
bool operator() (T t) const
 

Private Attributes

T max_
 

Detailed Description

template<typename T>
struct MaxSelector< T >

Definition at line 11 of file MaxSelector.h.

Constructor & Destructor Documentation

◆ MaxSelector()

template<typename T >
MaxSelector< T >::MaxSelector ( T  max)
inline

Definition at line 12 of file MaxSelector.h.

Member Function Documentation

◆ operator()()

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

Definition at line 13 of file MaxSelector.h.

References MaxSelector< T >::max_, and submitPVValidationJobs::t.

13 { return t <= max_; }

Member Data Documentation

◆ max_

template<typename T >
T MaxSelector< T >::max_
private

Definition at line 16 of file MaxSelector.h.

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