#include <ored/portfolio/optionexercisedata.hpp>
Inheritance diagram for OptionExerciseData:
Collaboration diagram for OptionExerciseData:Public Member Functions | |
| OptionExerciseData () | |
| Default constructor. More... | |
| OptionExerciseData (const std::string &date, const std::string &price) | |
| Constructor taking an exercise date and exercise price. More... | |
Inspectors | |
| const QuantLib::Date & | date () const |
| QuantLib::Real | price () 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 | strDate_ |
| std::string | strPrice_ |
| QuantLib::Date | date_ |
| QuantLib::Real | price_ |
| virtual void | fromXML (XMLNode *node) override |
| virtual XMLNode * | toXML (XMLDocument &doc) const override |
| void | init () |
| Initialisation. More... | |
Serializable object holding option exercise data for options that have been exercised.
Definition at line 35 of file optionexercisedata.hpp.
Default constructor.
Definition at line 31 of file optionexercisedata.cpp.
| OptionExerciseData | ( | const std::string & | date, |
| const std::string & | price | ||
| ) |
Constructor taking an exercise date and exercise price.
Definition at line 33 of file optionexercisedata.cpp.
Here is the call graph for this function:| const QuantLib::Date & date | ( | ) | const |
Definition at line 45 of file optionexercisedata.hpp.
| QuantLib::Real price | ( | ) | const |
Definition at line 46 of file optionexercisedata.hpp.
|
overridevirtual |
Implements XMLSerializable.
Definition at line 37 of file optionexercisedata.cpp.
Here is the call graph for this function:
|
overridevirtual |
Implements XMLSerializable.
Definition at line 44 of file optionexercisedata.cpp.
Here is the call graph for this function:
|
private |
Initialisation.
Definition at line 52 of file optionexercisedata.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 56 of file optionexercisedata.hpp.
|
private |
Definition at line 57 of file optionexercisedata.hpp.
|
private |
Definition at line 59 of file optionexercisedata.hpp.
|
private |
Definition at line 60 of file optionexercisedata.hpp.