Security configuration. More...
#include <ored/configuration/securityconfig.hpp>
Public Member Functions | |
Constructors/Destructors | |
SecurityConfig (const string &curveID, const string &curveDescription, const string &spreadQuote="", const string &recoveryQuote="", const string &cprQuote="", const string &priceQuote="") | |
Detailed constructor. More... | |
SecurityConfig () | |
Default constructor. 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... | |
Inspectors | |
string | spreadQuote_ |
string | recoveryQuote_ |
string | cprQuote_ |
string | priceQuote_ |
const string & | spreadQuote () |
const string & | recoveryRatesQuote () |
const string & | cprQuote () |
const string & | priceQuote () |
void | fromXML (XMLNode *node) override |
XMLNode * | toXML (XMLDocument &doc) const override |
void | setQuotes () |
Additional Inherited Members | |
Protected Attributes inherited from CurveConfig | |
string | curveID_ |
string | curveDescription_ |
vector< string > | quotes_ |
map< CurveSpec::CurveType, set< string > > | requiredCurveIds_ |
Security configuration.
Definition at line 39 of file securityconfig.hpp.
SecurityConfig | ( | const string & | curveID, |
const string & | curveDescription, | ||
const string & | spreadQuote = "" , |
||
const string & | recoveryQuote = "" , |
||
const string & | cprQuote = "" , |
||
const string & | priceQuote = "" |
||
) |
Detailed constructor.
Definition at line 44 of file securityconfig.hpp.
SecurityConfig | ( | ) |
const string & spreadQuote | ( | ) |
Definition at line 56 of file securityconfig.hpp.
const string & recoveryRatesQuote | ( | ) |
Definition at line 57 of file securityconfig.hpp.
const string & cprQuote | ( | ) |
Definition at line 58 of file securityconfig.hpp.
const string & priceQuote | ( | ) |
Definition at line 59 of file securityconfig.hpp.
|
overridevirtual |
Implements XMLSerializable.
Definition at line 62 of file securityconfig.hpp.
|
overridevirtual |
Implements XMLSerializable.
Definition at line 74 of file securityconfig.hpp.
|
private |
Definition at line 91 of file securityconfig.hpp.
|
private |
Definition at line 102 of file securityconfig.hpp.
|
private |
Definition at line 102 of file securityconfig.hpp.
|
private |
Definition at line 102 of file securityconfig.hpp.
|
private |
Definition at line 102 of file securityconfig.hpp.