Discount ratio yield curve segment. More...
#include <ored/configuration/yieldcurveconfig.hpp>
Public Member Functions | |
Constructors/Destructors | |
DiscountRatioYieldCurveSegment () | |
Default constructor. More... | |
DiscountRatioYieldCurveSegment (const std::string &typeId, const std::string &baseCurveId, const std::string &baseCurveCurrency, const std::string &numeratorCurveId, const std::string &numeratorCurveCurrency, const std::string &denominatorCurveId, const std::string &denominatorCurveCurrency) | |
Detailed constructor. More... | |
Serialisation | |
virtual void | fromXML (XMLNode *node) override |
virtual XMLNode * | toXML (XMLDocument &doc) const override |
Inspectors | |
const string & | baseCurveId () const |
const string & | baseCurveCurrency () const |
const string & | numeratorCurveId () const |
const string & | numeratorCurveCurrency () const |
const string & | denominatorCurveId () const |
const string & | denominatorCurveCurrency () 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 |
virtual void | accept (AcyclicVisitor &) |
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 | |
std::string | baseCurveId_ |
std::string | baseCurveCurrency_ |
std::string | numeratorCurveId_ |
std::string | numeratorCurveCurrency_ |
std::string | denominatorCurveId_ |
std::string | denominatorCurveCurrency_ |
void | accept (QuantLib::AcyclicVisitor &v) 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... | |
Discount ratio yield curve segment.
Used to configure a QuantExt::DiscountRatioModifiedCurve.
Definition at line 473 of file yieldcurveconfig.hpp.
DiscountRatioYieldCurveSegment | ( | const std::string & | typeId, |
const std::string & | baseCurveId, | ||
const std::string & | baseCurveCurrency, | ||
const std::string & | numeratorCurveId, | ||
const std::string & | numeratorCurveCurrency, | ||
const std::string & | denominatorCurveId, | ||
const std::string & | denominatorCurveCurrency | ||
) |
Detailed constructor.
Definition at line 671 of file yieldcurveconfig.cpp.
|
overridevirtual |
Reimplemented from YieldCurveSegment.
Definition at line 678 of file yieldcurveconfig.cpp.
|
overridevirtual |
Reimplemented from YieldCurveSegment.
Definition at line 698 of file yieldcurveconfig.cpp.
const string & baseCurveId | ( | ) | const |
const string & baseCurveCurrency | ( | ) | const |
const string & numeratorCurveId | ( | ) | const |
const string & numeratorCurveCurrency | ( | ) | const |
const string & denominatorCurveId | ( | ) | const |
const string & denominatorCurveCurrency | ( | ) | const |
|
override |
Definition at line 717 of file yieldcurveconfig.cpp.
|
private |
Definition at line 508 of file yieldcurveconfig.hpp.
|
private |
Definition at line 509 of file yieldcurveconfig.hpp.
|
private |
Definition at line 510 of file yieldcurveconfig.hpp.
|
private |
Definition at line 511 of file yieldcurveconfig.hpp.
|
private |
Definition at line 512 of file yieldcurveconfig.hpp.
|
private |
Definition at line 513 of file yieldcurveconfig.hpp.