Logo
Fully annotated reference manual - version 1.8.12
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
CrossCcySwap::arguments Class Reference

#include <qle/instruments/crossccyswap.hpp>

+ Inheritance diagram for CrossCcySwap::arguments:
+ Collaboration diagram for CrossCcySwap::arguments:

Public Member Functions

void validate () const override
 

Public Attributes

std::vector< Currency > currencies
 

Detailed Description

Definition at line 101 of file crossccyswap.hpp.

Member Function Documentation

◆ validate()

void validate ( ) const
override

Definition at line 94 of file crossccyswap.cpp.

94 {
95 Swap::arguments::validate();
96 QL_REQUIRE(legs.size() == currencies.size(), "Number of legs is not equal to number of currencies");
97}
std::vector< Currency > currencies
+ Here is the caller graph for this function:

Member Data Documentation

◆ currencies

std::vector<Currency> currencies

Definition at line 103 of file crossccyswap.hpp.