QuantLib: a free/open-source library for quantitative finance
fully annotated source code - version 1.34
|
#include <swaptioncfs.hpp>
Public Member Functions | |
SwapCashFlows (const ext::shared_ptr< FixedVsFloatingSwap > &swap, const Handle< YieldTermStructure > &discountCurve, bool contTenorSpread=true) | |
SwapCashFlows ()=default | |
const Leg & | fixedLeg () const |
const std::vector< Real > & | fixedTimes () const |
const std::vector< Real > & | fixedWeights () const |
const std::vector< Real > & | annuityWeights () const |
Public Member Functions inherited from IborLegCashFlows | |
const Leg & | floatLeg () const |
const std::vector< Real > & | floatTimes () const |
const std::vector< Real > & | floatWeights () const |
IborLegCashFlows (const Leg &iborLeg, const Handle< YieldTermStructure > &discountCurve, bool contTenorSpread=true) | |
IborLegCashFlows ()=default | |
Protected Attributes | |
Leg | fixedLeg_ |
std::vector< Real > | fixedTimes_ |
std::vector< Real > | fixedWeights_ |
std::vector< Real > | annuityWeights_ |
Protected Attributes inherited from IborLegCashFlows | |
Date | refDate_ |
Leg | floatLeg_ |
std::vector< Real > | floatTimes_ |
std::vector< Real > | floatWeights_ |
Definition at line 53 of file swaptioncfs.hpp.
SwapCashFlows | ( | const ext::shared_ptr< FixedVsFloatingSwap > & | swap, |
const Handle< YieldTermStructure > & | discountCurve, | ||
bool | contTenorSpread = true |
||
) |
|
default |
const Leg & fixedLeg | ( | ) | const |
const std::vector< Real > & fixedTimes | ( | ) | const |
const std::vector< Real > & fixedWeights | ( | ) | const |
Definition at line 70 of file swaptioncfs.hpp.
const std::vector< Real > & annuityWeights | ( | ) | const |
|
protected |
Definition at line 56 of file swaptioncfs.hpp.
|
protected |
Definition at line 57 of file swaptioncfs.hpp.
|
protected |
Definition at line 58 of file swaptioncfs.hpp.
|
protected |
Definition at line 59 of file swaptioncfs.hpp.