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

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
 
Singletonoperator= (const Singleton &)=delete
 
Singletonoperator= (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::Settingsinstance ()
 access to the unique instance More...
 
- Protected Member Functions inherited from Singleton< IborCoupon::Settings >
 Singleton ()=default
 

Detailed Description

Per-session settings for IborCoupon class.

Definition at line 108 of file iborcoupon.hpp.

Constructor & Destructor Documentation

◆ Settings()

Settings ( )
privatedefault

Member Function Documentation

◆ createAtParCoupons()

void createAtParCoupons ( )

When called, IborCoupons are created as indexed coupons instead of par coupons.

Definition at line 145 of file iborcoupon.cpp.

◆ createIndexedCoupons()

void createIndexedCoupons ( )

When called, IborCoupons are created as par coupons instead of indexed coupons.

Definition at line 149 of file iborcoupon.cpp.

◆ usingAtParCoupons()

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.

Friends And Related Function Documentation

◆ Singleton< IborCoupon::Settings >

friend class Singleton< IborCoupon::Settings >
friend

Definition at line 99 of file iborcoupon.hpp.

Member Data Documentation

◆ usingAtParCoupons_

bool usingAtParCoupons_ = true
private

Definition at line 127 of file iborcoupon.hpp.