libdrmconf  0.11.3
A library to program DMR radios.
Public Member Functions | Public Attributes | List of all members
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.
 
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: