|
QuantLib: a free/open-source library for quantitative finance
fully annotated source code - version 1.38
|
Per-session settings for IborCoupon class. More...
#include <iborcoupon.hpp>
Inheritance diagram for IborCoupon::Settings:
Collaboration diagram for IborCoupon::Settings:Public Member Functions | |
| void | createAtParCoupons () |
| When called, IborCoupons are created as indexed coupons instead of par coupons. More... | |
| void | createIndexedCoupons () |
| When called, IborCoupons are created as par coupons instead of indexed coupons. More... | |
| bool | usingAtParCoupons () const |
Public Member Functions inherited from Singleton< IborCoupon::Settings > | |
| Singleton (const Singleton &)=delete | |
| Singleton (Singleton &&)=delete | |
| Singleton & | operator= (const Singleton &)=delete |
| Singleton & | operator= (Singleton &&)=delete |
| ~Singleton ()=default | |
Private Member Functions | |
| Settings ()=default | |
Private Attributes | |
| bool | usingAtParCoupons_ = true |
Friends | |
| class | Singleton< IborCoupon::Settings > |
Additional Inherited Members | |
Static Public Member Functions inherited from Singleton< IborCoupon::Settings > | |
| static IborCoupon::Settings & | instance () |
| access to the unique instance More... | |
Protected Member Functions inherited from Singleton< IborCoupon::Settings > | |
| Singleton ()=default | |
Per-session settings for IborCoupon class.
Definition at line 109 of file iborcoupon.hpp.
|
privatedefault |
| void createAtParCoupons | ( | ) |
When called, IborCoupons are created as indexed coupons instead of par coupons.
Definition at line 142 of file iborcoupon.cpp.
| void createIndexedCoupons | ( | ) |
When called, IborCoupons are created as par coupons instead of indexed coupons.
Definition at line 146 of file iborcoupon.cpp.
| bool usingAtParCoupons | ( | ) | const |
If true the IborCoupons are created as par coupons and vice versa. The default depends on the compiler flag QL_USE_INDEXED_COUPON and can be overwritten by createAtParCoupons() and createIndexedCoupons()
Definition at line 150 of file iborcoupon.cpp.
|
friend |
Definition at line 100 of file iborcoupon.hpp.
|
private |
Definition at line 128 of file iborcoupon.hpp.