Serializable Equity Margin Leg Data. More...
#include <ored/portfolio/equityfxlegdata.hpp>
Public Member Functions | |
EquityMarginLegData () | |
Default constructor. More... | |
EquityMarginLegData (QuantLib::ext::shared_ptr< ore::data::EquityLegData > &equityLegData, const vector< double > &rates, const vector< string > &rateDates=vector< string >(), const double &initialMarginFactor=QuantExt::Null< double >(), const double &multiplier=QuantExt::Null< double >()) | |
Constructor. More... | |
Inspectors | |
const QuantLib::ext::shared_ptr< ore::data::EquityLegData > | equityLegData () |
const vector< double > & | rates () const |
const vector< string > & | rateDates () const |
const double & | initialMarginFactor () const |
const double & | multiplier () 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 | |
QuantLib::ext::shared_ptr< ore::data::EquityLegData > | equityLegData_ |
vector< double > | rates_ |
vector< string > | rateDates_ |
double | initialMarginFactor_ |
double | multiplier_ |
virtual void | fromXML (ore::data::XMLNode *node) override |
virtual ore::data::XMLNode * | toXML (ore::data::XMLDocument &doc) const override |
Additional Inherited Members | |
Protected Attributes inherited from LegAdditionalData | |
std::set< std::string > | indices_ |
Serializable Equity Margin Leg Data.
Definition at line 38 of file equityfxlegdata.hpp.
EquityMarginLegData | ( | QuantLib::ext::shared_ptr< ore::data::EquityLegData > & | equityLegData, |
const vector< double > & | rates, | ||
const vector< string > & | rateDates = vector<string>() , |
||
const double & | initialMarginFactor = QuantExt::Null<double>() , |
||
const double & | multiplier = QuantExt::Null<double>() |
||
) |
Constructor.
Definition at line 43 of file equityfxlegdata.hpp.
const QuantLib::ext::shared_ptr< ore::data::EquityLegData > equityLegData | ( | ) |
Definition at line 51 of file equityfxlegdata.hpp.
const vector< double > & rates | ( | ) | const |
Definition at line 52 of file equityfxlegdata.hpp.
const vector< string > & rateDates | ( | ) | const |
Definition at line 53 of file equityfxlegdata.hpp.
const double & initialMarginFactor | ( | ) | const |
Definition at line 54 of file equityfxlegdata.hpp.
const double & multiplier | ( | ) | const |
Definition at line 55 of file equityfxlegdata.hpp.
|
overridevirtual |
Implements XMLSerializable.
Definition at line 52 of file equityfxlegdata.cpp.
|
overridevirtual |
Implements XMLSerializable.
Definition at line 69 of file equityfxlegdata.cpp.
|
private |
Definition at line 65 of file equityfxlegdata.hpp.
|
private |
Definition at line 66 of file equityfxlegdata.hpp.
|
private |
Definition at line 67 of file equityfxlegdata.hpp.
|
private |
Definition at line 68 of file equityfxlegdata.hpp.
|
private |
Definition at line 69 of file equityfxlegdata.hpp.