Container for storing Swap Index conventions. More...
#include <ored/configuration/conventions.hpp>
Inheritance diagram for SwapIndexConvention:
Collaboration diagram for SwapIndexConvention:Public Member Functions | |
| SwapIndexConvention () | |
| SwapIndexConvention (const string &id, const string &conventions, const string &fixingCalendar="") | |
| const string & | conventions () const |
| const string & | fixingCalendar () 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 | strConventions_ |
| string | fixingCalendar_ |
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 Swap Index conventions.
Definition at line 494 of file conventions.hpp.
Definition at line 496 of file conventions.hpp.
| SwapIndexConvention | ( | const string & | id, |
| const string & | conventions, | ||
| const string & | fixingCalendar = "" |
||
| ) |
Definition at line 443 of file conventions.cpp.
| const string & conventions | ( | ) | const |
Definition at line 499 of file conventions.hpp.
| const string & fixingCalendar | ( | ) | const |
Definition at line 500 of file conventions.hpp.
|
overridevirtual |
Implements XMLSerializable.
Definition at line 446 of file conventions.cpp.
Here is the call graph for this function:
|
overridevirtual |
Implements XMLSerializable.
Definition at line 457 of file conventions.cpp.
Here is the call graph for this function:
|
overridevirtual |
|
private |
Definition at line 507 of file conventions.hpp.
|
private |
Definition at line 508 of file conventions.hpp.