QuantLib
A free/open-source library for quantitative finance
Reference manual - version 1.20
Public Member Functions | List of all members
Redemption Class Reference

Bond redemption. More...

#include <ql/cashflows/simplecashflow.hpp>

+ Inheritance diagram for Redemption:

Public Member Functions

 Redemption (Real amount, const Date &date)
 
Visitability
virtual void accept (AcyclicVisitor &)
 
- Public Member Functions inherited from SimpleCashFlow
 SimpleCashFlow (Real amount, const Date &date)
 
Date date () const
 
Real amount () const
 returns the amount of the cash flow More...
 
- Public Member Functions inherited from CashFlow
bool hasOccurred (const Date &refDate=Date(), boost::optional< bool > includeRefDate=boost::none) const
 returns true if an event has already occurred before a date More...
 
virtual Date exCouponDate () const
 returns the date that the cash flow trades exCoupon
 
bool tradingExCoupon (const Date &refDate=Date()) const
 returns true if the cashflow is trading ex-coupon on the refDate
 
Event interface
Visitability
- Public Member Functions inherited from Observable
 Observable (const Observable &)
 
Observableoperator= (const Observable &)
 
void notifyObservers ()
 

Detailed Description

Bond redemption.

This class specializes SimpleCashFlow so that visitors can perform more detailed cash-flow analysis.