Adapter class for turning a DatedStrippedOptionletBase object into an OptionletVolatilityStructure. More...
#include <qle/termstructures/datedstrippedoptionletadapter.hpp>
Public Member Functions | |
DatedStrippedOptionletAdapter (const QuantLib::ext::shared_ptr< DatedStrippedOptionletBase > &s, const bool flatExtrapolation) | |
TermStructure interface | |
Date | maxDate () const override |
VolatilityTermStructure interface | |
Rate | minStrike () const override |
Rate | maxStrike () const override |
LazyObject interface | |
void | update () override |
void | performCalculations () const override |
VolatilityType | volatilityType () const override |
Real | displacement () const override |
OptionletVolatilityStructure interface | |
const QuantLib::ext::shared_ptr< DatedStrippedOptionletBase > | optionletStripper_ |
Size | nInterpolations_ |
vector< QuantLib::ext::shared_ptr< Interpolation > > | strikeInterpolations_ |
bool | flatExtrapolation_ |
QuantLib::ext::shared_ptr< SmileSection > | smileSectionImpl (Time optionTime) const override |
Volatility | volatilityImpl (Time length, Rate strike) const override |
Adapter class for turning a DatedStrippedOptionletBase object into an OptionletVolatilityStructure.
Takes a DatedStrippedOptionletBase and converts it into an OptionletVolatilityStructure with a fixed reference date
\ingroup termstructures
Definition at line 40 of file datedstrippedoptionletadapter.hpp.
DatedStrippedOptionletAdapter | ( | const QuantLib::ext::shared_ptr< DatedStrippedOptionletBase > & | s, |
const bool | flatExtrapolation | ||
) |
Definition at line 33 of file datedstrippedoptionletadapter.cpp.
|
override |
Definition at line 111 of file datedstrippedoptionletadapter.cpp.
|
override |
Definition at line 95 of file datedstrippedoptionletadapter.cpp.
|
override |
Definition at line 103 of file datedstrippedoptionletadapter.cpp.
|
override |
Definition at line 76 of file datedstrippedoptionletadapter.hpp.
|
override |
Definition at line 82 of file datedstrippedoptionletadapter.cpp.
|
override |
Definition at line 113 of file datedstrippedoptionletadapter.cpp.
|
override |
Definition at line 115 of file datedstrippedoptionletadapter.cpp.
|
overrideprotected |
Definition at line 41 of file datedstrippedoptionletadapter.cpp.
|
overrideprotected |
Definition at line 66 of file datedstrippedoptionletadapter.cpp.
|
private |
Definition at line 70 of file datedstrippedoptionletadapter.hpp.
|
private |
Definition at line 71 of file datedstrippedoptionletadapter.hpp.
|
mutableprivate |
Definition at line 72 of file datedstrippedoptionletadapter.hpp.
|
private |
Definition at line 73 of file datedstrippedoptionletadapter.hpp.