|
From: Francois B. <ig...@gm...> - 2014-06-11 12:20:06
|
Hi, I want to implement some more classes in the add-in. What is the convention for specifying enum parameters? I see some conflicting examples. In termstructures.xml , for qlInterpolatedYieldCurve, the InterpolatorID is defined as a string and there is a complicated parsing algorithm to convert that to an enum. But according to http://quantlib.org/quantlibaddin/extend_enum_tutorial.html the parameters can be declared as enums directly in the XML. There is also a commented out qlPiecewiseYieldCurveImprovements section in piecewiseyieldcurve.xml. I assume this is work in progress. This part also uses the enum way. How should I proceed? thanks Francois Botha |