Logo
Reference manual - version qle_version
Public Member Functions | List of all members
TRSCashFlow Class Reference

bond trs cashflow More...

#include <qle/cashflows/trscashflow.hpp>

+ Inheritance diagram for TRSCashFlow:

Public Member Functions

 TRSCashFlow (const Date &paymentDate, const Date &fixingStartDate, const Date &fixingEndDate, const Real notional, const boost::shared_ptr< Index > &Index, const Real initialPrice=Null< Real >(), const boost::shared_ptr< FxIndex > &fxIndex=nullptr)
 
CashFlow interface
Real amount () const override
 
Date date () const override
 
Inspectors
const Date & fixingStartDate () const
 
const Date & fixingEndDate () const
 
virtual const Real notional () const
 
virtual const Real notional (Date date) const
 
const boost::shared_ptr< Index > & index () const
 
const Real initialPrice () const
 
const boost::shared_ptr< FxIndex > & fxIndex () const
 
Real fxStart () const
 
Real fxEnd () const
 
Real assetStart () const
 
Real assetEnd () const
 
Observer interface
void update () override
 

Visitability

Date paymentDate_
 
Date fixingStartDate_
 
Date fixingEndDate_
 
Real notional_
 
boost::shared_ptr< Indexindex_
 
Real initialPrice_ = QuantLib::Null<Real>()
 
boost::shared_ptr< FxIndexfxIndex_
 
virtual void accept (AcyclicVisitor &) override
 

Detailed Description

bond trs cashflow