Login  Register

Enum convention in QuantlibAddin

Posted by igitur on Jun 11, 2014; 12:19pm
URL: http://quantlib.414.s1.nabble.com/Enum-convention-in-QuantlibAddin-tp15450.html

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

------------------------------------------------------------------------------
HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
Find What Matters Most in Your Big Data with HPCC Systems
Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing & Easy Data Exploration
http://p.sf.net/sfu/hpccsystems
_______________________________________________
QuantLib-dev mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-dev