Logo
Fully annotated reference manual - version 1.8.12
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
GenericSwaption::arguments Class Reference

Arguments for swaption calculation More...

#include <qle/instruments/genericswaption.hpp>

+ Inheritance diagram for GenericSwaption::arguments:
+ Collaboration diagram for GenericSwaption::arguments:

Public Member Functions

 arguments ()
 
void validate () const override
 

Public Attributes

ext::shared_ptr< QuantLib::Swap > swap
 
QuantLib::Settlement::Type settlementType
 
QuantLib::Settlement::Method settlementMethod
 

Detailed Description

Arguments for swaption calculation

Definition at line 68 of file genericswaption.hpp.

Constructor & Destructor Documentation

◆ arguments()

arguments ( )

Definition at line 70 of file genericswaption.hpp.

70: settlementType(Settlement::Physical) {}
QuantLib::Settlement::Type settlementType

Member Function Documentation

◆ validate()

void validate ( ) const
override

Definition at line 62 of file genericswaption.cpp.

62 {
63 Swap::arguments::validate();
64 QL_REQUIRE(swap, "underlying swap not set");
65 QL_REQUIRE(exercise, "exercise not set");
66 QuantLib::Settlement::checkTypeAndMethodConsistency(settlementType, settlementMethod);
67}
ext::shared_ptr< QuantLib::Swap > swap
QuantLib::Settlement::Method settlementMethod
+ Here is the call graph for this function:

Member Data Documentation

◆ swap

ext::shared_ptr<QuantLib::Swap> swap

Definition at line 71 of file genericswaption.hpp.

◆ settlementType

QuantLib::Settlement::Type settlementType

Definition at line 72 of file genericswaption.hpp.

◆ settlementMethod

QuantLib::Settlement::Method settlementMethod

Definition at line 73 of file genericswaption.hpp.