std::string valueString_
store a string version of the value, this ensures toXML values matches fromXML input
std::string currency() const
void fromXMLNode(XMLNode *node)
QuantLib::Real value() const
void toXMLNode(XMLDocument &doc, XMLNode *node)
Small XML Document wrapper class.
static string getChildValue(XMLNode *node, const string &name, bool mandatory=false, const string &defaultValue=string())
static XMLNode * addChild(XMLDocument &doc, XMLNode *n, const string &name)
Currency parseCurrencyWithMinors(const string &s)
Convert text to QuantLib::Currency.
QuantLib::Real convertMinorToMajorCurrency(const std::string &s, QuantLib::Real value)
Convert a value from a minor ccy to major.
Real parseReal(const string &s)
Convert text to Real.
Serializable Credit Default Swap.
Map text representations to QuantLib/QuantExt types.