Wrapper that changes the interpolation of an underlying ZC inflation index. More...
#include <qle/indexes/inflationindexwrapper.hpp>
Public Member Functions | |
ZeroInflationIndexWrapper (const QuantLib::ext::shared_ptr< ZeroInflationIndex > source) | |
QL_DEPRECATED | ZeroInflationIndexWrapper (const QuantLib::ext::shared_ptr< ZeroInflationIndex > source, const CPI::InterpolationType interpolation) |
Rate | fixing (const Date &fixingDate, bool forecastTodaysFixing=false) const override |
Private Member Functions | |
Rate | forecastFixing (const Date &fixingDate) const |
Private Attributes | |
const QuantLib::ext::shared_ptr< ZeroInflationIndex > | source_ |
QL_DEPRECATED const CPI::InterpolationType | interpolation_ |
Wrapper that changes the interpolation of an underlying ZC inflation index.
The (possible) change in the interpolation is not reflected in the index class itself, only the fixing methods behave consistently
Definition at line 39 of file inflationindexwrapper.hpp.
QL_DEPRECATED_DISABLE_WARNING ZeroInflationIndexWrapper | ( | const QuantLib::ext::shared_ptr< ZeroInflationIndex > | source | ) |
Definition at line 26 of file inflationindexwrapper.cpp.
ZeroInflationIndexWrapper | ( | const QuantLib::ext::shared_ptr< ZeroInflationIndex > | source, |
const CPI::InterpolationType | interpolation | ||
) |
Definition at line 31 of file inflationindexwrapper.cpp.
|
override |
Definition at line 39 of file inflationindexwrapper.cpp.
|
private |
|
private |
Definition at line 51 of file inflationindexwrapper.hpp.
|
private |
Definition at line 52 of file inflationindexwrapper.hpp.