|
libdrmconf 0.13.3
A library to program DMR radios.
|
Holds a range of values [min, max]. More...
#include <codeplug.hh>
Public Member Functions | |
| T | limit (const T &value) const |
| Limits the value to the range. | |
| bool | in (const T &value) const |
| Checks if value is in range. | |
| T | mapTo (const Range< T > &other, const T &value) const |
| Maps a value from this range to the given range. | |
Public Attributes | |
| const T | min |
| Lower bound. | |
| const T | max |
| Upper bound. | |
Holds a range of values [min, max].