libDwm-0.9.45
Dwm::ValueRange< T > Class Template Reference

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.
 

Detailed Description

template<typename T>
class Dwm::ValueRange< T >

This template encapsulates a range of values (low, high).


The documentation for this class was generated from the following file: