Ibor Fallback yield curve segment. More...
#include <ored/configuration/yieldcurveconfig.hpp>
Public Member Functions | |
Constructors/Destructors | |
IborFallbackCurveSegment () | |
Default constructor. More... | |
IborFallbackCurveSegment (const string &typeID, const string &iborIndex, const string &rfrCurve, const boost::optional< string > &rfrIndex, const boost::optional< Real > &spread) | |
Detailed constructor. More... | |
Serialisation | |
virtual void | fromXML (XMLNode *node) override |
virtual XMLNode * | toXML (XMLDocument &doc) const override |
Inspectors | |
const string & | iborIndex () const |
const string & | rfrCurve () const |
const boost::optional< string > & | rfrIndex () const |
const boost::optional< Real > & | spread () const |
Public Member Functions inherited from YieldCurveSegment | |
virtual | ~YieldCurveSegment () |
Default destructor. More... | |
Type | type () const |
const string & | typeID () const |
const string & | conventionsID () const |
const QuantLib::Pillar::Choice | pillarChoice () const |
Size | priority () const |
Size | minDistance () const |
const vector< pair< string, bool > > & | quotes () const |
Public Member Functions inherited from XMLSerializable | |
virtual | ~XMLSerializable () |
virtual void | fromXML (XMLNode *node)=0 |
virtual XMLNode * | toXML (XMLDocument &doc) const =0 |
void | fromFile (const std::string &filename) |
void | toFile (const std::string &filename) const |
void | fromXMLString (const std::string &xml) |
Parse from XML string. More... | |
std::string | toXMLString () const |
Parse from XML string. More... | |
Visitability | |
string | iborIndex_ |
string | rfrCurve_ |
boost::optional< string > | rfrIndex_ |
boost::optional< Real > | spread_ |
virtual void | accept (AcyclicVisitor &) override |
Additional Inherited Members | |
Public Types inherited from YieldCurveSegment | |
enum class | Type { Zero , ZeroSpread , Discount , Deposit , FRA , Future , OIS , Swap , AverageOIS , TenorBasis , TenorBasisTwo , BMABasis , FXForward , CrossCcyBasis , CrossCcyFixFloat , DiscountRatio , FittedBond , WeightedAverage , YieldPlusDefault , IborFallback , BondYieldShifted } |
supported segment types More... | |
Protected Member Functions inherited from YieldCurveSegment | |
YieldCurveSegment () | |
Default constructor. More... | |
YieldCurveSegment (const string &typeID, const string &conventionsID, const vector< string > "es) | |
Detailed constructor - assumes all quotes are mandatory. More... | |
pair< string, bool > | quote (const string &name, bool opt=false) |
Utility to build a quote, optional flag defaults to false. More... | |
Protected Attributes inherited from YieldCurveSegment | |
vector< pair< string, bool > > | quotes_ |
Quote and optional flag pair. More... | |
Ibor Fallback yield curve segment.
A curve segment to build a Ibor forwarding curve from an OIS RFR index and a fallback spread
Definition at line 560 of file yieldcurveconfig.hpp.
IborFallbackCurveSegment | ( | const string & | typeID, |
const string & | iborIndex, | ||
const string & | rfrCurve, | ||
const boost::optional< string > & | rfrIndex, | ||
const boost::optional< Real > & | spread | ||
) |
Detailed constructor.
Definition at line 838 of file yieldcurveconfig.cpp.
|
overridevirtual |
Reimplemented from YieldCurveSegment.
Definition at line 844 of file yieldcurveconfig.cpp.
|
overridevirtual |
Reimplemented from YieldCurveSegment.
Definition at line 857 of file yieldcurveconfig.cpp.
const string & iborIndex | ( | ) | const |
Definition at line 578 of file yieldcurveconfig.hpp.
const string & rfrCurve | ( | ) | const |
Definition at line 579 of file yieldcurveconfig.hpp.
const boost::optional< string > & rfrIndex | ( | ) | const |
Definition at line 580 of file yieldcurveconfig.hpp.
const boost::optional< Real > & spread | ( | ) | const |
Definition at line 581 of file yieldcurveconfig.hpp.
|
overridevirtual |
Reimplemented from YieldCurveSegment.
Definition at line 869 of file yieldcurveconfig.cpp.
|
private |
Definition at line 590 of file yieldcurveconfig.hpp.
|
private |
Definition at line 591 of file yieldcurveconfig.hpp.
|
private |
Definition at line 592 of file yieldcurveconfig.hpp.
|
private |
Definition at line 593 of file yieldcurveconfig.hpp.