Container for storing Average OIS conventions. More...
#include <ored/configuration/conventions.hpp>
Public Member Functions | |
Constructors | |
AverageOisConvention () | |
Default constructor. More... | |
AverageOisConvention (const string &id, const string &spotLag, const string &fixedTenor, const string &fixedDayCounter, const string &fixedCalendar, const string &fixedConvention, const string &fixedPaymentConvention, const string &fixedFrequency, const string &index, const string &onTenor, const string &rateCutoff) | |
Detailed constructor. More... | |
Inspectors | |
Natural | spotLag () const |
const Period & | fixedTenor () const |
const DayCounter & | fixedDayCounter () const |
const Calendar & | fixedCalendar () const |
BusinessDayConvention | fixedConvention () const |
BusinessDayConvention | fixedPaymentConvention () const |
Frequency | fixedFrequency () const |
const string & | indexName () const |
QuantLib::ext::shared_ptr< OvernightIndex > | index () const |
const Period & | onTenor () const |
Natural | rateCutoff () 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 | |
Natural | spotLag_ |
Period | fixedTenor_ |
DayCounter | fixedDayCounter_ |
Calendar | fixedCalendar_ |
BusinessDayConvention | fixedConvention_ |
BusinessDayConvention | fixedPaymentConvention_ |
Frequency | fixedFrequency_ |
Period | onTenor_ |
Natural | rateCutoff_ |
string | strSpotLag_ |
string | strFixedTenor_ |
string | strFixedDayCounter_ |
string | strFixedCalendar_ |
string | strFixedConvention_ |
string | strFixedPaymentConvention_ |
string | strFixedFrequency_ |
string | strIndex_ |
string | strOnTenor_ |
string | strRateCutoff_ |
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 Average OIS conventions.
Definition at line 572 of file conventions.hpp.
AverageOisConvention | ( | const string & | id, |
const string & | spotLag, | ||
const string & | fixedTenor, | ||
const string & | fixedDayCounter, | ||
const string & | fixedCalendar, | ||
const string & | fixedConvention, | ||
const string & | fixedPaymentConvention, | ||
const string & | fixedFrequency, | ||
const string & | index, | ||
const string & | onTenor, | ||
const string & | rateCutoff | ||
) |
Detailed constructor.
Definition at line 540 of file conventions.cpp.
Natural spotLag | ( | ) | const |
Definition at line 587 of file conventions.hpp.
const Period & fixedTenor | ( | ) | const |
Definition at line 588 of file conventions.hpp.
const DayCounter & fixedDayCounter | ( | ) | const |
Definition at line 589 of file conventions.hpp.
const Calendar & fixedCalendar | ( | ) | const |
Definition at line 590 of file conventions.hpp.
BusinessDayConvention fixedConvention | ( | ) | const |
Definition at line 591 of file conventions.hpp.
BusinessDayConvention fixedPaymentConvention | ( | ) | const |
Definition at line 592 of file conventions.hpp.
Frequency fixedFrequency | ( | ) | const |
Definition at line 593 of file conventions.hpp.
const string & indexName | ( | ) | const |
Definition at line 594 of file conventions.hpp.
QuantLib::ext::shared_ptr< OvernightIndex > index | ( | ) | const |
Definition at line 605 of file conventions.cpp.
const Period & onTenor | ( | ) | const |
Definition at line 596 of file conventions.hpp.
Natural rateCutoff | ( | ) | const |
Definition at line 597 of file conventions.hpp.
|
overridevirtual |
Implements XMLSerializable.
Definition at line 565 of file conventions.cpp.
|
overridevirtual |
Implements XMLSerializable.
Definition at line 586 of file conventions.cpp.
|
overridevirtual |
Implements Convention.
Definition at line 552 of file conventions.cpp.
|
private |
Definition at line 607 of file conventions.hpp.
|
private |
Definition at line 608 of file conventions.hpp.
|
private |
Definition at line 609 of file conventions.hpp.
|
private |
Definition at line 610 of file conventions.hpp.
|
private |
Definition at line 611 of file conventions.hpp.
|
private |
Definition at line 612 of file conventions.hpp.
|
private |
Definition at line 613 of file conventions.hpp.
|
private |
Definition at line 614 of file conventions.hpp.
|
private |
Definition at line 615 of file conventions.hpp.
|
private |
Definition at line 618 of file conventions.hpp.
|
private |
Definition at line 619 of file conventions.hpp.
|
private |
Definition at line 620 of file conventions.hpp.
|
private |
Definition at line 621 of file conventions.hpp.
|
private |
Definition at line 622 of file conventions.hpp.
|
private |
Definition at line 623 of file conventions.hpp.
|
private |
Definition at line 624 of file conventions.hpp.
|
private |
Definition at line 625 of file conventions.hpp.
|
private |
Definition at line 626 of file conventions.hpp.
|
private |
Definition at line 627 of file conventions.hpp.