Currency configuration. More...
#include <ored/configuration/currencyconfig.hpp>
Public Member Functions | |
CurrencyConfig () | |
const vector< ConfigurableCurrency > & | getCurrencies () const |
check out any configured currencies More... | |
void | fromXML (XMLNode *node) override |
XMLNode * | toXML (XMLDocument &doc) const override |
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... | |
Private Attributes | |
vector< ConfigurableCurrency > | currencies_ |
Currency configuration.
Allows reading a list of currency specifications from XML rather than hard coding each in QuantExt/QuantLib
Definition at line 49 of file currencyconfig.hpp.
CurrencyConfig | ( | ) |
Definition at line 30 of file currencyconfig.cpp.
const vector< ConfigurableCurrency > & getCurrencies | ( | ) | const |
check out any configured currencies
Definition at line 55 of file currencyconfig.hpp.
|
overridevirtual |
Implements XMLSerializable.
Definition at line 32 of file currencyconfig.cpp.
|
overridevirtual |
Implements XMLSerializable.
Definition at line 77 of file currencyconfig.cpp.
|
private |
Definition at line 61 of file currencyconfig.hpp.