CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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

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

Definition at line 12 of file MinSelector.h.

12 : min_( min ) { }
T min(T a, T b)
Definition: MathUtil.h:58

Member Function Documentation

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

Definition at line 13 of file MinSelector.h.

References MinSelector< T >::min_.

13 { return t >= min_; }

Member Data Documentation

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

Definition at line 16 of file MinSelector.h.

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