Serializable Tranche for use in Balance Guaranteed Swaps. More...
#include <ored/portfolio/balanceguaranteedswap.hpp>
Public Member Functions | |
BGSTrancheData () | |
BGSTrancheData (const std::string &description, const std::string &securityId, const int seniority, const std::vector< QuantLib::Real > ¬ionals, const std::vector< std::string > ¬ionalDates) | |
Inspectors | |
const std::string & | description () const |
const std::string & | securityId () const |
int | seniority () const |
const std::vector< QuantLib::Real > & | notionals () const |
const std::vector< std::string > & | notionalDates () 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 | description_ |
std::string | securityId_ |
int | seniority_ |
std::vector< QuantLib::Real > | notionals_ |
std::vector< std::string > | notionalDates_ |
virtual void | fromXML (ore::data::XMLNode *node) override |
virtual ore::data::XMLNode * | toXML (ore::data::XMLDocument &doc) const override |
Serializable Tranche for use in Balance Guaranteed Swaps.
Definition at line 36 of file balanceguaranteedswap.hpp.
BGSTrancheData | ( | ) |
Definition at line 38 of file balanceguaranteedswap.hpp.
BGSTrancheData | ( | const std::string & | description, |
const std::string & | securityId, | ||
const int | seniority, | ||
const std::vector< QuantLib::Real > & | notionals, | ||
const std::vector< std::string > & | notionalDates | ||
) |
Definition at line 39 of file balanceguaranteedswap.hpp.
const std::string & description | ( | ) | const |
Definition at line 46 of file balanceguaranteedswap.hpp.
const std::string & securityId | ( | ) | const |
Definition at line 47 of file balanceguaranteedswap.hpp.
int seniority | ( | ) | const |
Definition at line 48 of file balanceguaranteedswap.hpp.
const std::vector< QuantLib::Real > & notionals | ( | ) | const |
Definition at line 49 of file balanceguaranteedswap.hpp.
const std::vector< std::string > & notionalDates | ( | ) | const |
Definition at line 50 of file balanceguaranteedswap.hpp.
|
overridevirtual |
Implements XMLSerializable.
Definition at line 36 of file balanceguaranteedswap.cpp.
|
overridevirtual |
Implements XMLSerializable.
Definition at line 45 of file balanceguaranteedswap.cpp.
|
private |
Definition at line 60 of file balanceguaranteedswap.hpp.
|
private |
Definition at line 61 of file balanceguaranteedswap.hpp.
|
private |
Definition at line 62 of file balanceguaranteedswap.hpp.
|
private |
Definition at line 63 of file balanceguaranteedswap.hpp.
|
private |
Definition at line 64 of file balanceguaranteedswap.hpp.