#include <ored/portfolio/commodityspreadoption.hpp>
Inheritance diagram for CommoditySpreadOptionData:
Collaboration diagram for CommoditySpreadOptionData:Classes | |
| class | OptionStripData |
Public Member Functions | |
| CommoditySpreadOptionData () | |
| CommoditySpreadOptionData (const std::vector< ore::data::LegData > &legData, const ore::data::OptionData &optionData, QuantLib::Real strike) | |
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::vector< ore::data::LegData > | legData_ |
| ore::data::OptionData | optionData_ |
| QuantLib::Real | strike_ |
| boost::optional< OptionStripData > | optionStrip_ |
| void | fromXML (XMLNode *node) override |
| XMLNode * | toXML (XMLDocument &doc) const override |
| const std::vector< ore::data::LegData > & | legData () const |
| const ore::data::OptionData & | optionData () const |
| QuantLib::Real | strike () const |
| boost::optional< OptionStripData > | optionStrip () |
| QuantLib::ext::shared_ptr< ore::data::LegData > | createLegData () const |
Definition at line 26 of file commodityspreadoption.hpp.
Definition at line 47 of file commodityspreadoption.hpp.
| CommoditySpreadOptionData | ( | const std::vector< ore::data::LegData > & | legData, |
| const ore::data::OptionData & | optionData, | ||
| QuantLib::Real | strike | ||
| ) |
Definition at line 48 of file commodityspreadoption.hpp.
|
overridevirtual |
Implements XMLSerializable.
Definition at line 339 of file commodityspreadoption.cpp.
Here is the call graph for this function:
|
overridevirtual |
Implements XMLSerializable.
Definition at line 366 of file commodityspreadoption.cpp.
Here is the call graph for this function:| const std::vector< ore::data::LegData > & legData | ( | ) | const |
Definition at line 57 of file commodityspreadoption.hpp.
| const ore::data::OptionData & optionData | ( | ) | const |
Definition at line 58 of file commodityspreadoption.hpp.
Here is the caller graph for this function:| QuantLib::Real strike | ( | ) | const |
Definition at line 59 of file commodityspreadoption.hpp.
Here is the caller graph for this function:| boost::optional< OptionStripData > optionStrip | ( | ) |
Definition at line 60 of file commodityspreadoption.hpp.
Here is the caller graph for this function:
|
private |
Definition at line 63 of file commodityspreadoption.hpp.
|
private |
Definition at line 65 of file commodityspreadoption.hpp.
|
private |
Definition at line 66 of file commodityspreadoption.hpp.
|
private |
Definition at line 67 of file commodityspreadoption.hpp.
|
private |
Definition at line 69 of file commodityspreadoption.hpp.