QuantLib: a free/open-source library for quantitative finance
fully annotated source code - version 1.34
Loading...
Searching...
No Matches
Public Member Functions | Private Attributes | List of all members
TermStructureConsistentModel Class Reference

Term-structure consistent model class. More...

#include <model.hpp>

+ Inheritance diagram for TermStructureConsistentModel:
+ Collaboration diagram for TermStructureConsistentModel:

Public Member Functions

 TermStructureConsistentModel (Handle< YieldTermStructure > termStructure)
 
const Handle< YieldTermStructure > & termStructure () const
 
- Public Member Functions inherited from Observable
 Observable ()
 
 Observable (const Observable &)
 
Observableoperator= (const Observable &)
 
 Observable (Observable &&)=delete
 
Observableoperator= (Observable &&)=delete
 
virtual ~Observable ()=default
 
void notifyObservers ()
 

Private Attributes

Handle< YieldTermStructuretermStructure_
 

Detailed Description

Term-structure consistent model class.

This is a base class for models that can reprice exactly any discount bond.

Definition at line 73 of file model.hpp.

Constructor & Destructor Documentation

◆ TermStructureConsistentModel()

Definition at line 75 of file model.hpp.

Member Function Documentation

◆ termStructure()

const Handle< YieldTermStructure > & termStructure ( ) const

Definition at line 77 of file model.hpp.

+ Here is the caller graph for this function:

Member Data Documentation

◆ termStructure_

Handle<YieldTermStructure> termStructure_
private

Definition at line 81 of file model.hpp.