Container for storing Money Market Futures conventions. More...
#include <ored/configuration/conventions.hpp>
Inheritance diagram for FutureConvention:
Collaboration diagram for FutureConvention:Public Types | |
| enum class | DateGenerationRule { IMM , FirstDayOfMonth } |
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... | |
Public Member Functions | |
Constructors | |
| FutureConvention () | |
| Default constructor. More... | |
| FutureConvention (const string &id, const string &index) | |
| Index based constructor. More... | |
| FutureConvention (const string &id, const string &index, const QuantLib::RateAveraging::Type overnightIndexFutureNettingType, const DateGenerationRule dateGeneration) | |
| Index based constructor taking in addition a netting type for ON indices and a date generation rule. More... | |
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... | |
Inspectors | |
| string | strIndex_ |
| QuantLib::RateAveraging::Type | overnightIndexFutureNettingType_ |
| DateGenerationRule | dateGenerationRule_ |
| QuantLib::ext::shared_ptr< IborIndex > | index () const |
| QuantLib::RateAveraging::Type | overnightIndexFutureNettingType () const |
| DateGenerationRule | dateGenerationRule () const |
| virtual void | fromXML (XMLNode *node) override |
| Serialisation. More... | |
| virtual XMLNode * | toXML (XMLDocument &doc) const override |
| virtual void | build () override |
Additional Inherited Members | |
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 Money Market Futures conventions.
Definition at line 304 of file conventions.hpp.
|
strong |
| FutureConvention | ( | ) |
| FutureConvention | ( | const string & | id, |
| const string & | index | ||
| ) |
Index based constructor.
Definition at line 224 of file conventions.cpp.
| FutureConvention | ( | const string & | id, |
| const string & | index, | ||
| const QuantLib::RateAveraging::Type | overnightIndexFutureNettingType, | ||
| const DateGenerationRule | dateGeneration | ||
| ) |
Index based constructor taking in addition a netting type for ON indices and a date generation rule.
Definition at line 227 of file conventions.cpp.
Here is the call graph for this function:| QuantLib::ext::shared_ptr< IborIndex > index | ( | ) | const |
| QuantLib::RateAveraging::Type overnightIndexFutureNettingType | ( | ) | const |
Definition at line 321 of file conventions.hpp.
| DateGenerationRule dateGenerationRule | ( | ) | const |
Definition at line 322 of file conventions.hpp.
|
overridevirtual |
Serialisation.
Implements XMLSerializable.
Definition at line 235 of file conventions.cpp.
Here is the call graph for this function:
|
overridevirtual |
Implements XMLSerializable.
Definition at line 249 of file conventions.cpp.
Here is the call graph for this function:
|
overridevirtual |
|
private |
Definition at line 333 of file conventions.hpp.
|
private |
Definition at line 334 of file conventions.hpp.
|
private |
Definition at line 335 of file conventions.hpp.