#include <ored/portfolio/underlying.hpp>
Inheritance diagram for EquityUnderlying:
Collaboration diagram for EquityUnderlying:Public Member Functions | |
| EquityUnderlying () | |
| Default constructor. More... | |
| EquityUnderlying (const std::string &equityName) | |
| Constructor with equity name. More... | |
| EquityUnderlying (const std::string &name, const std::string &identifierType, const std::string ¤cy, const std::string &exchange, const QuantLib::Real weight) | |
| Constructor with identifier information. More... | |
| const std::string & | name () const override |
| const std::string & | identifierType () const |
| const std::string & | currency () const |
| const std::string & | exchange () const |
| void | setEquityName () |
| set name of equity More... | |
Public Member Functions inherited from Underlying | |
| Underlying () | |
| Default Constructor. More... | |
| Underlying (const std::string &type, const std::string &name, const QuantLib::Real weight=QuantLib::Null< QuantLib::Real >()) | |
| Constructor with type, name, weight. More... | |
| void | setType (const string &type) |
| void | setName (const string &name) |
| void | setWeight (const QuantLib::Real weight) |
| void | setNodeName (const string &nodeName) |
| void | setBasicUnderlyingNodeName (const string &basicUnderlyingNodeName) |
| const std::string & | type () const |
| Real | weight () 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 | equityName_ |
| std::string | identifierType_ |
| std::string | currency_ |
| std::string | exchange_ |
| void | fromXML (XMLNode *node) override |
| XMLNode * | toXML (XMLDocument &doc) const override |
Additional Inherited Members | |
Protected Attributes inherited from Underlying | |
| std::string | type_ |
| std::string | name_ |
| Real | weight_ = QuantLib::Null<QuantLib::Real>() |
| std::string | nodeName_ |
| std::string | basicUnderlyingNodeName_ |
| bool | isBasic_ = false |
Definition at line 93 of file underlying.hpp.
| EquityUnderlying | ( | ) |
Default constructor.
Definition at line 96 of file underlying.hpp.
Here is the call graph for this function:
|
explicit |
| EquityUnderlying | ( | const std::string & | name, |
| const std::string & | identifierType, | ||
| const std::string & | currency, | ||
| const std::string & | exchange, | ||
| const QuantLib::Real | weight | ||
| ) |
Constructor with identifier information.
Definition at line 102 of file underlying.hpp.
Here is the call graph for this function:
|
overridevirtual |
Reimplemented from Underlying.
Definition at line 109 of file underlying.hpp.
Here is the caller graph for this function:| const std::string & identifierType | ( | ) | const |
Definition at line 110 of file underlying.hpp.
| const std::string & currency | ( | ) | const |
Definition at line 111 of file underlying.hpp.
| const std::string & exchange | ( | ) | const |
Definition at line 112 of file underlying.hpp.
| void setEquityName | ( | ) |
set name of equity
Definition at line 65 of file underlying.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:
|
overridevirtual |
Reimplemented from Underlying.
Definition at line 81 of file underlying.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:
|
overridevirtual |
Reimplemented from Underlying.
Definition at line 102 of file underlying.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 124 of file underlying.hpp.
|
private |
Definition at line 124 of file underlying.hpp.
|
private |
Definition at line 124 of file underlying.hpp.
|
private |
Definition at line 124 of file underlying.hpp.