Base curve configuration. More...
#include <ored/configuration/curveconfig.hpp>
Public Member Functions | |
Constructors/Destructors | |
CurveConfig (const string &curveID, const string &curveDescription, const vector< string > "es=vector< string >()) | |
Detailed constructor. More... | |
CurveConfig () | |
Default constructor. More... | |
Inspectors | |
const string & | curveID () const |
const string & | curveDescription () const |
const set< string > & | requiredCurveIds (const CurveSpec::CurveType &curveType) const |
const map< CurveSpec::CurveType, set< string > > & | requiredCurveIds () 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... | |
Setters | |
string | curveID_ |
string | curveDescription_ |
vector< string > | quotes_ |
map< CurveSpec::CurveType, set< string > > | requiredCurveIds_ |
string & | curveID () |
string & | curveDescription () |
set< string > & | requiredCurveIds (const CurveSpec::CurveType &curveType) |
map< CurveSpec::CurveType, set< string > > & | requiredCurveIds () |
virtual const vector< string > & | quotes () |
Return all the market quotes required for this config. More... | |
Base curve configuration.
Definition at line 41 of file curveconfig.hpp.
CurveConfig | ( | const string & | curveID, |
const string & | curveDescription, | ||
const vector< string > & | quotes = vector<string>() |
||
) |
Detailed constructor.
Definition at line 46 of file curveconfig.hpp.
CurveConfig | ( | ) |
const string & curveID | ( | ) | const |
const string & curveDescription | ( | ) | const |
const set< string > & requiredCurveIds | ( | const CurveSpec::CurveType & | curveType | ) | const |
Definition at line 24 of file curveconfig.cpp.
const map< CurveSpec::CurveType, set< string > > & requiredCurveIds | ( | ) | const |
Definition at line 37 of file curveconfig.cpp.
string & curveID | ( | ) |
Definition at line 62 of file curveconfig.hpp.
string & curveDescription | ( | ) |
Definition at line 63 of file curveconfig.hpp.
set< string > & requiredCurveIds | ( | const CurveSpec::CurveType & | curveType | ) |
Definition at line 33 of file curveconfig.cpp.
map< CurveSpec::CurveType, set< string > > & requiredCurveIds | ( | ) |
Definition at line 39 of file curveconfig.cpp.
|
virtual |
Return all the market quotes required for this config.
Reimplemented in BaseCorrelationCurveConfig, CorrelationCurveConfig, FXVolatilityCurveConfig, GenericYieldVolatilityCurveConfig, InflationCapFloorVolatilityCurveConfig, and YieldCurveConfig.
Definition at line 69 of file curveconfig.hpp.
|
protected |
Definition at line 72 of file curveconfig.hpp.
|
protected |
Definition at line 73 of file curveconfig.hpp.
|
protected |
Definition at line 74 of file curveconfig.hpp.
|
protected |
Definition at line 75 of file curveconfig.hpp.