Login  Register

Re: ObjectHandler 0.9.7

Posted by Andrew Kolesnikov on Jan 23, 2009; 3:29pm
URL: http://quantlib.414.s1.nabble.com/ObjectHandler-0-9-7-tp7122p7126.html

"For a rundown on all of the possibilities for configuring gensrc to
extract various kinds of references from objects, please refer to the
comments in file QuantLibAddin/gensrc/metadata/types/supertypes.xml.
I'm sorry that that feature is not yet better documented. "

No problems at all, Eric. But my question wasn't about gensrc, it was just an example.
All that i want to know: is it better to use pointer to interpolated curve now? So, regarding to my example

MyClass::MyClass(
const boost::shared_ptr DiscountCurve& yieldCurve,
.......) : yieldCurve_(yieldCurve),...

is prefer than simple

MyClass::MyClass(
const DiscountCurve& yieldCurve,
.......) :yieldCurve_(yieldCurve),....  (if noncopable is deleted)???


Thank you for relevant thread, cause in fact i had such an error, but couldn't recognise it (cause Excel was crashed in these situations).

Regards,
Andrew.