Serializable obejct holding barrier data. More...
#include <ored/portfolio/barrierdata.hpp>
Inheritance diagram for BarrierData:
Collaboration diagram for BarrierData:Public Member Functions | |
| BarrierData () | |
| Default constructor. More... | |
| BarrierData (std::string barrierType, std::vector< double > levels, double rebate, std::vector< ore::data::TradeBarrier > tradeBarriers, std::string style="") | |
| Constructor. More... | |
Inspectors | |
| const std::string & | type () const |
| double | rebate () const |
| const std::string & | rebateCurrency () const |
| const std::string & | rebatePayTime () const |
| std::vector< ore::data::TradeBarrier > | levels () const |
| const std::string & | style () const |
| bool | initialized () 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 | |
| bool | initialized_ |
| std::string | type_ |
| std::vector< double > | levels_ |
| double | rebate_ |
| std::vector< ore::data::TradeBarrier > | tradeBarriers_ |
| std::string | rebateCurrency_ |
| std::string | rebatePayTime_ |
| std::string | style_ |
| virtual void | fromXML (ore::data::XMLNode *node) override |
| virtual ore::data::XMLNode * | toXML (ore::data::XMLDocument &doc) const override |
Serializable obejct holding barrier data.
Definition at line 34 of file barrierdata.hpp.
| BarrierData | ( | ) |
| BarrierData | ( | std::string | barrierType, |
| std::vector< double > | levels, | ||
| double | rebate, | ||
| std::vector< ore::data::TradeBarrier > | tradeBarriers, | ||
| std::string | style = "" |
||
| ) |
Constructor.
Definition at line 39 of file barrierdata.hpp.
| const std::string & type | ( | ) | const |
| double rebate | ( | ) | const |
| const std::string & rebateCurrency | ( | ) | const |
Definition at line 48 of file barrierdata.hpp.
| const std::string & rebatePayTime | ( | ) | const |
Definition at line 49 of file barrierdata.hpp.
| std::vector< ore::data::TradeBarrier > levels | ( | ) | const |
| const std::string & style | ( | ) | const |
| bool initialized | ( | ) | const |
|
overridevirtual |
Implements XMLSerializable.
Definition at line 25 of file barrierdata.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:
|
overridevirtual |
Implements XMLSerializable.
Definition at line 49 of file barrierdata.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 62 of file barrierdata.hpp.
|
private |
Definition at line 63 of file barrierdata.hpp.
|
private |
Definition at line 64 of file barrierdata.hpp.
|
private |
Definition at line 65 of file barrierdata.hpp.
|
private |
Definition at line 66 of file barrierdata.hpp.
|
private |
Definition at line 67 of file barrierdata.hpp.
|
private |
Definition at line 68 of file barrierdata.hpp.
|
private |
Definition at line 69 of file barrierdata.hpp.