Equity Reference data. More...
#include <ored/portfolio/referencedata.hpp>
Classes | |
struct | EquityData |
Public Member Functions | |
EquityReferenceDatum () | |
EquityReferenceDatum (const std::string &id) | |
EquityReferenceDatum (const std::string &id, const QuantLib::Date &validFrom) | |
EquityReferenceDatum (const std::string &id, const EquityData &equityData) | |
EquityReferenceDatum (const std::string &id, const QuantLib::Date &validFrom, const EquityData &equityData) | |
void | fromXML (XMLNode *node) override |
XMLNode * | toXML (ore::data::XMLDocument &doc) const override |
const EquityData & | equityData () const |
void | setEquityData (const EquityData &equityData) |
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 = "Equity" |
Protected Attributes | |
EquityData | equityData_ |
Equity Reference data.
Definition at line 463 of file referencedata.hpp.
Definition at line 481 of file referencedata.hpp.
EquityReferenceDatum | ( | const std::string & | id | ) |
Definition at line 483 of file referencedata.hpp.
EquityReferenceDatum | ( | const std::string & | id, |
const QuantLib::Date & | validFrom | ||
) |
Definition at line 485 of file referencedata.hpp.
EquityReferenceDatum | ( | const std::string & | id, |
const EquityData & | equityData | ||
) |
Definition at line 488 of file referencedata.hpp.
EquityReferenceDatum | ( | const std::string & | id, |
const QuantLib::Date & | validFrom, | ||
const EquityData & | equityData | ||
) |
Definition at line 490 of file referencedata.hpp.
|
overridevirtual |
Reimplemented from ReferenceDatum.
Definition at line 559 of file referencedata.cpp.
|
overridevirtual |
Reimplemented from ReferenceDatum.
Definition at line 577 of file referencedata.cpp.
const EquityData & equityData | ( | ) | const |
void setEquityData | ( | const EquityData & | equityData | ) |
|
staticconstexpr |
Definition at line 465 of file referencedata.hpp.
|
protected |
Definition at line 501 of file referencedata.hpp.