Re: Contribute some code
Posted by eric ehlers on Dec 23, 2005; 11:29am
URL: http://quantlib.414.s1.nabble.com/Re-Quantlib-users-what-do-I-need-to-make-run-an-xll-tp10719p10722.html
Hi Marco,
> I've used QuantLibAddin to build a couple of spreadsheet for training
> purposes.
> I've added a handful of functions:
Fantastic.
> Should I commit these additions?
That would be much appreciated. I've just completed a large batch of
enhancements to the srcgen script so unfortunately your code will
probably need some updates to bring it in line with CVS.
> of day counters. Is it possible, in the framework of QuantLibAddin, to use
> these
> as functions without having to export the Calendar/Day counter constructor?
> If so, how do you do that?
In a metadata file having headerOnly='true' you define your functions
with class Procedure. Then somewhere under qla you implement a
wrapper for the QuantLib function. For examples of this please see
srcgen/utilities.xml
qla/utilites.cpp
Regards,
Eric