Helper class so that the spot price can be pulled from the price curve each time the spot price is requested. More...
#include <qle/termstructures/pricetermstructure.hpp>
Public Member Functions | |
DerivedPriceQuote (const QuantLib::Handle< PriceTermStructure > &priceTs) | |
Quote interface | |
QuantLib::Real | value () const override |
bool | isValid () const override |
Observer interface | |
QuantLib::Handle< PriceTermStructure > | priceTs_ |
void | update () override |
Helper class so that the spot price can be pulled from the price curve each time the spot price is requested.
Definition at line 86 of file pricetermstructure.hpp.
DerivedPriceQuote | ( | const QuantLib::Handle< PriceTermStructure > & | priceTs | ) |
Definition at line 57 of file pricetermstructure.cpp.
|
override |
Definition at line 61 of file pricetermstructure.cpp.
|
override |
|
override |
Definition at line 68 of file pricetermstructure.cpp.
|
private |
Definition at line 103 of file pricetermstructure.hpp.