QuEP 11: Object Handler

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

QuEP 11: Object Handler

Ferdinando M. Ametrano-3
Hi Eric

a couple of observations referring to
http://www.ehlers.plus.com/quantlib/quep011.html:

2.2) do you plan to add the widget example to the ObjectHandler module code
base? QuantLibAddin is an ObjectHandler usage example, but to have a stand
alone example for the standalone ObjectHandler module would be nice.

3.1) isn't the singleton pattern the most natural way to replace the global
variable approach? We have code for the singleton pattern in QuantLib, it's
just an hpp file. I would avoid unnecessary QuantLib dependencies and
duplicate that file in the ObjectHandler  code base, unless anybody
suggests a more elegant solution


------------
ciao -- Nando



Reply | Threaded
Open this post in threaded view
|

Re: QuEP 11: Object Handler

erik-44
Hello

No problem, I'll do both of these.

Regards
Eric

On Wed, 2004-11-03 at 17:41, Ferdinando Ametrano wrote:

> Hi Eric
>
> a couple of observations referring to
> http://www.ehlers.plus.com/quantlib/quep011.html:
>
> 2.2) do you plan to add the widget example to the ObjectHandler module code
> base? QuantLibAddin is an ObjectHandler usage example, but to have a stand
> alone example for the standalone ObjectHandler module would be nice.
>
> 3.1) isn't the singleton pattern the most natural way to replace the global
> variable approach? We have code for the singleton pattern in QuantLib, it's
> just an hpp file. I would avoid unnecessary QuantLib dependencies and
> duplicate that file in the ObjectHandler  code base, unless anybody
> suggests a more elegant solution
>
>
> ------------
> ciao -- Nando