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

#include <ql/instruments/swap.hpp>

+ Inheritance diagram for Swap::arguments:
+ Collaboration diagram for Swap::arguments:

Public Member Functions

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

Public Attributes

std::vector< Leglegs
 
std::vector< Realpayer
 

Detailed Description

Definition at line 131 of file swap.hpp.

Member Function Documentation

◆ validate()

void validate ( ) const
overridevirtual

Implements PricingEngine::arguments.

Reimplemented in ZeroCouponInflationSwap::arguments, YearOnYearInflationSwap::arguments, VanillaSwap::arguments, and Swaption::arguments.

Definition at line 171 of file swap.cpp.

+ Here is the caller graph for this function:

Member Data Documentation

◆ legs

std::vector<Leg> legs

Definition at line 133 of file swap.hpp.

◆ payer

std::vector<Real> payer

Definition at line 134 of file swap.hpp.