quantlibaddin-developers Mailing List for QuantLibAddin
Brought to you by:
ericehlers,
nando
You can subscribe to this list here.
| 2006 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(1) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
|---|
|
From: eric e. <eri...@gm...> - 2006-06-01 11:31:34
|
Hi All, In order to facilitate some additional developments on ObjectHandler I've made further refinements to the processing of instance names (handles). These changes are consistent with the various requirements that people have told me about but if the changes cause any problems please let me know. 1) The user is now required to ensure that his instance names are unique. If a user tries to instantiate two different objects called "foo" the second attempt fails (with an appropriate message written to the log). 2) The hidden name that is assigned to the the calling cell for purposes of garbage collection - e.g. "~_00000" - is no longer suffixed to the instance name 3) An update counter in the format "#0000" is appended to the instance name for display purposes only, unlike the old "~_00000" key mentioned above this counter does not become part of the instance name as used to key the internal map of objects 4) If the user supplies an empty string as the instance name then a name is generated automatically in the format "obj_xxxx#0000" where xxxx is an arbitrary unique value and #0000 is the update counter. Regards, Eric |