Serializable obejct holding range bound data. More...
#include <ored/portfolio/rangebound.hpp>
Inheritance diagram for RangeBound:
Collaboration diagram for RangeBound:Public Member Functions | |
| RangeBound () | |
| Default constructor. More... | |
| RangeBound (const Real from, const Real to, const Real leverage, const Real strike, const Real strikeAdjustment) | |
| Constructor. More... | |
Inspectors | |
| Real | from () const |
| Real | to () const |
| Real | leverage () const |
| Real | strike () const |
| Real | strikeAdjustment () 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 | |
| Real | from_ |
| Real | to_ |
| Real | leverage_ |
| Real | strike_ |
| Real | strikeAdjustment_ |
| virtual void | fromXML (ore::data::XMLNode *node) override |
| virtual ore::data::XMLNode * | toXML (ore::data::XMLDocument &doc) const override |
Serializable obejct holding range bound data.
Definition at line 39 of file rangebound.hpp.
| RangeBound | ( | ) |
| RangeBound | ( | const Real | from, |
| const Real | to, | ||
| const Real | leverage, | ||
| const Real | strike, | ||
| const Real | strikeAdjustment | ||
| ) |
Constructor.
Definition at line 44 of file rangebound.hpp.
| Real from | ( | ) | const |
| Real to | ( | ) | const |
| Real leverage | ( | ) | const |
| Real strike | ( | ) | const |
| Real strikeAdjustment | ( | ) | const |
|
overridevirtual |
Implements XMLSerializable.
Definition at line 27 of file rangebound.cpp.
Here is the call graph for this function:
|
overridevirtual |
Implements XMLSerializable.
Definition at line 51 of file rangebound.cpp.
Here is the call graph for this function:
|
private |
Definition at line 63 of file rangebound.hpp.
|
private |
Definition at line 63 of file rangebound.hpp.
|
private |
Definition at line 63 of file rangebound.hpp.
|
private |
Definition at line 63 of file rangebound.hpp.
|
private |
Definition at line 63 of file rangebound.hpp.