Describe that event is above a certain limit
| 151 | }; |
| 152 | /// Describe that event is above a certain limit |
| 153 | class Above { |
| 154 | public: |
| 155 | int limit; ///< limit |
| 156 | /// Initialize |
| 157 | Above(int l) : limit(l) {} |
| 158 | /// %Test whether \a val is above limit |
| 159 | bool operator()(int val) { |
| 160 | return val >= limit; |
| 161 | } |
| 162 | }; |
| 163 | |
| 164 | /// Check whether event \a e is valid |
| 165 | template<class C> |