QuantLib: a free/open-source library for quantitative finance
fully annotated source code - version 1.34
|
purely virtual base class for market observables More...
#include <quote.hpp>
Public Member Functions | |
~Quote () override=default | |
virtual Real | value () const =0 |
returns the current value More... | |
virtual bool | isValid () const =0 |
returns true if the Quote holds a valid value More... | |
Public Member Functions inherited from Observable | |
Observable () | |
Observable (const Observable &) | |
Observable & | operator= (const Observable &) |
Observable (Observable &&)=delete | |
Observable & | operator= (Observable &&)=delete |
virtual | ~Observable ()=default |
void | notifyObservers () |
purely virtual base class for market observables
|
overridedefault |
|
pure virtual |
returns the current value
Implemented in RecoveryRateQuote, DeltaVolQuote, RendistatoEquivalentSwapLengthQuote, RendistatoEquivalentSwapSpreadQuote, CompositeQuote< BinaryFunction >, DerivedQuote< UnaryFunction >, EurodollarFuturesImpliedStdDevQuote, ForwardSwapQuote, ForwardValueQuote, FuturesConvAdjustmentQuote, ImpliedStdDevQuote, LastFixingQuote, and SimpleQuote.
|
pure virtual |
returns true if the Quote holds a valid value
Implemented in RecoveryRateQuote, DeltaVolQuote, RendistatoEquivalentSwapLengthQuote, RendistatoEquivalentSwapSpreadQuote, CompositeQuote< BinaryFunction >, DerivedQuote< UnaryFunction >, EurodollarFuturesImpliedStdDevQuote, ForwardSwapQuote, ForwardValueQuote, FuturesConvAdjustmentQuote, ImpliedStdDevQuote, LastFixingQuote, and SimpleQuote.