25#ifndef quantlib_generic_model_engine_hpp
26#define quantlib_generic_model_engine_hpp
28#include <ql/handle.hpp>
29#include <ql/pricingengine.hpp>
38 template<
class ModelType,
class ArgumentsType,
class ResultsType>
template base class for option pricing engines
Base class for some pricing engine on a particular model.
GenericModelEngine(const ext::shared_ptr< ModelType > &model)
Handle< ModelType > model_
GenericModelEngine(Handle< ModelType > model=Handle< ModelType >())
Shared handle to an observable.
std::pair< iterator, bool > registerWith(const ext::shared_ptr< Observable > &)