CapletVolatilityStructure Class Reference
#include <ql/capvolstructures.hpp>
Inheritance diagram for CapletVolatilityStructure:

Detailed Description
Caplet/floorlet forward-volatility structure.This class is purely abstract and defines the interface of concrete structures which will be derived from this one.
Public Member Functions | |
Constructors | |
See the TermStructure documentation for issues regarding constructors. | |
| CapletVolatilityStructure () | |
| default constructor | |
| CapletVolatilityStructure (const Date &referenceDate) | |
| initialize with a fixed reference date | |
| CapletVolatilityStructure (Integer settlementDays, const Calendar &) | |
| calculate the reference date based on the global evaluation date | |
Volatility | |
| Volatility | volatility (const Date &start, Rate strike, bool extrapolate=false) const |
| returns the volatility for a given start date and strike rate | |
| Volatility | volatility (Time t, Rate strike, bool extrapolate=false) const |
| returns the volatility for a given start time and strike rate | |
Limits | |
| virtual Date | maxDate () const =0 |
| the latest date for which the term structure can return vols | |
| virtual Time | maxTime () const |
| the latest time for which the term structure can return vols | |
| virtual Real | minStrike () const =0 |
| the minimum strike for which the term structure can return vols | |
| virtual Real | maxStrike () const =0 |
| the maximum strike for which the term structure can return vols | |
Protected Member Functions | |
| virtual Volatility | volatilityImpl (Time length, Rate strike) const =0 |
| implements the actual volatility calculation in derived classes | |
Constructor & Destructor Documentation
|
|
default constructor
|
