29#include <ql/termstructures/yield/zerospreadedtermstructure.hpp>
31#include <boost/make_shared.hpp>
42 virtual string keyImpl(
const string& ccy)
override {
return ccy; }
50 virtual QuantLib::ext::shared_ptr<PricingEngine>
engineImpl(
const string& ccy)
override {
52 return QuantLib::ext::make_shared<QuantExt::DiscountingBondTRSEngine>(oisCurve);
Abstract template engine builder class.
virtual string keyImpl(const string &ccy) override
BondTRSEngineBuilder(const std::string &model, const std::string &engine)
Abstract template EngineBuilder class that can cache engines and coupon pricers.
DiscountingBondTRSEngineBuilder()
virtual QuantLib::ext::shared_ptr< PricingEngine > engineImpl(const string &ccy) override
QuantLib::ext::shared_ptr< Market > market_
const string & engine() const
Return the engine name.
const string & model() const
Return the model name.
const string & configuration(const MarketContext &key)
Return a configuration (or the default one if key not found)
Classes and functions for log message handling.
Serializable Credit Default Swap.
Structured Trade Error class.
string conversion utilities