Serializable Constant Maturity Bond Yield Leg Data. More...
#include <ored/portfolio/legdata.hpp>
Inheritance diagram for CMBLegData:
Collaboration diagram for CMBLegData:Public Member Functions | |
| CMBLegData () | |
| Default constructor. More... | |
| CMBLegData (const string &genericBond, bool hasCreditRisk, Size fixingDays, bool isInArrears, const vector< double > &spreads, const vector< string > &spreadDates=vector< string >(), const vector< double > &caps=vector< double >(), const vector< string > &capDates=vector< string >(), const vector< double > &floors=vector< double >(), const vector< string > &floorDates=vector< string >(), const vector< double > &gearings=vector< double >(), const vector< string > &gearingDates=vector< string >(), bool nakedOption=false) | |
| Constructor. More... | |
Inspectors | |
| const string & | genericBond () const |
| bool | hasCreditRisk () const |
| Size | fixingDays () const |
| bool | isInArrears () const |
| const vector< double > & | spreads () const |
| const vector< string > & | spreadDates () const |
| const vector< double > & | caps () const |
| const vector< string > & | capDates () const |
| const vector< double > & | floors () const |
| const vector< string > & | floorDates () const |
| const vector< double > & | gearings () const |
| const vector< string > & | gearingDates () const |
| bool | nakedOption () const |
Modifiers | |
| vector< double > & | caps () |
| vector< string > & | capDates () |
| vector< double > & | floors () |
| vector< string > & | floorDates () |
| bool & | nakedOption () |
Public Member Functions inherited from LegAdditionalData | |
| LegAdditionalData (const string &legType, const string &legNodeName) | |
| LegAdditionalData (const string &legType) | |
| const string & | legType () const |
| const string & | legNodeName () const |
| const std::set< std::string > & | indices () 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 | |
| string | genericBond_ |
| bool | hasCreditRisk_ |
| Size | fixingDays_ |
| bool | isInArrears_ |
| vector< double > | spreads_ |
| vector< string > | spreadDates_ |
| vector< double > | caps_ |
| vector< string > | capDates_ |
| vector< double > | floors_ |
| vector< string > | floorDates_ |
| vector< double > | gearings_ |
| vector< string > | gearingDates_ |
| bool | nakedOption_ |
| virtual void | fromXML (XMLNode *node) override |
| virtual XMLNode * | toXML (XMLDocument &doc) const override |
Additional Inherited Members | |
Protected Attributes inherited from LegAdditionalData | |
| std::set< std::string > | indices_ |
Serializable Constant Maturity Bond Yield Leg Data.
Definition at line 687 of file legdata.hpp.
| CMBLegData | ( | ) |
Default constructor.
Definition at line 690 of file legdata.hpp.
| CMBLegData | ( | const string & | genericBond, |
| bool | hasCreditRisk, | ||
| Size | fixingDays, | ||
| bool | isInArrears, | ||
| const vector< double > & | spreads, | ||
| const vector< string > & | spreadDates = vector<string>(), |
||
| const vector< double > & | caps = vector<double>(), |
||
| const vector< string > & | capDates = vector<string>(), |
||
| const vector< double > & | floors = vector<double>(), |
||
| const vector< string > & | floorDates = vector<string>(), |
||
| const vector< double > & | gearings = vector<double>(), |
||
| const vector< string > & | gearingDates = vector<string>(), |
||
| bool | nakedOption = false |
||
| ) |
Constructor.
Definition at line 692 of file legdata.hpp.
| const string & genericBond | ( | ) | const |
| bool hasCreditRisk | ( | ) | const |
Definition at line 706 of file legdata.hpp.
| Size fixingDays | ( | ) | const |
Definition at line 707 of file legdata.hpp.
| bool isInArrears | ( | ) | const |
Definition at line 708 of file legdata.hpp.
| const vector< double > & spreads | ( | ) | const |
Definition at line 709 of file legdata.hpp.
| const vector< string > & spreadDates | ( | ) | const |
Definition at line 710 of file legdata.hpp.
| const vector< double > & caps | ( | ) | const |
Definition at line 711 of file legdata.hpp.
| const vector< string > & capDates | ( | ) | const |
Definition at line 712 of file legdata.hpp.
| const vector< double > & floors | ( | ) | const |
Definition at line 713 of file legdata.hpp.
| const vector< string > & floorDates | ( | ) | const |
Definition at line 714 of file legdata.hpp.
| const vector< double > & gearings | ( | ) | const |
Definition at line 715 of file legdata.hpp.
| const vector< string > & gearingDates | ( | ) | const |
Definition at line 716 of file legdata.hpp.
| bool nakedOption | ( | ) | const |
Definition at line 717 of file legdata.hpp.
| vector< double > & caps | ( | ) |
Definition at line 722 of file legdata.hpp.
| vector< string > & capDates | ( | ) |
Definition at line 723 of file legdata.hpp.
| vector< double > & floors | ( | ) |
Definition at line 724 of file legdata.hpp.
| vector< string > & floorDates | ( | ) |
Definition at line 725 of file legdata.hpp.
| bool & nakedOption | ( | ) |
Definition at line 726 of file legdata.hpp.
|
overridevirtual |
Implements XMLSerializable.
Definition at line 444 of file legdata.cpp.
Here is the call graph for this function:
|
overridevirtual |
Implements XMLSerializable.
Definition at line 429 of file legdata.cpp.
Here is the call graph for this function:
|
private |
Definition at line 735 of file legdata.hpp.
|
private |
Definition at line 736 of file legdata.hpp.
|
private |
Definition at line 737 of file legdata.hpp.
|
private |
Definition at line 738 of file legdata.hpp.
|
private |
Definition at line 739 of file legdata.hpp.
|
private |
Definition at line 740 of file legdata.hpp.
|
private |
Definition at line 741 of file legdata.hpp.
|
private |
Definition at line 742 of file legdata.hpp.
|
private |
Definition at line 743 of file legdata.hpp.
|
private |
Definition at line 744 of file legdata.hpp.
|
private |
Definition at line 745 of file legdata.hpp.
|
private |
Definition at line 746 of file legdata.hpp.
|
private |
Definition at line 747 of file legdata.hpp.