#include <ored/model/calibrationbasket.hpp>
Inheritance diagram for CalibrationBasket:
Collaboration diagram for CalibrationBasket:Public Member Functions | |
| CalibrationBasket () | |
| Default constructor, empty calibration basket. More... | |
| CalibrationBasket (const std::vector< QuantLib::ext::shared_ptr< CalibrationInstrument > > &instruments) | |
| Detailed constructor. More... | |
Inspectors | |
| const std::string & | instrumentType () const |
| const std::vector< QuantLib::ext::shared_ptr< CalibrationInstrument > > & | instruments () const |
| const std::string & | parameter () 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::vector< QuantLib::ext::shared_ptr< CalibrationInstrument > > | instruments_ |
| std::string | instrumentType_ |
| std::string | parameter_ |
| The parameter tag may be given so that builders know how to use the calibration basket. More... | |
| void | fromXML (XMLNode *node) override |
| XMLNode * | toXML (XMLDocument &doc) const override |
| bool | empty () const |
Returns true if the calibration basket is empty. More... | |
Class for holding calibration instruments of the same type for a model.
If you need to calibrate a model to instruments of different types, use multiple calibration baskets.
Definition at line 59 of file calibrationbasket.hpp.
Default constructor, empty calibration basket.
Definition at line 35 of file calibrationbasket.cpp.
| CalibrationBasket | ( | const std::vector< QuantLib::ext::shared_ptr< CalibrationInstrument > > & | instruments | ) |
Detailed constructor.
Definition at line 37 of file calibrationbasket.cpp.
| const string & instrumentType | ( | ) | const |
| const vector< QuantLib::ext::shared_ptr< CalibrationInstrument > > & instruments | ( | ) | const |
| const string & parameter | ( | ) | const |
Definition at line 61 of file calibrationbasket.cpp.
|
overridevirtual |
Implements XMLSerializable.
Definition at line 65 of file calibrationbasket.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:
|
overridevirtual |
Implements XMLSerializable.
Definition at line 97 of file calibrationbasket.cpp.
Here is the call graph for this function:| bool empty | ( | ) | const |
Returns true if the calibration basket is empty.
Definition at line 111 of file calibrationbasket.cpp.
Here is the caller graph for this function:
|
private |
Definition at line 84 of file calibrationbasket.hpp.
|
private |
Definition at line 85 of file calibrationbasket.hpp.
|
private |
The parameter tag may be given so that builders know how to use the calibration basket.
Definition at line 87 of file calibrationbasket.hpp.