Default curve configuration. More...
#include <ored/configuration/defaultcurveconfig.hpp>
Inheritance diagram for DefaultCurveConfig:
Collaboration diagram for DefaultCurveConfig:Classes | |
| class | Config |
Public Member Functions | |
| DefaultCurveConfig (const string &curveId, const string &curveDescription, const string ¤cy, const std::map< int, Config > &configs) | |
| the curve builder will try to build the configs by ascending key in the map, first success wins More... | |
| DefaultCurveConfig (const string &curveID, const string &curveDescription, const string ¤cy, const Config &config) | |
| single config ctor More... | |
| DefaultCurveConfig () | |
| default ctor More... | |
Public Member Functions inherited from CurveConfig | |
| CurveConfig (const string &curveID, const string &curveDescription, const vector< string > "es=vector< string >()) | |
| Detailed constructor. More... | |
| CurveConfig () | |
| Default constructor. More... | |
| 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 |
| 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... | |
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::string | currency_ |
| std::map< int, Config > | configs_ |
| void | fromXML (XMLNode *node) override |
| XMLNode * | toXML (XMLDocument &doc) const override |
| const string & | currency () const |
| const std::map< int, Config > & | configs () const |
| void | populateQuotes () |
| void | populateRequiredCurveIds () |
| void | populateRequiredCurveIds (const std::string &discountCurveID, const std::string &benchmarkCurveID, const std::string &sourceCurveID, const std::vector< std::string > &multiSectionSourceCurveIds) |
Additional Inherited Members | |
Protected Attributes inherited from CurveConfig | |
| string | curveID_ |
| string | curveDescription_ |
| vector< string > | quotes_ |
| map< CurveSpec::CurveType, set< string > > | requiredCurveIds_ |
Default curve configuration.
Definition at line 49 of file defaultcurveconfig.hpp.
| DefaultCurveConfig | ( | const string & | curveId, |
| const string & | curveDescription, | ||
| const string & | currency, | ||
| const std::map< int, Config > & | configs | ||
| ) |
the curve builder will try to build the configs by ascending key in the map, first success wins
Definition at line 33 of file defaultcurveconfig.cpp.
Here is the call graph for this function:| DefaultCurveConfig | ( | const string & | curveID, |
| const string & | curveDescription, | ||
| const string & | currency, | ||
| const Config & | config | ||
| ) |
single config ctor
Definition at line 173 of file defaultcurveconfig.hpp.
|
overridevirtual |
Implements XMLSerializable.
Definition at line 78 of file defaultcurveconfig.cpp.
Here is the call graph for this function:
|
overridevirtual |
Implements XMLSerializable.
Definition at line 101 of file defaultcurveconfig.cpp.
Here is the call graph for this function:| const string & currency | ( | ) | const |
Definition at line 185 of file defaultcurveconfig.hpp.
| const std::map< int, Config > & configs | ( | ) | const |
|
private |
Definition at line 65 of file defaultcurveconfig.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 58 of file defaultcurveconfig.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 43 of file defaultcurveconfig.cpp.
Here is the call graph for this function:
|
private |
Definition at line 194 of file defaultcurveconfig.hpp.
|
private |
Definition at line 195 of file defaultcurveconfig.hpp.