Hi,
I noticed in the account example that two objects were created per entity. For example, to create a Customer,
boost::shared_ptr <ObjectHandler::ValueObject> valueObject(
new AccountExample::CustomerValueObject(objectID, name, age, false));
boost::shared_ptr<ObjectHandler::Object> object(
new AccountExample::CustomerObject(valueObject, name, age, false));
first creates a ValueObject, then later passes it to an Object.
Would any one provide a quick explanation of the design philosophy behind creating two objects per entity?
Thank you very much.
------------------------------------------------------------------------------
What Every C/C++ and Fortran developer Should Know!
Read this article and learn how Intel has extended the reach of its
next-generation tools to help Windows* and Linux* C/C++ and Fortran
developers boost performance applications - including clusters.
http://p.sf.net/sfu/intel-dev2devmay_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users