28 Real minFactor, Size dontThrowSteps)
29 : accuracy_(accuracy), globalAccuracy_(globalAccuracy == Null<Real>() ? accuracy_ : globalAccuracy),
30 dontThrow_(dontThrow), maxAttempts_(maxAttempts), maxFactor_(maxFactor), minFactor_(minFactor),
31 dontThrowSteps_(dontThrowSteps) {}
Class for holding bootstrap configurations.
QuantLib::Real globalAccuracy_
QuantLib::Size dontThrowSteps() const
QuantLib::Size maxAttempts_
void fromXML(ore::data::XMLNode *node) override
BootstrapConfig(QuantLib::Real accuracy=1.0e-12, QuantLib::Real globalAccuracy=QuantLib::Null< QuantLib::Real >(), bool dontThrow=false, QuantLib::Size maxAttempts=5, QuantLib::Real maxFactor=2.0, QuantLib::Real minFactor=2.0, QuantLib::Size dontThrowSteps=10)
Constructor.
ore::data::XMLNode * toXML(ore::data::XMLDocument &doc) const override
QuantLib::Size maxAttempts() const
QuantLib::Real maxFactor_
QuantLib::Size dontThrowSteps_
QuantLib::Real minFactor_
Small XML Document wrapper class.
XMLNode * allocNode(const string &nodeName)
util functions that wrap rapidxml
static void checkNode(XMLNode *n, const string &expectedName)
static XMLNode * getChildNode(XMLNode *n, const string &name="")
static string getNodeValue(XMLNode *node)
Get a node's value.
static XMLNode * addChild(XMLDocument &doc, XMLNode *n, const string &name)
bool parseBool(const string &s)
Convert text to bool.
Real parseReal(const string &s)
Convert text to Real.
Integer parseInteger(const string &s)
Convert text to QuantLib::Integer.
Serializable Credit Default Swap.
Map text representations to QuantLib/QuantExt types.