FXSpot configuration. More...
#include <ored/configuration/fxspotconfig.hpp>
Public Member Functions | |
Constructors/Destructors | |
FXSpotConfig (const string &curveID, const string &curveDescription) | |
Detailed constructor. More... | |
FXSpotConfig () | |
Default constructor. More... | |
void | fromXML (XMLNode *node) override |
XMLNode * | toXML (XMLDocument &doc) const override |
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... | |
Additional Inherited Members | |
Protected Attributes inherited from CurveConfig | |
string | curveID_ |
string | curveDescription_ |
vector< string > | quotes_ |
map< CurveSpec::CurveType, set< string > > | requiredCurveIds_ |
FXSpot configuration.
Definition at line 42 of file fxspotconfig.hpp.
FXSpotConfig | ( | const string & | curveID, |
const string & | curveDescription | ||
) |
Detailed constructor.
Definition at line 47 of file fxspotconfig.hpp.
FXSpotConfig | ( | ) |
|
overridevirtual |
Implements XMLSerializable.
Definition at line 57 of file fxspotconfig.hpp.
|
overridevirtual |
Implements XMLSerializable.
Definition at line 68 of file fxspotconfig.hpp.