26#include <ql/cashflows/coupon.hpp>
27#include <ql/patterns/lazyobject.hpp>
28#include <ql/time/daycounter.hpp>
29#include <ql/time/schedule.hpp>
40 ScaledCashFlow(Real multiplier, QuantLib::ext::shared_ptr<CashFlow> underlying)
64 void update()
override { notifyObservers(); }
Real amount() const override
QuantLib::ext::shared_ptr< CashFlow > underlying_
Date date() const override
ScaledCashFlow(Real multiplier, QuantLib::ext::shared_ptr< CashFlow > underlying)
const QuantLib::ext::shared_ptr< Coupon > underlyingCoupon() const
Rate rate() const override
const Real multiplier() const
Rate nominal() const override
DayCounter dayCounter() const override
ScaledCoupon(Real multiplier, QuantLib::ext::shared_ptr< Coupon > underlyingCoupon)
Rate amount() const override
QuantLib::ext::shared_ptr< Coupon > underlyingCoupon_
Real accruedAmount(const Date &d) const override