Re: Object Handler - value object and object

Posted by Eric Ehlers-2 on
URL: http://quantlib.414.s1.nabble.com/Object-Handler-value-object-and-object-tp481p482.html

Hello,

> Would any one provide a quick explanation of the design philosophy behind
> creating two objects per entity?

The ValueObject captures the inputs to the Object's constructor.  The  
main use of the ValueObject is to support serialization.  The  
ValueObject is compatible with the boost::serialization and can be  
serialized natively and after serialization can be used to reconstruct  
the original Object.

Regards,
Eric


------------------------------------------------------------------------------
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery,
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now.
http://p.sf.net/sfu/quest-d2dcopy1
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users