Serializable Fixed Leg Data. More...
#include <ored/portfolio/legdata.hpp>
Inheritance diagram for FixedLegData:
Collaboration diagram for FixedLegData:Public Member Functions | |
| FixedLegData () | |
| Default constructor. More... | |
| FixedLegData (const vector< double > &rates, const vector< string > &rateDates=vector< string >()) | |
| Constructor. More... | |
Inspectors | |
| const vector< double > & | rates () const |
| const vector< string > & | rateDates () const |
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 | |
| vector< double > | rates_ |
| vector< string > | rateDates_ |
| 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 Fixed Leg Data.
Definition at line 117 of file legdata.hpp.
| FixedLegData | ( | ) |
Default constructor.
Definition at line 120 of file legdata.hpp.
| FixedLegData | ( | const vector< double > & | rates, |
| const vector< string > & | rateDates = vector<string>() |
||
| ) |
Constructor.
Definition at line 122 of file legdata.hpp.
| const vector< double > & rates | ( | ) | const |
Definition at line 127 of file legdata.hpp.
| const vector< string > & rateDates | ( | ) | const |
Definition at line 128 of file legdata.hpp.
|
overridevirtual |
Implements XMLSerializable.
Definition at line 113 of file legdata.cpp.
Here is the call graph for this function:
|
overridevirtual |
Implements XMLSerializable.
Definition at line 119 of file legdata.cpp.
Here is the call graph for this function:
|
private |
Definition at line 137 of file legdata.hpp.
|
private |
Definition at line 138 of file legdata.hpp.