#include <ored/portfolio/underlying.hpp>
Inheritance diagram for BasicUnderlying:
Collaboration diagram for BasicUnderlying:Public Member Functions | |
| BasicUnderlying () | |
| Default Constructor. More... | |
| BasicUnderlying (const std::string &name) | |
| Constructor with identifier. More... | |
Serialisation | |
| void | fromXML (XMLNode *node) override |
| XMLNode * | toXML (XMLDocument &doc) const override |
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 |
| virtual const std::string & | name () 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... | |
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 75 of file underlying.hpp.
| BasicUnderlying | ( | ) |
Default Constructor.
Definition at line 78 of file underlying.hpp.
Here is the call graph for this function:
|
explicit |
|
overridevirtual |
Reimplemented from Underlying.
Definition at line 50 of file underlying.cpp.
Here is the call graph for this function:
|
overridevirtual |
Reimplemented from Underlying.
Definition at line 60 of file underlying.cpp.
Here is the call graph for this function: