SoDaRadio-5.0.3-master:8901fb5
Public Member Functions | Private Attributes | List of all members
SoDa::Range< Tk > Class Template Reference

a template class for mapping ranges to thingies This represents an open interval – thanks to suggestions from http://stackoverflow.com/questions/1089192/c-stl-range-container More...

#include <RangeMap.hxx>

Public Member Functions

 Range (Tk _min, Tk _max)
 
 Range (Tk _c)
 
Tk getMin () const
 
Tk getMax () const
 

Private Attributes

Tk min
 
Tk max
 

Detailed Description

template<typename Tk>
class SoDa::Range< Tk >

a template class for mapping ranges to thingies This represents an open interval – thanks to suggestions from http://stackoverflow.com/questions/1089192/c-stl-range-container

Definition at line 47 of file RangeMap.hxx.

Constructor & Destructor Documentation

◆ Range() [1/2]

template<typename Tk>
SoDa::Range< Tk >::Range ( Tk  _min,
Tk  _max 
)
inline

Definition at line 49 of file RangeMap.hxx.

References SoDa::Range< Tk >::max, and SoDa::Range< Tk >::min.

◆ Range() [2/2]

template<typename Tk>
SoDa::Range< Tk >::Range ( Tk  _c)
inline

Definition at line 54 of file RangeMap.hxx.

References SoDa::Range< Tk >::max, and SoDa::Range< Tk >::min.

Member Function Documentation

◆ getMax()

template<typename Tk>
Tk SoDa::Range< Tk >::getMax ( ) const
inline

Definition at line 60 of file RangeMap.hxx.

References SoDa::Range< Tk >::max.

Referenced by SoDa::leftOfRange< Tk >::operator()().

◆ getMin()

template<typename Tk>
Tk SoDa::Range< Tk >::getMin ( ) const
inline

Definition at line 59 of file RangeMap.hxx.

References SoDa::Range< Tk >::min.

Referenced by SoDa::leftOfRange< Tk >::operator()().

Member Data Documentation

◆ max

template<typename Tk>
Tk SoDa::Range< Tk >::max
private

Definition at line 65 of file RangeMap.hxx.

Referenced by SoDa::Range< Tk >::getMax(), and SoDa::Range< Tk >::Range().

◆ min

template<typename Tk>
Tk SoDa::Range< Tk >::min
private

Definition at line 65 of file RangeMap.hxx.

Referenced by SoDa::Range< Tk >::getMin(), and SoDa::Range< Tk >::Range().


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