CEPS
24.01
Cardiac ElectroPhysiology Simulator
|
base Function type for ceps. It's an abstract class which contains only a variadic operator parenthesis. Specialized to signature _Res(_Args...)
_Res | the return type |
_Args | variadic arguments |
Definition at line 89 of file CepsFunction.hpp.
#include <CepsFunction.hpp>
Public Types | |
using | ReturnType = _Res |
Return type definition. More... | |
using | SignatureType = _Res(_Args...) |
signature type More... | |
Public Member Functions | |
Function ()=default | |
Construct a new Function object. More... | |
Function (const Function &)=default | |
Copy constructor. More... | |
Function (Function &&) noexcept=default | |
Copy constructor. More... | |
Function & | operator= (const Function &)=default |
Assignment operator. More... | |
Function & | operator= (Function &&) noexcept=default |
Assignment operator. More... | |
virtual | ~Function ()=default |
Destroy the Function object. More... | |
virtual _Res | eval (_Args... args)=0 |
Evaluation method, must be overloaded, is called by operator() More... | |
virtual _Res | operator() (_Args... args) final |
Base operator for call. Cannot be overloaded, use eval instead. We do this as the It is used to select the correct evaluation of the derived classes, as C++ seems to not do the right thing. More... | |
using ceps::Function< _Res(_Args...)>::ReturnType = _Res |
Return type definition.
Definition at line 93 of file CepsFunction.hpp.
using ceps::Function< _Res(_Args...)>::SignatureType = _Res(_Args...) |
signature type
Definition at line 96 of file CepsFunction.hpp.
|
default |
Construct a new Function object.
|
default |
Copy constructor.
|
defaultnoexcept |
Copy constructor.
|
virtualdefault |
Destroy the Function object.
|
pure virtual |
Evaluation method, must be overloaded, is called by operator()
Implemented in ceps::ConstantFunction< _Res(_Args...)>, ceps::PiecewiseFunction< _N, _Object, _Res(_Args...)>, ceps::MemberFunction< _Class *, _Res(_Class::*)(_Args...)>, and ceps::MemberFunction< _Class, _Res(_Class::*)(_Args...)>.
|
inlinefinalvirtual |
Base operator for call. Cannot be overloaded, use eval instead. We do this as the It is used to select the correct evaluation of the derived classes, as C++ seems to not do the right thing.
Definition at line 129 of file CepsFunction.hpp.
|
default |
Assignment operator.
|
defaultnoexcept |
Assignment operator.