25#ifndef quantext_floating_rate_fx_linked_notional_coupon_hpp
26#define quantext_floating_rate_fx_linked_notional_coupon_hpp
28#include <ql/cashflows/floatingratecoupon.hpp>
40 const QuantLib::ext::shared_ptr<FloatingRateCoupon>&
underlying)
46 fixingDays_ =
underlying->fixingDays() == Null<Natural>()
55 QuantLib::ext::shared_ptr<FXLinked>
clone(QuantLib::ext::shared_ptr<FxIndex>
fxIndex)
override;
70 LazyObject::alwaysForwardNotifications();
87 void accept(AcyclicVisitor&)
override;
94 const QuantLib::ext::shared_ptr<FloatingRateCoupon>
underlying_;
99 Visitor<FloatingRateFXLinkedNotionalCoupon>* v1 =
dynamic_cast<Visitor<FloatingRateFXLinkedNotionalCoupon>*
>(&v);
103 FloatingRateCoupon::accept(v);
Base class for FX Linked cashflows.
const QuantLib::ext::shared_ptr< FxIndex > & fxIndex() const
Real foreignAmount() const
Date fxFixingDate() const
void performCalculations() const override
QuantLib::ext::shared_ptr< FXLinked > clone(QuantLib::ext::shared_ptr< FxIndex > fxIndex) override
Rate indexFixing() const override
void deepUpdate() override
void accept(AcyclicVisitor &) override
QuantLib::ext::shared_ptr< FloatingRateCoupon > underlying() const
more inspectors
Rate nominal() const override
FloatingRateFXLinkedNotionalCoupon(const Date &fxFixingDate, Real foreignAmount, QuantLib::ext::shared_ptr< FxIndex > fxIndex, const QuantLib::ext::shared_ptr< FloatingRateCoupon > &underlying)
FloatingRateFXLinkedNotionalCoupon.
void setPricer(const ext::shared_ptr< FloatingRateCouponPricer > &p) override
const QuantLib::ext::shared_ptr< FloatingRateCoupon > underlying_
void alwaysForwardNotifications() override