Posted by
eric ehlers on
Feb 13, 2006; 3:19am
URL: http://quantlib.414.s1.nabble.com/Customizing-QLAddin-mini-how-to-question-tp4453p4455.html
Hi François
> I'm a new user of Quantlib and I must say that I'm really impressed by the
> quality of your work, many thanks for easing quant life so much !
Thanks very much for the feedback! QLA is a group effort so I'll
accept your compliments on behalf of everyone. :-)
> I agree with Ago's idea about a generic function wrapping every object
> creation. I would also like to suggest to make arguments generic by storing
> them in some sort of map object. User would always have to define two arrays
> for every object instanciation. One array would contain arguments names and
> the second one would contain the corresponding values. A generic function
> would parse and store these arrays in an "argument map" then call the right
> function. I have good examples of such design to provide you with if you are
> interested in that idea. Thanks in advance for your attention,
Yes I'm interested. I'm familiar with the approach but I'd like to
hear your thoughts in greater detail.
I've updated the design docs to reflect Ago's feedback:
http://quantlib.org/objecthandler/design.html#sec_3 http://quantlib.org/quantlibaddin/design.html#sec_5I'll email you directly to discuss your examples, once I've worked
through that I'll update the design doc with any additional info, and
we can get back to quantlib-dev about any next steps.
I'll be busy packaging the release this week and would hope to make
some progress on this in the next couple of weeks.
Regards,
Eric