libdrmconf
0.12.0
A library to program DMR radios.
|
Simple range class representing some range in some data type. More...
#include <ranges.hh>
Public Member Functions | |
T | map (const T &n) const |
Maps a given value onto the range. | |
bool | contains (const T &n) const |
Checks, if the given value lays within the range. | |
Public Attributes | |
T | lower |
Specifies the lower bound. | |
T | upper |
Specifies the upper bound. | |
Simple range class representing some range in some data type.
Provides some methods to limit values to these ranges.