#include <qle/termstructures/credit/basecorrelationstructure.hpp>
Inheritance diagram for BaseCorrelationTermStructure:
Collaboration diagram for BaseCorrelationTermStructure:Public Member Functions | |
| BaseCorrelationTermStructure () | |
| BaseCorrelationTermStructure (const Date &referenceDate, const Calendar &cal, BusinessDayConvention bdc, const std::vector< Period > &tenors, const std::vector< double > &detachmentPoints, const DayCounter &dc=DayCounter(), const Date &startDate=Date(), boost::optional< DateGeneration::Rule > rule=boost::none) | |
| BaseCorrelationTermStructure (Natural settlementDays, const Calendar &cal, BusinessDayConvention bdc, const std::vector< Period > &tenors, const std::vector< double > &detachmentPoints, const DayCounter &dc=DayCounter(), const Date &startDate=Date(), boost::optional< DateGeneration::Rule > rule=boost::none) | |
| virtual | ~BaseCorrelationTermStructure ()=default |
| virtual Date | maxDate () const override |
| virtual Time | maxTime () const override |
| virtual Time | minTime () const override |
| The minimum time for which the curve can return values. More... | |
| virtual double | minDetachmentPoint () const |
| virtual double | maxDetachmentPoint () const |
| std::vector< double > | times () const |
| std::vector< double > | detachmentPoints () const |
| std::vector< Date > | dates () const |
| BusinessDayConvention | businessDayConvention () const |
| Date | startDate () const |
| boost::optional< DateGeneration::Rule > | rule () const |
Public Member Functions inherited from CorrelationTermStructure | |
| CorrelationTermStructure (const DayCounter &dc=DayCounter()) | |
| CorrelationTermStructure (const Date &referenceDate, const Calendar &cal=Calendar(), const DayCounter &dc=DayCounter()) | |
| CorrelationTermStructure (Natural settlementDays, const Calendar &cal, const DayCounter &dc=DayCounter()) | |
| Real | correlation (Time t, Real strike=Null< Real >(), bool extrapolate=false) const |
| Real | correlation (const Date &d, Real strike=Null< Real >(), bool extrapolate=false) const |
Protected Member Functions | |
| virtual void | checkRange (Time t, Real strike, bool extrapolate) const override |
| Extra time range check for minimum time, then calls TermStructure::checkRange. More... | |
Protected Member Functions inherited from CorrelationTermStructure | |
| virtual Real | correlationImpl (Time t, Real strike) const =0 |
| Correlation calculation. More... | |
Protected Attributes | |
| std::vector< Period > | tenors_ |
| std::vector< double > | detachmentPoints_ |
| std::vector< Date > | dates_ |
| std::vector< double > | times_ |
Private Member Functions | |
| void | validate () const |
| void | initializeDatesAndTimes () const |
Private Attributes | |
| BusinessDayConvention | bdc_ |
| Date | startDate_ |
| boost::optional< DateGeneration::Rule > | rule_ |
Definition at line 37 of file basecorrelationstructure.hpp.
Definition at line 23 of file basecorrelationstructure.cpp.
| BaseCorrelationTermStructure | ( | const Date & | referenceDate, |
| const Calendar & | cal, | ||
| BusinessDayConvention | bdc, | ||
| const std::vector< Period > & | tenors, | ||
| const std::vector< double > & | detachmentPoints, | ||
| const DayCounter & | dc = DayCounter(), |
||
| const Date & | startDate = Date(), |
||
| boost::optional< DateGeneration::Rule > | rule = boost::none |
||
| ) |
| BaseCorrelationTermStructure | ( | Natural | settlementDays, |
| const Calendar & | cal, | ||
| BusinessDayConvention | bdc, | ||
| const std::vector< Period > & | tenors, | ||
| const std::vector< double > & | detachmentPoints, | ||
| const DayCounter & | dc = DayCounter(), |
||
| const Date & | startDate = Date(), |
||
| boost::optional< DateGeneration::Rule > | rule = boost::none |
||
| ) |
Definition at line 37 of file basecorrelationstructure.cpp.
Here is the call graph for this function:
|
virtualdefault |
|
overridevirtual |
Reimplemented in SpreadedBaseCorrelationCurve.
Definition at line 54 of file basecorrelationstructure.hpp.
|
overridevirtual |
Reimplemented in SpreadedBaseCorrelationCurve.
Definition at line 56 of file basecorrelationstructure.hpp.
Here is the caller graph for this function:
|
overridevirtual |
The minimum time for which the curve can return values.
Reimplemented from CorrelationTermStructure.
Reimplemented in SpreadedBaseCorrelationCurve.
Definition at line 57 of file basecorrelationstructure.hpp.
Here is the caller graph for this function:
|
virtual |
Reimplemented in SpreadedBaseCorrelationCurve.
Definition at line 59 of file basecorrelationstructure.hpp.
Here is the caller graph for this function:
|
virtual |
Reimplemented in SpreadedBaseCorrelationCurve.
Definition at line 60 of file basecorrelationstructure.hpp.
Here is the caller graph for this function:| std::vector< double > times | ( | ) | const |
Definition at line 62 of file basecorrelationstructure.hpp.
| std::vector< double > detachmentPoints | ( | ) | const |
Definition at line 64 of file basecorrelationstructure.hpp.
| std::vector< Date > dates | ( | ) | const |
Definition at line 66 of file basecorrelationstructure.hpp.
| BusinessDayConvention businessDayConvention | ( | ) | const |
Definition at line 68 of file basecorrelationstructure.hpp.
| Date startDate | ( | ) | const |
Definition at line 70 of file basecorrelationstructure.hpp.
| boost::optional< DateGeneration::Rule > rule | ( | ) | const |
Definition at line 72 of file basecorrelationstructure.hpp.
|
private |
Definition at line 48 of file basecorrelationstructure.cpp.
Here is the caller graph for this function:
|
private |
Definition at line 64 of file basecorrelationstructure.cpp.
Here is the caller graph for this function:
|
overrideprotectedvirtual |
Extra time range check for minimum time, then calls TermStructure::checkRange.
Reimplemented from CorrelationTermStructure.
Definition at line 88 of file basecorrelationstructure.cpp.
Here is the call graph for this function:
|
private |
Definition at line 75 of file basecorrelationstructure.hpp.
|
private |
Definition at line 76 of file basecorrelationstructure.hpp.
|
private |
Definition at line 77 of file basecorrelationstructure.hpp.
|
protected |
Definition at line 86 of file basecorrelationstructure.hpp.
|
protected |
Definition at line 87 of file basecorrelationstructure.hpp.
|
mutableprotected |
Definition at line 88 of file basecorrelationstructure.hpp.
|
mutableprotected |
Definition at line 89 of file basecorrelationstructure.hpp.