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

Arguments for cap/floor calculation More...

#include <capfloor.hpp>

+ Inheritance diagram for CapFloor::arguments:
+ Collaboration diagram for CapFloor::arguments:

Public Member Functions

 arguments ()
 
void validate () const override
 
- Public Member Functions inherited from PricingEngine::arguments
virtual ~arguments ()=default
 
virtual void validate () const =0
 

Public Attributes

CapFloor::Type type
 
std::vector< DatestartDates
 
std::vector< DatefixingDates
 
std::vector< DateendDates
 
std::vector< TimeaccrualTimes
 
std::vector< RatecapRates
 
std::vector< RatefloorRates
 
std::vector< Rateforwards
 
std::vector< Realgearings
 
std::vector< Realspreads
 
std::vector< Realnominals
 
std::vector< ext::shared_ptr< InterestRateIndex > > indexes
 

Detailed Description

Arguments for cap/floor calculation

Definition at line 138 of file capfloor.hpp.

Constructor & Destructor Documentation

◆ arguments()

arguments ( )

Definition at line 140 of file capfloor.hpp.

Member Function Documentation

◆ validate()

void validate ( ) const
overridevirtual

Implements PricingEngine::arguments.

Definition at line 278 of file capfloor.cpp.

Member Data Documentation

◆ type

Definition at line 141 of file capfloor.hpp.

◆ startDates

std::vector<Date> startDates

Definition at line 142 of file capfloor.hpp.

◆ fixingDates

std::vector<Date> fixingDates

Definition at line 143 of file capfloor.hpp.

◆ endDates

std::vector<Date> endDates

Definition at line 144 of file capfloor.hpp.

◆ accrualTimes

std::vector<Time> accrualTimes

Definition at line 145 of file capfloor.hpp.

◆ capRates

std::vector<Rate> capRates

Definition at line 146 of file capfloor.hpp.

◆ floorRates

std::vector<Rate> floorRates

Definition at line 147 of file capfloor.hpp.

◆ forwards

std::vector<Rate> forwards

Definition at line 148 of file capfloor.hpp.

◆ gearings

std::vector<Real> gearings

Definition at line 149 of file capfloor.hpp.

◆ spreads

std::vector<Real> spreads

Definition at line 150 of file capfloor.hpp.

◆ nominals

std::vector<Real> nominals

Definition at line 151 of file capfloor.hpp.

◆ indexes

std::vector<ext::shared_ptr<InterestRateIndex> > indexes

Definition at line 152 of file capfloor.hpp.