Serializable Bond-Basket Data. More...
#include <ored/portfolio/tranche.hpp>
Inheritance diagram for TrancheData:
Collaboration diagram for TrancheData:Public Member Functions | |
| TrancheData () | |
| Default constructor. More... | |
| TrancheData (const std::string &name, double icRatio, double ocRatio, const QuantLib::ext::shared_ptr< LegAdditionalData > &concreteLegData) | |
Inspectors | |
| const std::string | name () const |
| double | faceAmount () |
| double | icRatio () |
| double | ocRatio () |
| const QuantLib::ext::shared_ptr< LegAdditionalData > | concreteLegData () |
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 | name_ |
| double | faceAmount_ |
| double | icRatio_ |
| double | ocRatio_ |
| QuantLib::ext::shared_ptr< LegAdditionalData > | concreteLegData_ |
| virtual void | fromXML (XMLNode *node) override |
| virtual XMLNode * | toXML (ore::data::XMLDocument &doc) const override |
Serializable Bond-Basket Data.
Definition at line 40 of file tranche.hpp.
| TrancheData | ( | ) |
| TrancheData | ( | const std::string & | name, |
| double | icRatio, | ||
| double | ocRatio, | ||
| const QuantLib::ext::shared_ptr< LegAdditionalData > & | concreteLegData | ||
| ) |
Definition at line 45 of file tranche.hpp.
| const std::string name | ( | ) | const |
Definition at line 50 of file tranche.hpp.
| double faceAmount | ( | ) |
Definition at line 51 of file tranche.hpp.
| double icRatio | ( | ) |
Definition at line 52 of file tranche.hpp.
| double ocRatio | ( | ) |
Definition at line 53 of file tranche.hpp.
| const QuantLib::ext::shared_ptr< LegAdditionalData > concreteLegData | ( | ) |
Definition at line 54 of file tranche.hpp.
|
overridevirtual |
Implements XMLSerializable.
Definition at line 28 of file tranche.cpp.
Here is the call graph for this function:
|
overridevirtual |
Implements XMLSerializable.
Definition at line 58 of file tranche.cpp.
Here is the call graph for this function:
|
private |
Definition at line 64 of file tranche.hpp.
|
private |
Definition at line 65 of file tranche.hpp.
|
private |
Definition at line 66 of file tranche.hpp.
|
private |
Definition at line 67 of file tranche.hpp.
|
private |
Definition at line 68 of file tranche.hpp.