This template encapsulates a range of values (low, high). More...
#include <DwmValueRange.hh>
Inherits std::pair< T1, T2 >.
Public Member Functions | |
| ValueRange () | |
| Constructor. | |
| ValueRange (const T &low, const T &high) | |
Construct from given low and @ high values. | |
| bool | Contains (const T &value) const |
Returns true if the range contains value. | |
| bool | Contains (const ValueRange< T > &range) const |
Returns true if the range contains the given range. | |
| bool | Overlaps (const ValueRange< T > &range) const |
Returns true if the range overlaps the given range. | |
This template encapsulates a range of values (low, high).