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

Arguments for swap calculation More...

#include <cpiswap.hpp>

+ Inheritance diagram for CPISwap::arguments:
+ Collaboration diagram for CPISwap::arguments:

Public Member Functions

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

Public Attributes

Type type = Receiver
 
Real nominal
 
- Public Attributes inherited from Swap::arguments
std::vector< Leglegs
 
std::vector< Realpayer
 

Detailed Description

Arguments for swap calculation

Definition at line 167 of file cpiswap.hpp.

Constructor & Destructor Documentation

◆ arguments()

arguments ( )

Definition at line 169 of file cpiswap.hpp.

Member Function Documentation

◆ validate()

void validate ( ) const
overridevirtual

Implements PricingEngine::arguments.

Definition at line 208 of file cpiswap.cpp.

+ Here is the call graph for this function:

Member Data Documentation

◆ type

Type type = Receiver

Definition at line 170 of file cpiswap.hpp.

◆ nominal

Real nominal

Definition at line 171 of file cpiswap.hpp.