19#include <boost/algorithm/string/join.hpp>
20#include <boost/lexical_cast.hpp>
32 QL_REQUIRE(node,
"No TreasuryLockData Node");
virtual void fromXML(XMLNode *node) override
XMLSerializable interface.
virtual XMLNode * toXML(XMLDocument &doc) const override
BondData originalBondData_
virtual void fromXML(XMLNode *node) override
XMLSerializable interface.
virtual XMLNode * toXML(XMLDocument &doc) const override
Small XML Document wrapper class.
XMLNode * allocNode(const string &nodeName)
util functions that wrap rapidxml
static void checkNode(XMLNode *n, const string &expectedName)
static Real getChildValueAsDouble(XMLNode *node, const string &name, bool mandatory=false, double defaultValue=0.0)
static string getChildValue(XMLNode *node, const string &name, bool mandatory=false, const string &defaultValue=string())
static bool getChildValueAsBool(XMLNode *node, const string &name, bool mandatory=false, bool defaultValue=true)
static XMLNode * getChildNode(XMLNode *n, const string &name="")
static int getChildValueAsInt(XMLNode *node, const string &name, bool mandatory=false, int defaultValue=0)
static XMLNode * addChild(XMLDocument &doc, XMLNode *n, const string &name)
static void appendNode(XMLNode *parent, XMLNode *child)
Classes and functions for log message handling.
Serializable Credit Default Swap.
A class to hold Treasury-Lock data.