#include <ored/configuration/bootstrapconfig.hpp>
Public Member Functions | |
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. More... | |
XMLSerializable interface | |
void | fromXML (ore::data::XMLNode *node) override |
ore::data::XMLNode * | toXML (ore::data::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... | |
Inspectors | |
QuantLib::Real | accuracy_ |
QuantLib::Real | globalAccuracy_ |
bool | dontThrow_ |
QuantLib::Size | maxAttempts_ |
QuantLib::Real | maxFactor_ |
QuantLib::Real | minFactor_ |
QuantLib::Size | dontThrowSteps_ |
QuantLib::Real | accuracy () const |
QuantLib::Real | globalAccuracy () const |
bool | dontThrow () const |
QuantLib::Size | maxAttempts () const |
QuantLib::Real | maxFactor () const |
QuantLib::Real | minFactor () const |
QuantLib::Size | dontThrowSteps () const |
Serializable Bootstrap configuration
Definition at line 35 of file bootstrapconfig.hpp.
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.
Definition at line 27 of file bootstrapconfig.cpp.
|
overridevirtual |
Implements XMLSerializable.
Definition at line 33 of file bootstrapconfig.cpp.
|
overridevirtual |
Implements XMLSerializable.
Definition at line 79 of file bootstrapconfig.cpp.
QuantLib::Real accuracy | ( | ) | const |
QuantLib::Real globalAccuracy | ( | ) | const |
bool dontThrow | ( | ) | const |
QuantLib::Size maxAttempts | ( | ) | const |
QuantLib::Real maxFactor | ( | ) | const |
QuantLib::Real minFactor | ( | ) | const |
QuantLib::Size dontThrowSteps | ( | ) | const |
|
private |
Definition at line 60 of file bootstrapconfig.hpp.
|
private |
Definition at line 61 of file bootstrapconfig.hpp.
|
private |
Definition at line 62 of file bootstrapconfig.hpp.
|
private |
Definition at line 63 of file bootstrapconfig.hpp.
|
private |
Definition at line 64 of file bootstrapconfig.hpp.
|
private |
Definition at line 65 of file bootstrapconfig.hpp.
|
private |
Definition at line 66 of file bootstrapconfig.hpp.