|
||||
File indexing completed on 2024-04-06 12:01:18
0001 #ifndef CommonTools_Utils_MaxNumberSelector_h 0002 #define CommonTools_Utils_MaxNumberSelector_h 0003 /* \class SizeMaxSelector 0004 * 0005 * \author Luca Lista, INFN 0006 * 0007 * $Id: MaxNumberSelector.h,v 1.1 2007/11/30 13:33:43 llista Exp $ 0008 */ 0009 0010 struct MaxNumberSelector { 0011 MaxNumberSelector(unsigned int maxNumber) : maxNumber_(maxNumber) {} 0012 bool operator()(unsigned int number) const { return number <= maxNumber_; } 0013 0014 private: 0015 unsigned int maxNumber_; 0016 }; 0017 0018 #endif
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.2.1 LXR engine. The LXR team |