SwaptionVolatilityStructure Class Reference

#include <ql/swaptionvolstructure.hpp>

Inheritance diagram for SwaptionVolatilityStructure:

Inheritance graph
[legend]
List of all members.

Detailed Description

Swaption-volatility structure

This class is purely abstract and defines the interface of concrete swaption volatility structures which will be derived from this one.


Public Member Functions

virtual Date todaysDate () const =0
 returns today's date

virtual DayCounter dayCounter () const =0
 returns the day counter used for internal date/time conversions

Volatility volatility (const Date &start, const Period &length, Rate strike) const
 returns the volatility for a given starting date and length

Volatility volatility (Time start, Time length, Rate strike) const
 returns the volatility for a given starting time and length


Protected Member Functions

virtual Volatility volatilityImpl (Time start, Time length, Rate strike) const =0
 implements the actual volatility calculation in derived classes

virtual std::pair< Time, TimeconvertDates (const Date &start, const Period &length) const
 implements the conversion between dates and times


QuantLib.org
QuantLib
Hosted by
SourceForge.net Logo
Documentation generated by
doxygen