#include <ored/portfolio/durationadjustedcmslegdata.hpp>
Inheritance diagram for DurationAdjustedCmsLegData:
Collaboration diagram for DurationAdjustedCmsLegData:Public Member Functions | |
| DurationAdjustedCmsLegData () | |
| DurationAdjustedCmsLegData (const std::string &swapIndex, Size duration, Size fixingDays, bool isInArrears, const std::vector< double > &spreads, const std::vector< std::string > &spreadDates=std::vector< std::string >(), const std::vector< double > &caps=std::vector< double >(), const std::vector< std::string > &capDates=std::vector< std::string >(), const std::vector< double > &floors=std::vector< double >(), const std::vector< std::string > &floorDates=std::vector< std::string >(), const std::vector< double > &gearings=std::vector< double >(), const std::vector< std::string > &gearingDates=std::vector< std::string >(), bool nakedOption=false) | |
| Detailed constructor. More... | |
Inspectors | |
| const std::string & | swapIndex () const |
| Size | duration () const |
| Size | fixingDays () const |
| bool | isInArrears () const |
| const std::vector< double > & | spreads () const |
| const std::vector< std::string > & | spreadDates () const |
| const std::vector< double > & | caps () const |
| const std::vector< std::string > & | capDates () const |
| const std::vector< double > & | floors () const |
| const std::vector< std::string > & | floorDates () const |
| const std::vector< double > & | gearings () const |
| const std::vector< std::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 | |
| std::string | swapIndex_ |
| Size | duration_ |
| Size | fixingDays_ |
| bool | isInArrears_ |
| std::vector< double > | spreads_ |
| std::vector< std::string > | spreadDates_ |
| std::vector< double > | caps_ |
| std::vector< std::string > | capDates_ |
| std::vector< double > | floors_ |
| std::vector< std::string > | floorDates_ |
| std::vector< double > | gearings_ |
| std::vector< std::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_ |
Definition at line 32 of file durationadjustedcmslegdata.hpp.
Definition at line 35 of file durationadjustedcmslegdata.hpp.
| DurationAdjustedCmsLegData | ( | const std::string & | swapIndex, |
| Size | duration, | ||
| Size | fixingDays, | ||
| bool | isInArrears, | ||
| const std::vector< double > & | spreads, | ||
| const std::vector< std::string > & | spreadDates = std::vector<std::string>(), |
||
| const std::vector< double > & | caps = std::vector<double>(), |
||
| const std::vector< std::string > & | capDates = std::vector<std::string>(), |
||
| const std::vector< double > & | floors = std::vector<double>(), |
||
| const std::vector< std::string > & | floorDates = std::vector<std::string>(), |
||
| const std::vector< double > & | gearings = std::vector<double>(), |
||
| const std::vector< std::string > & | gearingDates = std::vector<std::string>(), |
||
| bool | nakedOption = false |
||
| ) |
Detailed constructor.
Definition at line 40 of file durationadjustedcmslegdata.hpp.
| const std::string & swapIndex | ( | ) | const |
Definition at line 59 of file durationadjustedcmslegdata.hpp.
| Size duration | ( | ) | const |
Definition at line 60 of file durationadjustedcmslegdata.hpp.
| Size fixingDays | ( | ) | const |
Definition at line 61 of file durationadjustedcmslegdata.hpp.
| bool isInArrears | ( | ) | const |
Definition at line 62 of file durationadjustedcmslegdata.hpp.
| const std::vector< double > & spreads | ( | ) | const |
Definition at line 63 of file durationadjustedcmslegdata.hpp.
| const std::vector< std::string > & spreadDates | ( | ) | const |
Definition at line 64 of file durationadjustedcmslegdata.hpp.
| const std::vector< double > & caps | ( | ) | const |
Definition at line 65 of file durationadjustedcmslegdata.hpp.
| const std::vector< std::string > & capDates | ( | ) | const |
Definition at line 66 of file durationadjustedcmslegdata.hpp.
| const std::vector< double > & floors | ( | ) | const |
Definition at line 67 of file durationadjustedcmslegdata.hpp.
| const std::vector< std::string > & floorDates | ( | ) | const |
Definition at line 68 of file durationadjustedcmslegdata.hpp.
| const std::vector< double > & gearings | ( | ) | const |
Definition at line 69 of file durationadjustedcmslegdata.hpp.
| const std::vector< std::string > & gearingDates | ( | ) | const |
Definition at line 70 of file durationadjustedcmslegdata.hpp.
| bool nakedOption | ( | ) | const |
Definition at line 71 of file durationadjustedcmslegdata.hpp.
| vector< double > & caps | ( | ) |
Definition at line 76 of file durationadjustedcmslegdata.hpp.
| vector< string > & capDates | ( | ) |
Definition at line 77 of file durationadjustedcmslegdata.hpp.
| vector< double > & floors | ( | ) |
Definition at line 78 of file durationadjustedcmslegdata.hpp.
| vector< string > & floorDates | ( | ) |
Definition at line 79 of file durationadjustedcmslegdata.hpp.
| bool & nakedOption | ( | ) |
Definition at line 80 of file durationadjustedcmslegdata.hpp.
|
overridevirtual |
Implements XMLSerializable.
Definition at line 42 of file durationadjustedcmslegdata.cpp.
Here is the call graph for this function:
|
overridevirtual |
Implements XMLSerializable.
Definition at line 26 of file durationadjustedcmslegdata.cpp.
Here is the call graph for this function:
|
private |
Definition at line 89 of file durationadjustedcmslegdata.hpp.
|
private |
Definition at line 90 of file durationadjustedcmslegdata.hpp.
|
private |
Definition at line 91 of file durationadjustedcmslegdata.hpp.
|
private |
Definition at line 92 of file durationadjustedcmslegdata.hpp.
|
private |
Definition at line 93 of file durationadjustedcmslegdata.hpp.
|
private |
Definition at line 94 of file durationadjustedcmslegdata.hpp.
|
private |
Definition at line 95 of file durationadjustedcmslegdata.hpp.
|
private |
Definition at line 96 of file durationadjustedcmslegdata.hpp.
|
private |
Definition at line 97 of file durationadjustedcmslegdata.hpp.
|
private |
Definition at line 98 of file durationadjustedcmslegdata.hpp.
|
private |
Definition at line 99 of file durationadjustedcmslegdata.hpp.
|
private |
Definition at line 100 of file durationadjustedcmslegdata.hpp.
|
private |
Definition at line 101 of file durationadjustedcmslegdata.hpp.