#include <ored/configuration/conventions.hpp>
Inheritance diagram for BondYieldConvention:
Collaboration diagram for BondYieldConvention:Public Member Functions | |
| BondYieldConvention () | |
| Constructor. More... | |
| BondYieldConvention (const std::string &id, const std::string &compoundingName, const std::string &frequencyName, const std::string &priceTypeName, Real accuracy, Size maxEvaluations, Real guess) | |
| Detailed constructor. More... | |
| std::string | compoundingName () const |
| Compounding | compounding () const |
| std::string | frequencyName () const |
| Frequency | frequency () const |
| QuantLib::Bond::Price::Type | priceType () const |
| std::string | priceTypeName () const |
| QuantLib::Real | accuracy () const |
| QuantLib::Size | maxEvaluations () const |
| QuantLib::Real | guess () 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 | |
| Compounding | compounding_ |
| std::string | compoundingName_ |
| Frequency | frequency_ |
| std::string | frequencyName_ |
| QuantLib::Bond::Price::Type | priceType_ |
| std::string | priceTypeName_ |
| QuantLib::Real | accuracy_ |
| QuantLib::Size | maxEvaluations_ |
| QuantLib::Real | guess_ |
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 bond yield calculation conventions
Definition at line 1788 of file conventions.hpp.
Constructor.
Definition at line 2371 of file conventions.cpp.
| BondYieldConvention | ( | const std::string & | id, |
| const std::string & | compoundingName, | ||
| const std::string & | frequencyName, | ||
| const std::string & | priceTypeName, | ||
| Real | accuracy, | ||
| Size | maxEvaluations, | ||
| Real | guess | ||
| ) |
Detailed constructor.
Definition at line 2377 of file conventions.cpp.
Here is the call graph for this function:| std::string compoundingName | ( | ) | const |
Definition at line 1802 of file conventions.hpp.
| Compounding compounding | ( | ) | const |
Definition at line 1803 of file conventions.hpp.
| std::string frequencyName | ( | ) | const |
Definition at line 1804 of file conventions.hpp.
| Frequency frequency | ( | ) | const |
Definition at line 1805 of file conventions.hpp.
| QuantLib::Bond::Price::Type priceType | ( | ) | const |
Definition at line 1806 of file conventions.hpp.
| std::string priceTypeName | ( | ) | const |
Definition at line 1807 of file conventions.hpp.
| QuantLib::Real accuracy | ( | ) | const |
Definition at line 1808 of file conventions.hpp.
| QuantLib::Size maxEvaluations | ( | ) | const |
Definition at line 1809 of file conventions.hpp.
| QuantLib::Real guess | ( | ) | const |
Definition at line 1810 of file conventions.hpp.
|
overridevirtual |
Implements XMLSerializable.
Definition at line 2401 of file conventions.cpp.
Here is the call graph for this function:
|
overridevirtual |
Implements XMLSerializable.
Definition at line 2417 of file conventions.cpp.
Here is the call graph for this function:
|
overridevirtual |
Implements Convention.
Definition at line 2395 of file conventions.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 1817 of file conventions.hpp.
|
private |
Definition at line 1818 of file conventions.hpp.
|
private |
Definition at line 1819 of file conventions.hpp.
|
private |
Definition at line 1820 of file conventions.hpp.
|
private |
Definition at line 1821 of file conventions.hpp.
|
private |
Definition at line 1822 of file conventions.hpp.
|
private |
Definition at line 1823 of file conventions.hpp.
|
private |
Definition at line 1824 of file conventions.hpp.
|
private |
Definition at line 1825 of file conventions.hpp.