Serializable Fixed Leg Data. More...
#include <ored/portfolio/legdata.hpp>
Public Member Functions | |
EquityLegData () | |
Default constructor. More... | |
EquityLegData (EquityReturnType returnType, Real dividendFactor, EquityUnderlying equityUnderlying, Real initialPrice, bool notionalReset, Natural fixingDays=0, const ScheduleData &valuationSchedule=ScheduleData(), string eqCurrency="", string fxIndex="", Real quantity=Null< Real >(), string initialPriceCurrency="") | |
Constructor. More... | |
Inspectors | |
EquityReturnType | returnType () const |
string | eqName () |
Real | dividendFactor () const |
EquityUnderlying | equityIdentifier () const |
Real | initialPrice () const |
Natural | fixingDays () const |
ScheduleData | valuationSchedule () const |
const string & | eqCurrency () const |
const string & | fxIndex () const |
bool | notionalReset () const |
Real | quantity () const |
const string & | initialPriceCurrency () 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 | |
EquityReturnType | returnType_ |
Real | dividendFactor_ = 1.0 |
EquityUnderlying | equityUnderlying_ |
Real | initialPrice_ |
bool | notionalReset_ = false |
Natural | fixingDays_ = 0 |
ScheduleData | valuationSchedule_ |
string | eqCurrency_ = "" |
string | fxIndex_ = "" |
Real | quantity_ |
string | initialPriceCurrency_ |
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 754 of file legdata.hpp.
EquityLegData | ( | ) |
Default constructor.
Definition at line 757 of file legdata.hpp.
EquityLegData | ( | EquityReturnType | returnType, |
Real | dividendFactor, | ||
EquityUnderlying | equityUnderlying, | ||
Real | initialPrice, | ||
bool | notionalReset, | ||
Natural | fixingDays = 0 , |
||
const ScheduleData & | valuationSchedule = ScheduleData() , |
||
string | eqCurrency = "" , |
||
string | fxIndex = "" , |
||
Real | quantity = Null<Real>() , |
||
string | initialPriceCurrency = "" |
||
) |
Constructor.
Definition at line 759 of file legdata.hpp.
EquityReturnType returnType | ( | ) | const |
Definition at line 771 of file legdata.hpp.
string eqName | ( | ) |
Definition at line 772 of file legdata.hpp.
Real dividendFactor | ( | ) | const |
Definition at line 773 of file legdata.hpp.
EquityUnderlying equityIdentifier | ( | ) | const |
Definition at line 774 of file legdata.hpp.
Real initialPrice | ( | ) | const |
Definition at line 775 of file legdata.hpp.
Natural fixingDays | ( | ) | const |
Definition at line 776 of file legdata.hpp.
ScheduleData valuationSchedule | ( | ) | const |
Definition at line 777 of file legdata.hpp.
const string & eqCurrency | ( | ) | const |
Definition at line 778 of file legdata.hpp.
const string & fxIndex | ( | ) | const |
Definition at line 779 of file legdata.hpp.
bool notionalReset | ( | ) | const |
Definition at line 780 of file legdata.hpp.
Real quantity | ( | ) | const |
Definition at line 781 of file legdata.hpp.
const string & initialPriceCurrency | ( | ) | const |
Definition at line 782 of file legdata.hpp.
|
overridevirtual |
Implements XMLSerializable.
Definition at line 618 of file legdata.cpp.
|
overridevirtual |
Implements XMLSerializable.
Definition at line 665 of file legdata.cpp.
|
private |
Definition at line 791 of file legdata.hpp.
|
private |
Definition at line 792 of file legdata.hpp.
|
private |
Definition at line 793 of file legdata.hpp.
|
private |
Definition at line 794 of file legdata.hpp.
|
private |
Definition at line 795 of file legdata.hpp.
|
private |
Definition at line 796 of file legdata.hpp.
|
private |
Definition at line 797 of file legdata.hpp.
|
private |
Definition at line 798 of file legdata.hpp.
|
private |
Definition at line 799 of file legdata.hpp.
|
private |
Definition at line 800 of file legdata.hpp.
|
private |
Definition at line 801 of file legdata.hpp.