#include <MaxNumberSelector.h>
Public Member Functions | |
MaxNumberSelector (unsigned int maxNumber) | |
bool | operator() (unsigned int number) const |
Private Attributes | |
unsigned int | maxNumber_ |
Definition at line 10 of file MaxNumberSelector.h.
MaxNumberSelector::MaxNumberSelector | ( | unsigned int | maxNumber | ) | [inline] |
Definition at line 11 of file MaxNumberSelector.h.
: maxNumber_(maxNumber) { }
bool MaxNumberSelector::operator() | ( | unsigned int | number | ) | const [inline] |
Definition at line 13 of file MaxNumberSelector.h.
References maxNumber_.
{ return number <= maxNumber_; }
unsigned int MaxNumberSelector::maxNumber_ [private] |
Definition at line 16 of file MaxNumberSelector.h.
Referenced by operator()().