#include <ored/model/modeldata.hpp>
Inheritance diagram for ModelData:
Collaboration diagram for ModelData:Public Member Functions | |
| ModelData () | |
| Default constructor. More... | |
| ModelData (CalibrationType calibrationType, const std::vector< CalibrationBasket > &calibrationBaskets) | |
| Detailed constructor. More... | |
Inspectors | |
| CalibrationType | calibrationType () const |
| const std::vector< CalibrationBasket > & | calibrationBaskets () 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 | |
| CalibrationType | calibrationType_ |
| std::vector< CalibrationBasket > | calibrationBaskets_ |
| void | fromXML (XMLNode *node) override |
| virtual void | append (XMLDocument &doc, XMLNode *node) const |
| Method used by toXML in derived classes to add the members here to a node. More... | |
Abstract base class for holding model data.
Definition at line 37 of file modeldata.hpp.
| ModelData | ( | ) |
| ModelData | ( | CalibrationType | calibrationType, |
| const std::vector< CalibrationBasket > & | calibrationBaskets | ||
| ) |
Detailed constructor.
Definition at line 30 of file modeldata.cpp.
| CalibrationType calibrationType | ( | ) | const |
Definition at line 34 of file modeldata.cpp.
| const vector< CalibrationBasket > & calibrationBaskets | ( | ) | const |
Definition at line 38 of file modeldata.cpp.
|
overridevirtual |
Implements XMLSerializable.
Definition at line 42 of file modeldata.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:
|
protectedvirtual |
Method used by toXML in derived classes to add the members here to a node.
Reimplemented in InflationModelData.
Definition at line 56 of file modeldata.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 59 of file modeldata.hpp.
|
protected |
Definition at line 66 of file modeldata.hpp.