#include <ored/portfolio/cbo.hpp>
Inheritance diagram for CboReferenceDatum:
Collaboration diagram for CboReferenceDatum:Classes | |
| struct | CboStructure |
Public Member Functions | |
| CboReferenceDatum () | |
| CboReferenceDatum (const string &id) | |
| CboReferenceDatum (const string &id, const CboStructure &cboStructure) | |
| void | fromXML (XMLNode *node) override |
| XMLNode * | toXML (ore::data::XMLDocument &doc) const override |
| const CboStructure & | cbostructure () const |
| void | setCboStructure (const CboStructure &cboStructure) |
Public Member Functions inherited from ReferenceDatum | |
| ReferenceDatum () | |
| Default Constructor. More... | |
| ReferenceDatum (const std::string &type, const std::string &id) | |
| Base class constructor. More... | |
| ReferenceDatum (const std::string &type, const std::string &id, const QuantLib::Date &validFrom) | |
| Base class constructor. More... | |
| void | setType (const string &type) |
| setters More... | |
| void | setId (const string &id) |
| void | setValidFrom (const QuantLib::Date &validFrom) |
| const std::string & | type () const |
| getters More... | |
| const std::string & | id () const |
| const QuantLib::Date & | validFrom () const |
| void | fromXML (XMLNode *node) override |
| XMLNode * | toXML (ore::data::XMLDocument &doc) const override |
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... | |
Static Public Attributes | |
| static constexpr const char * | TYPE = "CBO" |
Private Attributes | |
| CboStructure | cboStructure_ |
Definition at line 57 of file cbo.hpp.
Here is the call graph for this function:| CboReferenceDatum | ( | const string & | id | ) |
Definition at line 58 of file cbo.hpp.
| CboReferenceDatum | ( | const string & | id, |
| const CboStructure & | cboStructure | ||
| ) |
|
overridevirtual |
Implements XMLSerializable.
Definition at line 347 of file cbo.cpp.
Here is the call graph for this function:
|
overridevirtual |
Implements XMLSerializable.
Definition at line 354 of file cbo.cpp.
Here is the call graph for this function:| const CboStructure & cbostructure | ( | ) | const |
| void setCboStructure | ( | const CboStructure & | cboStructure | ) |
Definition at line 65 of file cbo.hpp.
|
private |