Container for storing Ibor Index conventions. More...
#include <ored/configuration/conventions.hpp>
Public Member Functions | |
IborIndexConvention () | |
IborIndexConvention (const string &id, const string &fixingCalendar, const string &dayCounter, const Size settlementDays, const string &businessDayConvention, const bool endOfMonth) | |
const string & | fixingCalendar () const |
const string & | dayCounter () const |
const Size | settlementDays () const |
const string & | businessDayConvention () const |
const bool | endOfMonth () const |
virtual void | fromXML (XMLNode *node) override |
virtual XMLNode * | toXML (XMLDocument &doc) const override |
virtual void | build () override |
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... | |
Private Attributes | |
string | localId_ |
string | strFixingCalendar_ |
string | strDayCounter_ |
Size | settlementDays_ |
string | strBusinessDayConvention_ |
bool | endOfMonth_ |
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 Ibor Index conventions.
Definition at line 441 of file conventions.hpp.
Definition at line 443 of file conventions.hpp.
IborIndexConvention | ( | const string & | id, |
const string & | fixingCalendar, | ||
const string & | dayCounter, | ||
const Size | settlementDays, | ||
const string & | businessDayConvention, | ||
const bool | endOfMonth | ||
) |
Definition at line 367 of file conventions.cpp.
const string & fixingCalendar | ( | ) | const |
Definition at line 447 of file conventions.hpp.
const string & dayCounter | ( | ) | const |
Definition at line 448 of file conventions.hpp.
const Size settlementDays | ( | ) | const |
Definition at line 449 of file conventions.hpp.
const string & businessDayConvention | ( | ) | const |
Definition at line 450 of file conventions.hpp.
const bool endOfMonth | ( | ) | const |
Definition at line 451 of file conventions.hpp.
|
overridevirtual |
Implements XMLSerializable.
Definition at line 375 of file conventions.cpp.
|
overridevirtual |
Implements XMLSerializable.
Definition at line 387 of file conventions.cpp.
|
overridevirtual |
Implements Convention.
Definition at line 398 of file conventions.cpp.
|
private |
Definition at line 458 of file conventions.hpp.
|
private |
Definition at line 459 of file conventions.hpp.
|
private |
Definition at line 460 of file conventions.hpp.
|
private |
Definition at line 461 of file conventions.hpp.
|
private |
Definition at line 462 of file conventions.hpp.
|
private |
Definition at line 463 of file conventions.hpp.