QuantLib: a free/open-source library for quantitative finance
fully annotated source code - version 1.34
|
Per-session settings for IborCoupon class. More...
#include <iborcoupon.hpp>
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 108 of file iborcoupon.hpp.
|
privatedefault |
void createAtParCoupons | ( | ) |
When called, IborCoupons are created as indexed coupons instead of par coupons.
Definition at line 145 of file iborcoupon.cpp.
void createIndexedCoupons | ( | ) |
When called, IborCoupons are created as par coupons instead of indexed coupons.
Definition at line 149 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 153 of file iborcoupon.cpp.
|
friend |
Definition at line 99 of file iborcoupon.hpp.
|
private |
Definition at line 127 of file iborcoupon.hpp.