Logo
Reference manual - version ored_version
Public Member Functions | List of all members
CalibrationBasket Class Reference

#include <ored/model/calibrationbasket.hpp>

+ Inheritance diagram for CalibrationBasket:

Public Member Functions

 CalibrationBasket ()
 Default constructor, empty calibration basket.
 
 CalibrationBasket (const std::vector< boost::shared_ptr< CalibrationInstrument >> &instruments)
 Detailed constructor.
 
Inspectors
const std::string & instrumentType () const
 
const std::vector< boost::shared_ptr< CalibrationInstrument > > & instruments () const
 
const std::string & parameter () const
 
- Public Member Functions inherited from XMLSerializable
void fromFile (const std::string &filename)
 
void toFile (const std::string &filename)
 
void fromXMLString (const std::string &xml)
 Parse from XML string.
 
std::string toXMLString ()
 Parse from XML string.
 

Serialisation

void fromXML (XMLNode *node) override
 
XMLNodetoXML (XMLDocument &doc) override
 
bool empty () const
 Returns true if the calibration basket is empty.
 

Detailed Description

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.