26#ifndef quantlib_pricing_engine_hpp
27#define quantlib_pricing_engine_hpp
62 template<
class ArgumentsType,
class ResultsType>
template base class for option pricing engines
PricingEngine::arguments * getArguments() const override
const PricingEngine::results * getResults() const override
Object that notifies its changes to a set of observers.
Object that gets notified when a given observable changes.
virtual ~arguments()=default
virtual void validate() const =0
virtual ~results()=default
interface for pricing engines
virtual void calculate() const =0
virtual const results * getResults() const =0
virtual arguments * getArguments() const =0
~PricingEngine() override=default
observer/observable pattern