![]() |
Project
|
Creator and handler class of nonlinearity parameterizations. More...
#include <NonlinearityHandler.h>
Classes | |
class | FunctionNotFoundExcpetion |
Handling request of non-exisiting nonlinearity functions. More... | |
class | NonlinInitError |
Handling errors of initialisation of a certain nonlinearity function. More... | |
Public Member Functions | |
NonlinearityHandler & | getNonlinearity (NonlinearityHandler::NonlinType_t nonlintype) |
Get nonlinearity handler for the given nonlinearty type. | |
NonlinearityHandler & | getNonlinearity (const std::string_view nonlintype) |
Get nonlinearity handler for the given nonlinearty name. | |
Static Public Member Functions | |
static NonlinearityFactory & | getInstance () |
Get instance of the nonlinearity factory. | |
Creator and handler class of nonlinearity parameterizations.
Factory and manager of nonlinearty handlers. The class acts as singleton class. NonlinearityHandlers can be constructed via the function getNonlinearity either using either the symbolic form or using the name as a string representation. In the second case an exception is thrown in case the request is done for a funciton name which doesn't exist.
Definition at line 186 of file NonlinearityHandler.h.
|
inlinestatic |
Get instance of the nonlinearity factory.
Definition at line 241 of file NonlinearityHandler.h.
NonlinearityHandler & NonlinearityFactory::getNonlinearity | ( | const std::string_view | nonlintype | ) |
Get nonlinearity handler for the given nonlinearty name.
FunctionNotFoundExcpetion | in case the name of the function is unknown |
NonlinInitError | in case the object could not be constructed |
Internally caching existing nonlinearty handlers. Only constructing handler in case the handler is not yet existing.
Definition at line 319 of file NonlinearityHandler.cxx.
NonlinearityHandler & NonlinearityFactory::getNonlinearity | ( | NonlinearityHandler::NonlinType_t | nonlintype | ) |
Get nonlinearity handler for the given nonlinearty type.
NonlinInitError | in case the object could not be constructed |
Internally caching existing nonlinearty handlers. Only constructing handler in case the handler is not yet existing.
Definition at line 306 of file NonlinearityHandler.cxx.