QuantLib
A free/open-source library for quantitative finance
Fully annotated sources - version 1.22
Public Member Functions | Public Attributes | List of all members
VanillaSwap::arguments Class Reference

Arguments for simple swap calculation More...

#include <ql/instruments/vanillaswap.hpp>

+ Inheritance diagram for VanillaSwap::arguments:
+ Collaboration diagram for VanillaSwap::arguments:

Public Member Functions

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

Public Attributes

Type type = Receiver
 
Real nominal
 
std::vector< DatefixedResetDates
 
std::vector< DatefixedPayDates
 
std::vector< TimefloatingAccrualTimes
 
std::vector< DatefloatingResetDates
 
std::vector< DatefloatingFixingDates
 
std::vector< DatefloatingPayDates
 
std::vector< RealfixedCoupons
 
std::vector< SpreadfloatingSpreads
 
std::vector< RealfloatingCoupons
 
- Public Attributes inherited from Swap::arguments
std::vector< Leglegs
 
std::vector< Realpayer
 

Detailed Description

Arguments for simple swap calculation

Definition at line 134 of file vanillaswap.hpp.

Constructor & Destructor Documentation

◆ arguments()

arguments ( )

Definition at line 136 of file vanillaswap.hpp.

Member Function Documentation

◆ validate()

void validate ( ) const
overridevirtual

Reimplemented from Swap::arguments.

Definition at line 205 of file vanillaswap.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Member Data Documentation

◆ type

Type type = Receiver

Definition at line 137 of file vanillaswap.hpp.

◆ nominal

Real nominal

Definition at line 138 of file vanillaswap.hpp.

◆ fixedResetDates

std::vector<Date> fixedResetDates

Definition at line 140 of file vanillaswap.hpp.

◆ fixedPayDates

std::vector<Date> fixedPayDates

Definition at line 141 of file vanillaswap.hpp.

◆ floatingAccrualTimes

std::vector<Time> floatingAccrualTimes

Definition at line 142 of file vanillaswap.hpp.

◆ floatingResetDates

std::vector<Date> floatingResetDates

Definition at line 143 of file vanillaswap.hpp.

◆ floatingFixingDates

std::vector<Date> floatingFixingDates

Definition at line 144 of file vanillaswap.hpp.

◆ floatingPayDates

std::vector<Date> floatingPayDates

Definition at line 145 of file vanillaswap.hpp.

◆ fixedCoupons

std::vector<Real> fixedCoupons

Definition at line 147 of file vanillaswap.hpp.

◆ floatingSpreads

std::vector<Spread> floatingSpreads

Definition at line 148 of file vanillaswap.hpp.

◆ floatingCoupons

std::vector<Real> floatingCoupons

Definition at line 149 of file vanillaswap.hpp.