ViennaSHE 1.3.0
Free open-source semiconductor device simulator using spherical harmonics expansions techniques.
viennashe::util::range_checker< ValueType > Class Template Reference

Checker for values inside a half-open interval [a, b), where 'a' is included, while 'b' is not. More...

#include <checks.hpp>

Public Member Functions

 range_checker (ValueType const &a, ValueType const &b)
 
bool operator() (ValueType const &v) const
 

Detailed Description

template<typename ValueType = double>
class viennashe::util::range_checker< ValueType >

Checker for values inside a half-open interval [a, b), where 'a' is included, while 'b' is not.

Definition at line 56 of file checks.hpp.

Constructor & Destructor Documentation

◆ range_checker()

template<typename ValueType = double>
viennashe::util::range_checker< ValueType >::range_checker ( ValueType const &  a,
ValueType const &  b 
)
inline

Definition at line 59 of file checks.hpp.

Member Function Documentation

◆ operator()()

template<typename ValueType = double>
bool viennashe::util::range_checker< ValueType >::operator() ( ValueType const &  v) const
inline

Definition at line 69 of file checks.hpp.


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