Piecewise zero-inflation term structure. More...
#include <qle/termstructures/inflation/piecewisezeroinflationcurve.hpp>
Public Types | |
typedef Traits | traits_type |
typedef Interpolator | interpolator_type |
Public Member Functions | |
Constructors | |
PiecewiseZeroInflationCurve (const QuantLib::Date &referenceDate, const QuantLib::Calendar &calendar, const QuantLib::DayCounter &dayCounter, const QuantLib::Period &lag, QuantLib::Frequency frequency, QuantLib::Rate baseZeroRate, std::vector< QuantLib::ext::shared_ptr< typename Traits::helper > > instruments, QuantLib::Real accuracy=1.0e-12, QuantLib::ext::shared_ptr< QuantLib::ZeroInflationIndex > index=nullptr, bool useLastAvailableFixingAsBaseDate=false, const Interpolator &i=Interpolator()) | |
Inflation interface | |
QuantLib::Date | baseDate () const override |
QuantLib::Date | maxDate () const override |
void | setSeasonality (const QuantLib::ext::shared_ptr< QuantLib::Seasonality > &seasonality=QuantLib::ext::shared_ptr< QuantLib::Seasonality >()) override |
Inspectors | |
const std::vector< QuantLib::Time > & | times () const |
const std::vector< QuantLib::Date > & | dates () const |
const std::vector< QuantLib::Real > & | data () const |
std::vector< std::pair< QuantLib::Date, QuantLib::Real > > | nodes () const |
Observer interface | |
void | update () override |
Private Types | |
typedef QuantLib::InterpolatedZeroInflationCurve< Interpolator > | base_curve |
typedef QuantExt::PiecewiseZeroInflationCurve< Interpolator, Bootstrap, Traits > | this_curve |
Trait::BootstrapFirstDateInitializer interface | |
std::vector< QuantLib::ext::shared_ptr< typename Traits::helper > > | instruments_ |
QuantLib::Real | accuracy_ |
Bootstrap< this_curve > | bootstrap_ |
QuantLib::ext::shared_ptr< QuantLib::ZeroInflationIndex > | index_ |
bool | useLastAvailableFixingAsBaseDate_ |
class | Bootstrap< this_curve > |
class | QuantLib::BootstrapError< this_curve > |
QuantLib::Date | initialDate () const override |
void | performCalculations () const override |
Piecewise zero-inflation term structure.
Definition at line 38 of file piecewisezeroinflationcurve.hpp.
|
private |
Definition at line 42 of file piecewisezeroinflationcurve.hpp.
|
private |
Definition at line 43 of file piecewisezeroinflationcurve.hpp.
typedef Traits traits_type |
Definition at line 46 of file piecewisezeroinflationcurve.hpp.
typedef Interpolator interpolator_type |
Definition at line 47 of file piecewisezeroinflationcurve.hpp.
PiecewiseZeroInflationCurve | ( | const QuantLib::Date & | referenceDate, |
const QuantLib::Calendar & | calendar, | ||
const QuantLib::DayCounter & | dayCounter, | ||
const QuantLib::Period & | lag, | ||
QuantLib::Frequency | frequency, | ||
QuantLib::Rate | baseZeroRate, | ||
std::vector< QuantLib::ext::shared_ptr< typename Traits::helper > > | instruments, | ||
QuantLib::Real | accuracy = 1.0e-12 , |
||
QuantLib::ext::shared_ptr< QuantLib::ZeroInflationIndex > | index = nullptr , |
||
bool | useLastAvailableFixingAsBaseDate = false , |
||
const Interpolator & | i = Interpolator() |
||
) |
Definition at line 51 of file piecewisezeroinflationcurve.hpp.
|
override |
Definition at line 104 of file piecewisezeroinflationcurve.hpp.
|
override |
Definition at line 110 of file piecewisezeroinflationcurve.hpp.
|
override |
Definition at line 156 of file piecewisezeroinflationcurve.hpp.
const std::vector< QuantLib::Time > & times |
Definition at line 116 of file piecewisezeroinflationcurve.hpp.
const std::vector< QuantLib::Date > & dates |
Definition at line 122 of file piecewisezeroinflationcurve.hpp.
const std::vector< QuantLib::Real > & data |
Definition at line 128 of file piecewisezeroinflationcurve.hpp.
std::vector< std::pair< QuantLib::Date, QuantLib::Real > > nodes |
Definition at line 134 of file piecewisezeroinflationcurve.hpp.
|
override |
Definition at line 144 of file piecewisezeroinflationcurve.hpp.
|
override |
Definition at line 150 of file piecewisezeroinflationcurve.hpp.
|
overrideprivate |
Definition at line 140 of file piecewisezeroinflationcurve.hpp.
|
friend |
Definition at line 92 of file piecewisezeroinflationcurve.hpp.
|
friend |
Definition at line 92 of file piecewisezeroinflationcurve.hpp.
|
private |
Definition at line 91 of file piecewisezeroinflationcurve.hpp.
|
private |
Definition at line 92 of file piecewisezeroinflationcurve.hpp.
|
private |
Definition at line 96 of file piecewisezeroinflationcurve.hpp.
|
private |
Definition at line 97 of file piecewisezeroinflationcurve.hpp.
|
private |
Definition at line 98 of file piecewisezeroinflationcurve.hpp.