libdrmconf 0.12.1
A library to program DMR radios.
Loading...
Searching...
No Matches
Range< T > Class Template Reference

Simple range class representing some range in some data type. More...

#include <ranges.hh>

Public Member Functions

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

lower
 Specifies the lower bound.
upper
 Specifies the upper bound.

Detailed Description

template<class T>
class Range< T >

Simple range class representing some range in some data type.

Provides some methods to limit values to these ranges.


The documentation for this class was generated from the following file:
  • /builddir/build/BUILD/qdmr-0.12.1-build/qdmr-0.12.1/lib/ranges.hh