Serializable CMS Leg Data. More...
#include <ored/portfolio/legdata.hpp>
Inheritance diagram for CMSLegData:
Collaboration diagram for CMSLegData:Public Member Functions | |
| CMSLegData () | |
| Default constructor. More... | |
| CMSLegData (const string &swapIndex, 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 & | swapIndex () 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 | swapIndex_ |
| 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 CMS Leg Data.
Definition at line 414 of file legdata.hpp.
| CMSLegData | ( | ) |
Default constructor.
Definition at line 417 of file legdata.hpp.
| CMSLegData | ( | const string & | swapIndex, |
| 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 419 of file legdata.hpp.
| const string & swapIndex | ( | ) | const |
Definition at line 432 of file legdata.hpp.
| Size fixingDays | ( | ) | const |
Definition at line 433 of file legdata.hpp.
| bool isInArrears | ( | ) | const |
Definition at line 434 of file legdata.hpp.
| const vector< double > & spreads | ( | ) | const |
Definition at line 435 of file legdata.hpp.
| const vector< string > & spreadDates | ( | ) | const |
Definition at line 436 of file legdata.hpp.
| const vector< double > & caps | ( | ) | const |
Definition at line 437 of file legdata.hpp.
| const vector< string > & capDates | ( | ) | const |
Definition at line 438 of file legdata.hpp.
| const vector< double > & floors | ( | ) | const |
Definition at line 439 of file legdata.hpp.
| const vector< string > & floorDates | ( | ) | const |
Definition at line 440 of file legdata.hpp.
| const vector< double > & gearings | ( | ) | const |
Definition at line 441 of file legdata.hpp.
| const vector< string > & gearingDates | ( | ) | const |
Definition at line 442 of file legdata.hpp.
| bool nakedOption | ( | ) | const |
Definition at line 443 of file legdata.hpp.
| vector< double > & caps | ( | ) |
Definition at line 448 of file legdata.hpp.
| vector< string > & capDates | ( | ) |
Definition at line 449 of file legdata.hpp.
| vector< double > & floors | ( | ) |
Definition at line 450 of file legdata.hpp.
| vector< string > & floorDates | ( | ) |
Definition at line 451 of file legdata.hpp.
| bool & nakedOption | ( | ) |
Definition at line 452 of file legdata.hpp.
|
overridevirtual |
Implements XMLSerializable.
Definition at line 402 of file legdata.cpp.
Here is the call graph for this function:
|
overridevirtual |
Implements XMLSerializable.
Definition at line 387 of file legdata.cpp.
Here is the call graph for this function:
|
private |
Definition at line 461 of file legdata.hpp.
|
private |
Definition at line 462 of file legdata.hpp.
|
private |
Definition at line 463 of file legdata.hpp.
|
private |
Definition at line 464 of file legdata.hpp.
|
private |
Definition at line 465 of file legdata.hpp.
|
private |
Definition at line 466 of file legdata.hpp.
|
private |
Definition at line 467 of file legdata.hpp.
|
private |
Definition at line 468 of file legdata.hpp.
|
private |
Definition at line 469 of file legdata.hpp.
|
private |
Definition at line 470 of file legdata.hpp.
|
private |
Definition at line 471 of file legdata.hpp.
|
private |
Definition at line 472 of file legdata.hpp.