#include <ored/configuration/volatilityconfig.hpp>
Public Member Functions | |
VolatilityConfig (std::string calendarStr=std::string(), QuantLib::Natural priority=0) | |
void | fromXMLNode (ore::data::XMLNode *node) |
void | toXMLNode (XMLDocument &doc, XMLNode *node) const |
QuantLib::Natural | priority () const |
Calendar | calendar () const |
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... | |
Private Attributes | |
Calendar | calendar_ |
string | calendarStr_ |
QuantLib::Natural | priority_ |
Shared volatility configurations
Definition at line 36 of file volatilityconfig.hpp.
VolatilityConfig | ( | std::string | calendarStr = std::string() , |
QuantLib::Natural | priority = 0 |
||
) |
Definition at line 35 of file volatilityconfig.cpp.
void fromXMLNode | ( | ore::data::XMLNode * | node | ) |
Definition at line 40 of file volatilityconfig.cpp.
void toXMLNode | ( | XMLDocument & | doc, |
XMLNode * | node | ||
) | const |
Definition at line 48 of file volatilityconfig.cpp.
QuantLib::Natural priority | ( | ) | const |
Calendar calendar | ( | ) | const |
Definition at line 44 of file volatilityconfig.hpp.
|
private |
Definition at line 47 of file volatilityconfig.hpp.
|
private |
Definition at line 48 of file volatilityconfig.hpp.
|
private |
Definition at line 49 of file volatilityconfig.hpp.