QuantLib: a free/open-source library for quantitative finance
fully annotated source code - version 1.34
|
Term-structure consistent model class. More...
#include <model.hpp>
Public Member Functions | |
TermStructureConsistentModel (Handle< YieldTermStructure > termStructure) | |
const Handle< YieldTermStructure > & | termStructure () const |
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 () |
Private Attributes | |
Handle< YieldTermStructure > | termStructure_ |
Term-structure consistent model class.
This is a base class for models that can reprice exactly any discount bond.
TermStructureConsistentModel | ( | Handle< YieldTermStructure > | termStructure | ) |
const Handle< YieldTermStructure > & termStructure | ( | ) | const |
|
private |