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
Swap::arguments Class Reference

#include <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
 
virtual void validate () const =0
 

Public Attributes

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

Detailed Description

Definition at line 142 of file swap.hpp.

Member Function Documentation

◆ validate()

void validate ( ) const
overridevirtual

Implements PricingEngine::arguments.

Reimplemented in Swaption::arguments, and YearOnYearInflationSwap::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 144 of file swap.hpp.

◆ payer

std::vector<Real> payer

Definition at line 145 of file swap.hpp.