Container for storing Tenor Basis Swap conventions. More...
#include <ored/configuration/conventions.hpp>
Inheritance diagram for TenorBasisSwapConvention:
Collaboration diagram for TenorBasisSwapConvention:Public Member Functions | |
Constructors | |
| TenorBasisSwapConvention () | |
| Default constructor. More... | |
| TenorBasisSwapConvention (const string &id, const string &payIndex, const string &receiveIndex, const string &receiveFrequency="", const string &payFrequency="", const string &spreadOnRec="", const string &includeSpread="", const string &subPeriodsCouponType="") | |
| Detailed constructor. More... | |
Inspectors | |
| QuantLib::ext::shared_ptr< IborIndex > | payIndex () const |
| QuantLib::ext::shared_ptr< IborIndex > | receiveIndex () const |
| const string & | payIndexName () const |
| const string & | receiveIndexName () const |
| const Period & | receiveFrequency () const |
| const Period & | payFrequency () const |
| bool | spreadOnRec () const |
| bool | includeSpread () 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 | |
| Period | receiveFrequency_ |
| Period | payFrequency_ |
| bool | spreadOnRec_ |
| bool | includeSpread_ |
| SubPeriodsCoupon1::Type | subPeriodsCouponType_ |
| string | strPayIndex_ |
| string | strReceiveIndex_ |
| string | strReceiveFrequency_ |
| string | strPayFrequency_ |
| string | strSpreadOnRec_ |
| string | strIncludeSpread_ |
| 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 Tenor Basis Swap conventions.
Definition at line 634 of file conventions.hpp.
| TenorBasisSwapConvention | ( | const string & | id, |
| const string & | payIndex, | ||
| const string & | receiveIndex, | ||
| const string & | receiveFrequency = "", |
||
| const string & | payFrequency = "", |
||
| const string & | spreadOnRec = "", |
||
| const string & | includeSpread = "", |
||
| const string & | subPeriodsCouponType = "" |
||
| ) |
Detailed constructor.
Definition at line 611 of file conventions.cpp.
Here is the call graph for this function:| QuantLib::ext::shared_ptr< IborIndex > payIndex | ( | ) | const |
Definition at line 736 of file conventions.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| QuantLib::ext::shared_ptr< IborIndex > receiveIndex | ( | ) | const |
Definition at line 737 of file conventions.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| const string & payIndexName | ( | ) | const |
Definition at line 651 of file conventions.hpp.
| const string & receiveIndexName | ( | ) | const |
Definition at line 652 of file conventions.hpp.
| const Period & receiveFrequency | ( | ) | const |
Definition at line 653 of file conventions.hpp.
| const Period & payFrequency | ( | ) | const |
Definition at line 654 of file conventions.hpp.
| bool spreadOnRec | ( | ) | const |
Definition at line 655 of file conventions.hpp.
| bool includeSpread | ( | ) | const |
Definition at line 656 of file conventions.hpp.
| SubPeriodsCoupon1::Type subPeriodsCouponType | ( | ) | const |
Definition at line 657 of file conventions.hpp.
|
overridevirtual |
Implements XMLSerializable.
Definition at line 659 of file conventions.cpp.
Here is the call graph for this function:
|
overridevirtual |
Implements XMLSerializable.
Definition at line 717 of file conventions.cpp.
Here is the call graph for this function:
|
overridevirtual |
Implements Convention.
Definition at line 621 of file conventions.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 668 of file conventions.hpp.
|
private |
Definition at line 669 of file conventions.hpp.
|
private |
Definition at line 670 of file conventions.hpp.
|
private |
Definition at line 671 of file conventions.hpp.
|
private |
Definition at line 672 of file conventions.hpp.
|
private |
Definition at line 675 of file conventions.hpp.
|
private |
Definition at line 676 of file conventions.hpp.
|
private |
Definition at line 677 of file conventions.hpp.
|
private |
Definition at line 678 of file conventions.hpp.
|
private |
Definition at line 679 of file conventions.hpp.
|
private |
Definition at line 680 of file conventions.hpp.
|
private |
Definition at line 681 of file conventions.hpp.