Container for storing CMS Spread Option conventions. More...
#include <ored/configuration/conventions.hpp>
Public Member Functions | |
Constructors | |
CmsSpreadOptionConvention () | |
Default constructor. More... | |
CmsSpreadOptionConvention (const string &id, const string &strForwardStart, const string &strSpotDays, const string &strSwapTenor, const string &strFixingDays, const string &strCalendar, const string &strDayCounter, const string &strConvention) | |
Detailed constructor. More... | |
Inspectors | |
const Period & | forwardStart () const |
const Period | spotDays () const |
const Period & | swapTenor () |
Natural | fixingDays () const |
const Calendar & | calendar () const |
const DayCounter & | dayCounter () const |
BusinessDayConvention | rollConvention () const |
Public Member Functions inherited from Convention | |
virtual | ~Convention () |
Default destructor. More... | |
const string & | id () const |
Type | type () 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... | |
Serialisation | |
Period | forwardStart_ |
Period | spotDays_ |
Period | swapTenor_ |
Natural | fixingDays_ |
Calendar | calendar_ |
DayCounter | dayCounter_ |
BusinessDayConvention | rollConvention_ |
string | strForwardStart_ |
string | strSpotDays_ |
string | strSwapTenor_ |
string | strFixingDays_ |
string | strCalendar_ |
string | strDayCounter_ |
string | strRollConvention_ |
virtual void | fromXML (XMLNode *node) override |
virtual XMLNode * | toXML (XMLDocument &doc) const override |
virtual void | build () override |
Additional Inherited Members | |
Public Types inherited from Convention | |
enum class | Type { Zero , Deposit , Future , FRA , OIS , Swap , AverageOIS , TenorBasisSwap , TenorBasisTwoSwap , BMABasisSwap , FX , CrossCcyBasis , CrossCcyFixFloat , CDS , IborIndex , OvernightIndex , SwapIndex , ZeroInflationIndex , InflationSwap , SecuritySpread , CMSSpreadOption , CommodityForward , CommodityFuture , FxOption , BondYield } |
Supported convention types. More... | |
Protected Member Functions inherited from Convention | |
Convention () | |
Convention (const string &id, Type type) | |
Protected Attributes inherited from Convention | |
Type | type_ |
string | id_ |
Container for storing CMS Spread Option conventions.
Definition at line 1217 of file conventions.hpp.
CmsSpreadOptionConvention | ( | const string & | id, |
const string & | strForwardStart, | ||
const string & | strSpotDays, | ||
const string & | strSwapTenor, | ||
const string & | strFixingDays, | ||
const string & | strCalendar, | ||
const string & | strDayCounter, | ||
const string & | strConvention | ||
) |
Detailed constructor.
Definition at line 1414 of file conventions.cpp.
const Period & forwardStart | ( | ) | const |
Definition at line 1231 of file conventions.hpp.
const Period spotDays | ( | ) | const |
Definition at line 1232 of file conventions.hpp.
const Period & swapTenor | ( | ) |
Definition at line 1233 of file conventions.hpp.
Natural fixingDays | ( | ) | const |
Definition at line 1234 of file conventions.hpp.
const Calendar & calendar | ( | ) | const |
Definition at line 1235 of file conventions.hpp.
const DayCounter & dayCounter | ( | ) | const |
Definition at line 1236 of file conventions.hpp.
BusinessDayConvention rollConvention | ( | ) | const |
Definition at line 1237 of file conventions.hpp.
|
overridevirtual |
Implements XMLSerializable.
Definition at line 1424 of file conventions.cpp.
|
overridevirtual |
Implements XMLSerializable.
Definition at line 1451 of file conventions.cpp.
|
overridevirtual |
Implements Convention.
Definition at line 1440 of file conventions.cpp.
|
private |
Definition at line 1247 of file conventions.hpp.
|
private |
Definition at line 1248 of file conventions.hpp.
|
private |
Definition at line 1249 of file conventions.hpp.
|
private |
Definition at line 1250 of file conventions.hpp.
|
private |
Definition at line 1251 of file conventions.hpp.
|
private |
Definition at line 1252 of file conventions.hpp.
|
private |
Definition at line 1253 of file conventions.hpp.
|
private |
Definition at line 1256 of file conventions.hpp.
|
private |
Definition at line 1257 of file conventions.hpp.
|
private |
Definition at line 1258 of file conventions.hpp.
|
private |
Definition at line 1259 of file conventions.hpp.
|
private |
Definition at line 1260 of file conventions.hpp.
|
private |
Definition at line 1261 of file conventions.hpp.
|
private |
Definition at line 1262 of file conventions.hpp.