#include <ored/model/crcirdata.hpp>
Public Types | |
enum class | CalibrationStrategy { CurveAndFlatVol , None } |
Public Member Functions | |
CrCirData () | |
Default constructor. More... | |
CrCirData (std::string name, std::string currency, CalibrationType calibrationType, CalibrationStrategy calibrationStrategy, Real startValue, Real reversionValue, Real longTermValue, Real volatility, bool relaxedFeller, Real fellerFactor, Real tolerance, std::vector< std::string > optionExpiries=std::vector< std::string >(), std::vector< std::string > optionTerms=std::vector< std::string >(), std::vector< std::string > optionStrikes=std::vector< std::string >()) | |
Detailed constructor. More... | |
Serialisation | |
void | fromXML (XMLNode *node) override |
XMLNode * | toXML (XMLDocument &doc) const override |
Setters/Getters | |
setter/getter for qualifier in derived classes | |
std::string & | name () |
std::string & | currency () |
CalibrationType & | calibrationType () |
CalibrationStrategy & | calibrationStrategy () |
Real & | startValue () |
Real & | reversionValue () |
Real & | longTermValue () |
Real & | volatility () |
std::vector< std::string > & | optionExpiries () |
std::vector< std::string > & | optionTerms () |
std::vector< std::string > & | optionStrikes () |
bool & | relaxedFeller () |
Real & | fellerFactor () |
Real & | tolerance () |
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... | |
Operators | |
std::string | name_ |
std::string | currency_ |
CalibrationType | calibrationType_ |
CalibrationStrategy | calibrationStrategy_ |
Real | startValue_ |
Real | reversionValue_ |
Real | longTermValue_ |
Real | volatility_ |
bool | relaxedFeller_ |
Real | fellerFactor_ |
Real | tolerance_ |
std::vector< std::string > | optionExpiries_ |
std::vector< std::string > | optionTerms_ |
std::vector< std::string > | optionStrikes_ |
bool | operator== (const CrCirData &rhs) |
bool | operator!= (const CrCirData &rhs) |
Definition at line 40 of file crcirdata.hpp.
|
strong |
CrCirData | ( | ) |
CrCirData | ( | std::string | name, |
std::string | currency, | ||
CalibrationType | calibrationType, | ||
CalibrationStrategy | calibrationStrategy, | ||
Real | startValue, | ||
Real | reversionValue, | ||
Real | longTermValue, | ||
Real | volatility, | ||
bool | relaxedFeller, | ||
Real | fellerFactor, | ||
Real | tolerance, | ||
std::vector< std::string > | optionExpiries = std::vector<std::string>() , |
||
std::vector< std::string > | optionTerms = std::vector<std::string>() , |
||
std::vector< std::string > | optionStrikes = std::vector<std::string>() |
||
) |
Detailed constructor.
Definition at line 48 of file crcirdata.hpp.
|
overridevirtual |
Implements XMLSerializable.
Definition at line 62 of file crcirdata.cpp.
|
overridevirtual |
Implements XMLSerializable.
Definition at line 125 of file crcirdata.cpp.
std::string & name | ( | ) |
Definition at line 69 of file crcirdata.hpp.
std::string & currency | ( | ) |
Definition at line 70 of file crcirdata.hpp.
CalibrationType & calibrationType | ( | ) |
Definition at line 71 of file crcirdata.hpp.
CalibrationStrategy & calibrationStrategy | ( | ) |
Definition at line 72 of file crcirdata.hpp.
Real & startValue | ( | ) |
Definition at line 73 of file crcirdata.hpp.
Real & reversionValue | ( | ) |
Definition at line 74 of file crcirdata.hpp.
Real & longTermValue | ( | ) |
Definition at line 75 of file crcirdata.hpp.
Real & volatility | ( | ) |
Definition at line 76 of file crcirdata.hpp.
std::vector< std::string > & optionExpiries | ( | ) |
std::vector< std::string > & optionTerms | ( | ) |
std::vector< std::string > & optionStrikes | ( | ) |
bool & relaxedFeller | ( | ) |
Definition at line 80 of file crcirdata.hpp.
Real & fellerFactor | ( | ) |
Definition at line 81 of file crcirdata.hpp.
Real & tolerance | ( | ) |
Definition at line 82 of file crcirdata.hpp.
Definition at line 25 of file crcirdata.cpp.
Definition at line 40 of file crcirdata.cpp.
|
private |
Definition at line 92 of file crcirdata.hpp.
|
private |
Definition at line 93 of file crcirdata.hpp.
|
private |
Definition at line 94 of file crcirdata.hpp.
|
private |
Definition at line 95 of file crcirdata.hpp.
|
private |
Definition at line 96 of file crcirdata.hpp.
|
private |
Definition at line 96 of file crcirdata.hpp.
|
private |
Definition at line 96 of file crcirdata.hpp.
|
private |
Definition at line 96 of file crcirdata.hpp.
|
private |
Definition at line 97 of file crcirdata.hpp.
|
private |
Definition at line 98 of file crcirdata.hpp.
|
private |
Definition at line 99 of file crcirdata.hpp.
|
private |
Definition at line 100 of file crcirdata.hpp.
|
private |
Definition at line 101 of file crcirdata.hpp.
|
private |
Definition at line 102 of file crcirdata.hpp.