|
QuantLib: a free/open-source library for quantitative finance
fully annotated source code - version 1.38
|
set of CMS quotes More...
#include <cmsmarket.hpp>
Inheritance diagram for CmsMarket:
Collaboration diagram for CmsMarket:Public Member Functions | |
| CmsMarket (std::vector< Period > swapLengths, std::vector< ext::shared_ptr< SwapIndex > > swapIndexes, ext::shared_ptr< IborIndex > iborIndex, const std::vector< std::vector< Handle< Quote > > > &bidAskSpreads, const std::vector< ext::shared_ptr< CmsCouponPricer > > &pricers, Handle< YieldTermStructure > discountingTS) | |
Public Member Functions inherited from LazyObject | |
| LazyObject () | |
| ~LazyObject () override=default | |
| bool | isCalculated () const |
| void | forwardFirstNotificationOnly () |
| void | alwaysForwardNotifications () |
| void | recalculate () |
| void | freeze () |
| void | unfreeze () |
Public Member Functions inherited from Observable | |
| Observable ()=default | |
| Observable (const Observable &) | |
| Observable & | operator= (const Observable &) |
| Observable (Observable &&)=delete | |
| Observable & | operator= (Observable &&)=delete |
| virtual | ~Observable ()=default |
| void | notifyObservers () |
Public Member Functions inherited from Observer | |
| Observer ()=default | |
| Observer (const Observer &) | |
| Observer & | operator= (const Observer &) |
| virtual | ~Observer () |
| std::pair< iterator, bool > | registerWith (const ext::shared_ptr< Observable > &) |
| void | registerWithObservables (const ext::shared_ptr< Observer > &) |
| Size | unregisterWith (const ext::shared_ptr< Observable > &) |
| void | unregisterWithAll () |
| virtual void | update ()=0 |
| virtual void | deepUpdate () |
Additional Inherited Members | |
Public Types inherited from Observer | |
| typedef set_type::iterator | iterator |
Protected Member Functions inherited from LazyObject | |
| virtual void | calculate () const |
Protected Attributes inherited from LazyObject | |
| bool | calculated_ = false |
| bool | frozen_ = false |
| bool | alwaysForward_ |
set of CMS quotes
Definition at line 42 of file cmsmarket.hpp.
| CmsMarket | ( | std::vector< Period > | swapLengths, |
| std::vector< ext::shared_ptr< SwapIndex > > | swapIndexes, | ||
| ext::shared_ptr< IborIndex > | iborIndex, | ||
| const std::vector< std::vector< Handle< Quote > > > & | bidAskSpreads, | ||
| const std::vector< ext::shared_ptr< CmsCouponPricer > > & | pricers, | ||
| Handle< YieldTermStructure > | discountingTS | ||
| ) |
|
overridevirtual |
This method must be implemented in derived classes. An instance of Observer does not call this method directly: instead, it will be called by the observables the instance registered with when they need to notify any changes.
Reimplemented from LazyObject.
Definition at line 52 of file cmsmarket.hpp.
Here is the call graph for this function:| void reprice | ( | const Handle< SwaptionVolatilityStructure > & | volStructure, |
| Real | meanReversion | ||
| ) |
| const std::vector< Period > & swapTenors | ( | ) | const |
Definition at line 58 of file cmsmarket.hpp.
| const std::vector< Period > & swapLengths | ( | ) | const |
Definition at line 59 of file cmsmarket.hpp.
| const Matrix & impliedCmsSpreads | ( | ) |
Definition at line 60 of file cmsmarket.hpp.
| const Matrix & spreadErrors | ( | ) |
Definition at line 61 of file cmsmarket.hpp.
| Matrix browse | ( | ) | const |
|
overrideprivatevirtual |
This method must implement any calculations which must be (re)done in order to calculate the desired results.
Implements LazyObject.
Definition at line 108 of file cmsmarket.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 77 of file cmsmarket.hpp.
|
private |
Definition at line 78 of file cmsmarket.hpp.
|
private |
Definition at line 79 of file cmsmarket.hpp.
Definition at line 80 of file cmsmarket.hpp.
|
private |
Definition at line 81 of file cmsmarket.hpp.
|
private |
Definition at line 82 of file cmsmarket.hpp.
|
private |
Definition at line 84 of file cmsmarket.hpp.
|
private |
Definition at line 85 of file cmsmarket.hpp.
|
private |
Definition at line 86 of file cmsmarket.hpp.
|
mutableprivate |
Definition at line 87 of file cmsmarket.hpp.
|
private |
Definition at line 87 of file cmsmarket.hpp.
|
mutableprivate |
Definition at line 90 of file cmsmarket.hpp.
|
private |
Definition at line 90 of file cmsmarket.hpp.
|
private |
Definition at line 90 of file cmsmarket.hpp.
|
mutableprivate |
Definition at line 92 of file cmsmarket.hpp.
|
mutableprivate |
Definition at line 94 of file cmsmarket.hpp.
|
mutableprivate |
Definition at line 97 of file cmsmarket.hpp.
|
mutableprivate |
Definition at line 99 of file cmsmarket.hpp.
|
mutableprivate |
Definition at line 101 of file cmsmarket.hpp.
|
mutableprivate |
Definition at line 104 of file cmsmarket.hpp.
|
mutableprivate |
Definition at line 106 of file cmsmarket.hpp.
|
mutableprivate |
Definition at line 108 of file cmsmarket.hpp.
|
private |
Definition at line 110 of file cmsmarket.hpp.
|
private |
Definition at line 111 of file cmsmarket.hpp.