CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Private Attributes
MaxNumberSelector Struct Reference

#include <MaxNumberSelector.h>

Public Member Functions

 MaxNumberSelector (unsigned int maxNumber)
 
bool operator() (unsigned int number) const
 

Private Attributes

unsigned int maxNumber_
 

Detailed Description

Definition at line 10 of file MaxNumberSelector.h.

Constructor & Destructor Documentation

MaxNumberSelector::MaxNumberSelector ( unsigned int  maxNumber)
inline

Definition at line 11 of file MaxNumberSelector.h.

unsigned int maxNumber_

Member Function Documentation

bool MaxNumberSelector::operator() ( unsigned int  number) const
inline

Definition at line 12 of file MaxNumberSelector.h.

References maxNumber_.

12 { return number <= maxNumber_; }
unsigned int maxNumber_

Member Data Documentation

unsigned int MaxNumberSelector::maxNumber_
private

Definition at line 15 of file MaxNumberSelector.h.

Referenced by operator()().