Login  Register

Re: ObjectHandler and QuantLibAddin II

Posted by eric ehlers on Feb 21, 2005; 11:03am
URL: http://quantlib.414.s1.nabble.com/ObjectHandler-and-QuantLibAddin-II-tp10742p10744.html

Hi Walter

> > Having had a look at the current code of interface, I was thinking if one
> > could for example add the name of the class and then use a factory to create
> > an instance of the class in the (now general) MAKE method of interface.

> Yes, this is the right approach.  I've made the change in
> ObjectHandler - the interface layer is now collapsed into a single
> factory function.  It needs some refinement but it's definitely the
> way forward.  I'm in the process of making the corresponding change in
> QuantLibAddin (I already completed a quick test to confirm it will
> work throughout the app).  Many thanks for this excellent suggestion,
> I owe you a beer.

OK, QuantLibAddin is now factory-enabled (and half its former size).
I need to do a lot of refinements before the release but the basic
change is in place, the design is a lot cleaner with the end user
interface working exactly as before.

Looking forward to your further feedback.

Tschuess,
Eric