ViennaSHE 1.3.0
Free open-source semiconductor device simulator using spherical harmonics expansions techniques.
viennashe::util::checker_with_exception< BasicChecker, ExceptionType > Class Template Reference

A checker class that throws a user-provided exception rather than returning false on its functor interface. More...

#include <checks.hpp>

Public Member Functions

 checker_with_exception (BasicChecker const &c, ExceptionType const &e)
 
template<typename T >
bool operator() (T const &t) const
 

Detailed Description

template<typename BasicChecker, typename ExceptionType>
class viennashe::util::checker_with_exception< BasicChecker, ExceptionType >

A checker class that throws a user-provided exception rather than returning false on its functor interface.

Definition at line 138 of file checks.hpp.

Constructor & Destructor Documentation

◆ checker_with_exception()

template<typename BasicChecker , typename ExceptionType >
viennashe::util::checker_with_exception< BasicChecker, ExceptionType >::checker_with_exception ( BasicChecker const &  c,
ExceptionType const &  e 
)
inline

Definition at line 141 of file checks.hpp.

Member Function Documentation

◆ operator()()

template<typename BasicChecker , typename ExceptionType >
template<typename T >
bool viennashe::util::checker_with_exception< BasicChecker, ExceptionType >::operator() ( T const &  t) const
inline

Definition at line 145 of file checks.hpp.


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