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

#include <qle/instruments/deposit.hpp>

+ Inheritance diagram for Deposit::arguments:
+ Collaboration diagram for Deposit::arguments:

Public Member Functions

void validate () const override
 

Public Attributes

QuantLib::ext::shared_ptr< IborIndex > index
 
Date maturityDate
 
Leg leg
 

Detailed Description

Definition at line 86 of file deposit.hpp.

Member Function Documentation

◆ validate()

void validate ( ) const
override

Definition at line 73 of file deposit.cpp.

73 {
74 QL_REQUIRE(leg.size() == 3,
75 "deposit arguments: unexpected number of cash flows (" << leg.size() << "), should be 3");
76}

Member Data Documentation

◆ index

QuantLib::ext::shared_ptr<IborIndex> index

Definition at line 88 of file deposit.hpp.

◆ maturityDate

Date maturityDate

Definition at line 89 of file deposit.hpp.

◆ leg

Leg leg

Definition at line 90 of file deposit.hpp.