#include <ored/configuration/inflationcurveconfig.hpp>
Public Types | |
enum class | Type { ZC , YY } |
Public Member Functions | |
InflationCurveConfig () | |
InflationCurveConfig (const string &curveID, const string &curveDescription, const string &nominalTermStructure, const Type type, const vector< string > "es, const string &conventions, const bool extrapolate, const Calendar &calendar, const DayCounter &dayCounter, const Period &lag, const Frequency &frequency, const Real baseRate, const Real tolerance, const bool useLastAvailableFixingAsBaseDate, const Date &seasonalityBaseDate, const Frequency &seasonalityFrequency, const vector< string > &seasonalityFactors, const vector< double > &overrideSeasonalityFactors=std::vector< double >()) | |
void | fromXML (XMLNode *node) override |
XMLNode * | toXML (XMLDocument &doc) const override |
const string & | nominalTermStructure () const |
const Type & | type () const |
const string & | conventions () const |
const bool & | extrapolate () const |
const Calendar & | calendar () const |
const DayCounter & | dayCounter () const |
const Period & | lag () const |
const Frequency & | frequency () const |
const Real & | baseRate () const |
const Real & | tolerance () const |
const bool & | useLastAvailableFixingAsBaseDate () const |
const Date & | seasonalityBaseDate () const |
const Frequency & | seasonalityFrequency () const |
const vector< string > & | seasonalityFactors () const |
const vector< double > & | overrideSeasonalityFactors () const |
const vector< string > & | swapQuotes () |
string & | nominalTermStructure () |
Type & | type () |
string & | conventions () |
bool & | extrapolate () |
Calendar & | calendar () |
DayCounter & | dayCounter () |
Period & | lag () |
Frequency & | frequency () |
Real & | baseRate () |
Real & | tolerance () |
bool & | useLastAvailableFixingAsBaseDate () |
Date & | seasonalityBaseDate () |
Frequency & | seasonalityFrequency () |
vector< string > & | seasonalityFactors () |
vector< double > & | overrideSeasonalityFactors () |
Public Member Functions inherited from CurveConfig | |
CurveConfig (const string &curveID, const string &curveDescription, const vector< string > "es=vector< string >()) | |
Detailed constructor. More... | |
CurveConfig () | |
Default constructor. More... | |
const string & | curveID () const |
const string & | curveDescription () const |
const set< string > & | requiredCurveIds (const CurveSpec::CurveType &curveType) const |
const map< CurveSpec::CurveType, set< string > > & | requiredCurveIds () const |
string & | curveID () |
string & | curveDescription () |
set< string > & | requiredCurveIds (const CurveSpec::CurveType &curveType) |
map< CurveSpec::CurveType, set< string > > & | requiredCurveIds () |
virtual const vector< string > & | quotes () |
Return all the market quotes required for this config. More... | |
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... | |
Private Member Functions | |
void | populateRequiredCurveIds () |
Private Attributes | |
vector< string > | swapQuotes_ |
string | nominalTermStructure_ |
Type | type_ |
string | conventions_ |
string | interpolationMethod_ |
bool | extrapolate_ |
Calendar | calendar_ |
DayCounter | dayCounter_ |
Period | lag_ |
Frequency | frequency_ |
Real | baseRate_ |
Real | tolerance_ |
bool | useLastAvailableFixingAsBaseDate_ |
Date | seasonalityBaseDate_ |
Frequency | seasonalityFrequency_ |
vector< string > | seasonalityFactors_ |
vector< double > | overrideSeasonalityFactors_ |
Additional Inherited Members | |
Protected Attributes inherited from CurveConfig | |
string | curveID_ |
string | curveDescription_ |
vector< string > | quotes_ |
map< CurveSpec::CurveType, set< string > > | requiredCurveIds_ |
Definition at line 45 of file inflationcurveconfig.hpp.
|
strong |
Enumerator | |
---|---|
ZC | |
YY |
Definition at line 47 of file inflationcurveconfig.hpp.
Definition at line 49 of file inflationcurveconfig.hpp.
InflationCurveConfig | ( | const string & | curveID, |
const string & | curveDescription, | ||
const string & | nominalTermStructure, | ||
const Type | type, | ||
const vector< string > & | quotes, | ||
const string & | conventions, | ||
const bool | extrapolate, | ||
const Calendar & | calendar, | ||
const DayCounter & | dayCounter, | ||
const Period & | lag, | ||
const Frequency & | frequency, | ||
const Real | baseRate, | ||
const Real | tolerance, | ||
const bool | useLastAvailableFixingAsBaseDate, | ||
const Date & | seasonalityBaseDate, | ||
const Frequency & | seasonalityFrequency, | ||
const vector< string > & | seasonalityFactors, | ||
const vector< double > & | overrideSeasonalityFactors = std::vector<double>() |
||
) |
Definition at line 31 of file inflationcurveconfig.cpp.
|
overridevirtual |
Implements XMLSerializable.
Definition at line 54 of file inflationcurveconfig.cpp.
|
overridevirtual |
Implements XMLSerializable.
Definition at line 112 of file inflationcurveconfig.cpp.
const string & nominalTermStructure | ( | ) | const |
const Type & type | ( | ) | const |
const string & conventions | ( | ) | const |
Definition at line 64 of file inflationcurveconfig.hpp.
const bool & extrapolate | ( | ) | const |
Definition at line 65 of file inflationcurveconfig.hpp.
const Calendar & calendar | ( | ) | const |
Definition at line 66 of file inflationcurveconfig.hpp.
const DayCounter & dayCounter | ( | ) | const |
Definition at line 67 of file inflationcurveconfig.hpp.
const Period & lag | ( | ) | const |
const Frequency & frequency | ( | ) | const |
Definition at line 69 of file inflationcurveconfig.hpp.
const Real & baseRate | ( | ) | const |
Definition at line 70 of file inflationcurveconfig.hpp.
const Real & tolerance | ( | ) | const |
Definition at line 71 of file inflationcurveconfig.hpp.
const bool & useLastAvailableFixingAsBaseDate | ( | ) | const |
Definition at line 72 of file inflationcurveconfig.hpp.
const Date & seasonalityBaseDate | ( | ) | const |
Definition at line 73 of file inflationcurveconfig.hpp.
const Frequency & seasonalityFrequency | ( | ) | const |
Definition at line 74 of file inflationcurveconfig.hpp.
const vector< string > & seasonalityFactors | ( | ) | const |
const vector< double > & overrideSeasonalityFactors | ( | ) | const |
Definition at line 76 of file inflationcurveconfig.hpp.
const vector< string > & swapQuotes | ( | ) |
string & nominalTermStructure | ( | ) |
Definition at line 80 of file inflationcurveconfig.hpp.
Type & type | ( | ) |
Definition at line 81 of file inflationcurveconfig.hpp.
string & conventions | ( | ) |
Definition at line 82 of file inflationcurveconfig.hpp.
bool & extrapolate | ( | ) |
Definition at line 83 of file inflationcurveconfig.hpp.
Calendar & calendar | ( | ) |
Definition at line 84 of file inflationcurveconfig.hpp.
DayCounter & dayCounter | ( | ) |
Definition at line 85 of file inflationcurveconfig.hpp.
Period & lag | ( | ) |
Definition at line 86 of file inflationcurveconfig.hpp.
Frequency & frequency | ( | ) |
Definition at line 87 of file inflationcurveconfig.hpp.
Real & baseRate | ( | ) |
Definition at line 88 of file inflationcurveconfig.hpp.
Real & tolerance | ( | ) |
Definition at line 89 of file inflationcurveconfig.hpp.
bool & useLastAvailableFixingAsBaseDate | ( | ) |
Definition at line 90 of file inflationcurveconfig.hpp.
Date & seasonalityBaseDate | ( | ) |
Definition at line 91 of file inflationcurveconfig.hpp.
Frequency & seasonalityFrequency | ( | ) |
Definition at line 92 of file inflationcurveconfig.hpp.
vector< string > & seasonalityFactors | ( | ) |
Definition at line 93 of file inflationcurveconfig.hpp.
vector< double > & overrideSeasonalityFactors | ( | ) |
Definition at line 94 of file inflationcurveconfig.hpp.
|
private |
Definition at line 49 of file inflationcurveconfig.cpp.
|
private |
Definition at line 99 of file inflationcurveconfig.hpp.
|
private |
Definition at line 100 of file inflationcurveconfig.hpp.
|
private |
Definition at line 101 of file inflationcurveconfig.hpp.
|
private |
Definition at line 102 of file inflationcurveconfig.hpp.
|
private |
Definition at line 103 of file inflationcurveconfig.hpp.
|
private |
Definition at line 104 of file inflationcurveconfig.hpp.
|
private |
Definition at line 105 of file inflationcurveconfig.hpp.
|
private |
Definition at line 106 of file inflationcurveconfig.hpp.
|
private |
Definition at line 107 of file inflationcurveconfig.hpp.
|
private |
Definition at line 108 of file inflationcurveconfig.hpp.
|
private |
Definition at line 109 of file inflationcurveconfig.hpp.
|
private |
Definition at line 110 of file inflationcurveconfig.hpp.
|
private |
Definition at line 111 of file inflationcurveconfig.hpp.
|
private |
Definition at line 112 of file inflationcurveconfig.hpp.
|
private |
Definition at line 113 of file inflationcurveconfig.hpp.
|
private |
Definition at line 114 of file inflationcurveconfig.hpp.
|
private |
Definition at line 115 of file inflationcurveconfig.hpp.