Container for storing Interest Rate Swap conventions. More...
#include <ored/configuration/conventions.hpp>
Public Member Functions | |
Constructors | |
IRSwapConvention () | |
Default constructor. More... | |
IRSwapConvention (const string &id, const string &fixedCalendar, const string &fixedFrequency, const string &fixedConvention, const string &fixedDayCounter, const string &index, bool hasSubPeriod=false, const string &floatFrequency="", const string &subPeriodsCouponType="") | |
Detailed constructor. More... | |
Inspectors | |
const Calendar & | fixedCalendar () const |
Frequency | fixedFrequency () const |
BusinessDayConvention | fixedConvention () const |
const DayCounter & | fixedDayCounter () const |
const string & | indexName () const |
QuantLib::ext::shared_ptr< IborIndex > | index () const |
bool | hasSubPeriod () const |
Frequency | floatFrequency () const |
SubPeriodsCoupon1::Type | subPeriodsCouponType () 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 | |
Calendar | fixedCalendar_ |
Frequency | fixedFrequency_ |
BusinessDayConvention | fixedConvention_ |
DayCounter | fixedDayCounter_ |
bool | hasSubPeriod_ |
Frequency | floatFrequency_ |
SubPeriodsCoupon1::Type | subPeriodsCouponType_ |
string | strFixedCalendar_ |
string | strFixedFrequency_ |
string | strFixedConvention_ |
string | strFixedDayCounter_ |
string | strIndex_ |
string | strFloatFrequency_ |
string | strSubPeriodsCouponType_ |
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 Interest Rate Swap conventions.
Definition at line 515 of file conventions.hpp.
IRSwapConvention | ( | ) |
IRSwapConvention | ( | const string & | id, |
const string & | fixedCalendar, | ||
const string & | fixedFrequency, | ||
const string & | fixedConvention, | ||
const string & | fixedDayCounter, | ||
const string & | index, | ||
bool | hasSubPeriod = false , |
||
const string & | floatFrequency = "" , |
||
const string & | subPeriodsCouponType = "" |
||
) |
Detailed constructor.
Definition at line 467 of file conventions.cpp.
const Calendar & fixedCalendar | ( | ) | const |
Definition at line 530 of file conventions.hpp.
Frequency fixedFrequency | ( | ) | const |
Definition at line 531 of file conventions.hpp.
BusinessDayConvention fixedConvention | ( | ) | const |
Definition at line 532 of file conventions.hpp.
const DayCounter & fixedDayCounter | ( | ) | const |
Definition at line 533 of file conventions.hpp.
const string & indexName | ( | ) | const |
Definition at line 534 of file conventions.hpp.
QuantLib::ext::shared_ptr< IborIndex > index | ( | ) | const |
Definition at line 538 of file conventions.cpp.
bool hasSubPeriod | ( | ) | const |
Definition at line 537 of file conventions.hpp.
Frequency floatFrequency | ( | ) | const |
Definition at line 538 of file conventions.hpp.
SubPeriodsCoupon1::Type subPeriodsCouponType | ( | ) | const |
Definition at line 539 of file conventions.hpp.
|
overridevirtual |
Implements XMLSerializable.
Definition at line 500 of file conventions.cpp.
|
overridevirtual |
Implements XMLSerializable.
Definition at line 521 of file conventions.cpp.
|
overridevirtual |
Implements Convention.
Definition at line 476 of file conventions.cpp.
|
private |
Definition at line 550 of file conventions.hpp.
|
private |
Definition at line 551 of file conventions.hpp.
|
private |
Definition at line 552 of file conventions.hpp.
|
private |
Definition at line 553 of file conventions.hpp.
|
private |
Definition at line 554 of file conventions.hpp.
|
private |
Definition at line 555 of file conventions.hpp.
|
private |
Definition at line 556 of file conventions.hpp.
|
private |
Definition at line 559 of file conventions.hpp.
|
private |
Definition at line 560 of file conventions.hpp.
|
private |
Definition at line 561 of file conventions.hpp.
|
private |
Definition at line 562 of file conventions.hpp.
|
private |
Definition at line 563 of file conventions.hpp.
|
private |
Definition at line 564 of file conventions.hpp.
|
private |
Definition at line 565 of file conventions.hpp.