Login  Register

Re: QuantLibXL/ObjectHandler 0.8.0 Released

Posted by eric ehlers on Jun 12, 2007; 3:24pm
URL: http://quantlib.414.s1.nabble.com/Re-QuantLibXL-ObjectHandler-0-8-0-Released-tp9573.html

Hi Piter,

> Hi. How are you?

Life is good, thanks.  Glad to see you're still in action.  Are you
still maintaining the batch script to build QuantLibXL?

> Some time ago I did a Business252 daycounter to QuantLib and you told me it
> would not be so easy to integrate it to QuantLibXL due to design of both
> (QuantLibXL and my class).
> Where you able to do that? I lost the thread where you explained the issues
> about this integration and there is sometime I don´t check the project.
> Is there something I could help?

I don't remember the discussion and can't find any mention of it in
the archives.  But looking at it now I see the problem, that the
constructor of the Business252 class expects an input argument.  This
is not supported by the design for enumerated datatypes.  The user
supplies a string e.g. "Actual/360" and the system automatically calls
the default constructor of the corresponding class e.g.
QuantLib::Actual360().  There is no mechanism for an argument to be
supplied to the constructor.

Could the class be reworked to support a default constructor?  If not,
perhaps we could expose it as a proper stateful object.

Thanks,
Eric

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
QuantLib-dev mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-dev