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

instrument callability More...

#include <ql/instruments/callabilityschedule.hpp>

+ Inheritance diagram for Callability:

Public Types

enum  Type { Call, Put }
 type of the callability
 

Public Member Functions

 Callability (const Bond::Price &price, Type type, const Date &date)
 
const Bond::Priceprice () const
 
Type type () const
 
Event interface
Date date () const
 returns the date at which the event occurs
 
- Public Member Functions inherited from Event
virtual 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...
 
- Public Member Functions inherited from Observable
 Observable (const Observable &)
 
Observableoperator= (const Observable &)
 
void notifyObservers ()
 

Public Attributes

QL_DEPRECATED typedef Bond::Price Price
 amount to be paid upon callability More...
 

Visitability

virtual void accept (AcyclicVisitor &)
 

Detailed Description

instrument callability

Member Data Documentation

◆ Price

QL_DEPRECATED typedef Bond::Price Price

amount to be paid upon callability

Deprecated:
Use Bond::Price instead. Deprecated in version 1.17.