CYCLUS
Loading...
Searching...
No Matches
cyclus::toolkit::SymbFunctionFactory Class Referenceabstract

Detailed Description

An abstract factory for pointers to symbolic functions.

Definition at line 16 of file symbolic_function_factories.h.

#include <symbolic_function_factories.h>

Inheritance diagram for cyclus::toolkit::SymbFunctionFactory:
cyclus::toolkit::ExpFunctionFactory cyclus::toolkit::LinFunctionFactory cyclus::toolkit::PiecewiseFunctionFactory

Public Member Functions

virtual SymFunction::Ptr GetFunctionPtr (std::string params)=0
 
virtual ~SymbFunctionFactory ()
 

Constructor & Destructor Documentation

◆ ~SymbFunctionFactory()

virtual cyclus::toolkit::SymbFunctionFactory::~SymbFunctionFactory ( )
inlinevirtual

Virtual destructor for an abstract base class.

Definition at line 19 of file symbolic_function_factories.h.

Member Function Documentation

◆ GetFunctionPtr()

virtual SymFunction::Ptr cyclus::toolkit::SymbFunctionFactory::GetFunctionPtr ( std::string params)
pure virtual

A virtual function that must be defined by derived classes.

Parameters
paramsa string of required parameters for the function
Returns
a FunctionPtr to the constructed function

Implemented in cyclus::toolkit::LinFunctionFactory, cyclus::toolkit::ExpFunctionFactory, and cyclus::toolkit::PiecewiseFunctionFactory.


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