28 LOG(
"LGM with attribute (name) = " <<
name_);
39 "vector size mismatch in cds option expiries/terms for name " <<
name_);
43 "vector size mismatch in cds option expiries/strikes for name " <<
name_);
void fromXML(XMLNode *node) override
XMLNode * toXML(XMLDocument &doc) const override
std::vector< std::string > & optionExpiries() const
virtual void fromXML(XMLNode *node) override
virtual XMLNode * toXML(XMLDocument &doc) const override
std::vector< std::string > & optionTerms() const
std::vector< std::string > & optionStrikes() const
Small XML Document wrapper class.
static void addAttribute(XMLDocument &doc, XMLNode *node, const string &attrName, const string &attrValue)
static string getAttribute(XMLNode *node, const string &attrName)
static void addGenericChildAsList(XMLDocument &doc, XMLNode *n, const string &name, const vector< T > &values, const string &attrName="", const string &attr="")
static XMLNode * getChildNode(XMLNode *n, const string &name="")
static vector< string > getChildrenValuesAsStrings(XMLNode *node, const string &name, bool mandatory=false)
static XMLNode * addChild(XMLDocument &doc, XMLNode *n, const string &name)
CR component data for the cross asset model.
Classes and functions for log message handling.
#define LOG(text)
Logging Macro (Level = Notice)
Size size(const ValueType &v)
Serializable Credit Default Swap.
Map text representations to QuantLib/QuantExt types.