Serializable Equity Option Underlying Data, this represents one underlying in EquityOptionPositionData. More...
#include <ored/portfolio/equityoptionposition.hpp>
Inheritance diagram for EquityOptionUnderlyingData:
Collaboration diagram for EquityOptionUnderlyingData:Public Member Functions | |
| EquityOptionUnderlyingData () | |
| EquityOptionUnderlyingData (const EquityUnderlying &underlying, const OptionData &optionData, const Real strike) | |
| const EquityUnderlying & | underlying () const |
| const OptionData & | optionData () const |
| Real | strike () const |
| void | fromXML (XMLNode *node) override |
| XMLNode * | toXML (XMLDocument &doc) const override |
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... | |
Private Attributes | |
| EquityUnderlying | underlying_ |
| OptionData | optionData_ |
| Real | strike_ |
Serializable Equity Option Underlying Data, this represents one underlying in EquityOptionPositionData.
Definition at line 39 of file equityoptionposition.hpp.
Definition at line 41 of file equityoptionposition.hpp.
| EquityOptionUnderlyingData | ( | const EquityUnderlying & | underlying, |
| const OptionData & | optionData, | ||
| const Real | strike | ||
| ) |
Definition at line 42 of file equityoptionposition.hpp.
| const EquityUnderlying & underlying | ( | ) | const |
Definition at line 45 of file equityoptionposition.hpp.
| const OptionData & optionData | ( | ) | const |
Definition at line 46 of file equityoptionposition.hpp.
| Real strike | ( | ) | const |
Definition at line 47 of file equityoptionposition.hpp.
|
overridevirtual |
Implements XMLSerializable.
Definition at line 28 of file equityoptionposition.cpp.
Here is the call graph for this function:
|
overridevirtual |
Implements XMLSerializable.
Definition at line 39 of file equityoptionposition.cpp.
Here is the call graph for this function:
|
private |
Definition at line 53 of file equityoptionposition.hpp.
|
private |
Definition at line 54 of file equityoptionposition.hpp.
|
private |
Definition at line 55 of file equityoptionposition.hpp.