|
From: eric e. <eri...@gm...> - 2006-01-13 09:55:12
|
Hi All, A couple of observations - 1) The existing ObjectHandler design attempted to anticipate serialization, by providing the "property vector" and related interface in the base Object class. Effectively an object has two states: - "shallow" - the values in the property vector, and a generic interface allowing these values to be interrogated with no knowledge of the Object's implementation - "deep" - the instantiation of the underlying QuantLib object ValueObject supercedes and improves upon this idea by decoupling the shallow state into a separate class which may be instantiated independently of the QuantLib object. 2) The subject of serialization came up previously in this mailing list (see the links below). Nando and Luigi sketched out a design using TermSheets to FpML-enable QuantLib (independently of ObjectHandler/QuantLibAddin). The ValueObjects proposal is compatible with the proposed design for TermSheets. http://sourceforge.net/mailarchive/forum.php?thread_id=3D6507779&forum_id= =3D4300 http://sourceforge.net/mailarchive/forum.php?thread_id=3D6539684&forum_id= =3D4300 http://sourceforge.net/mailarchive/forum.php?thread_id=3D6540997&forum_id= =3D4300 http://sourceforge.net/mailarchive/forum.php?thread_id=3D6543552&forum_id= =3D4300 http://sourceforge.net/mailarchive/forum.php?thread_id=3D6700844&forum_id= =3D4300 Regards, Eric |