#include <ored/configuration/conventions.hpp>
Public Member Functions | |
ZeroInflationIndexConvention () | |
Constructor. More... | |
ZeroInflationIndexConvention (const std::string &id, const std::string ®ionName, const std::string ®ionCode, bool revised, const std::string &frequency, const std::string &availabilityLag, const std::string ¤cy) | |
Detailed constructor. More... | |
QuantLib::Region | region () const |
bool | revised () const |
QuantLib::Frequency | frequency () const |
const QuantLib::Period & | availabilityLag () const |
const QuantLib::Currency & | currency () const |
void | fromXML (XMLNode *node) override |
XMLNode * | toXML (XMLDocument &doc) const override |
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 | |
std::string | regionName_ |
std::string | regionCode_ |
bool | revised_ |
std::string | strFrequency_ |
std::string | strAvailabilityLag_ |
std::string | strCurrency_ |
QuantLib::Frequency | frequency_ |
QuantLib::Period | availabilityLag_ |
QuantLib::Currency | currency_ |
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 zero inflation index conventions
Definition at line 1748 of file conventions.hpp.
Constructor.
Definition at line 2431 of file conventions.cpp.
ZeroInflationIndexConvention | ( | const std::string & | id, |
const std::string & | regionName, | ||
const std::string & | regionCode, | ||
bool | revised, | ||
const std::string & | frequency, | ||
const std::string & | availabilityLag, | ||
const std::string & | currency | ||
) |
Detailed constructor.
Definition at line 2434 of file conventions.cpp.
QuantLib::Region region | ( | ) | const |
Definition at line 2453 of file conventions.cpp.
bool revised | ( | ) | const |
Definition at line 1763 of file conventions.hpp.
QuantLib::Frequency frequency | ( | ) | const |
Definition at line 1764 of file conventions.hpp.
const QuantLib::Period & availabilityLag | ( | ) | const |
Definition at line 1765 of file conventions.hpp.
const QuantLib::Currency & currency | ( | ) | const |
Definition at line 1766 of file conventions.hpp.
|
overridevirtual |
Implements XMLSerializable.
Definition at line 2463 of file conventions.cpp.
|
overridevirtual |
Implements XMLSerializable.
Definition at line 2479 of file conventions.cpp.
|
overridevirtual |
Implements Convention.
Definition at line 2457 of file conventions.cpp.
|
private |
Definition at line 1773 of file conventions.hpp.
|
private |
Definition at line 1774 of file conventions.hpp.
|
private |
Definition at line 1775 of file conventions.hpp.
|
private |
Definition at line 1776 of file conventions.hpp.
|
private |
Definition at line 1777 of file conventions.hpp.
|
private |
Definition at line 1778 of file conventions.hpp.
|
private |
Definition at line 1780 of file conventions.hpp.
|
private |
Definition at line 1781 of file conventions.hpp.
|
private |
Definition at line 1782 of file conventions.hpp.