Login  Register

Re: ObjectHandler 0.9.7

Posted by Andrew Kolesnikov on Jan 13, 2009; 9:55am
URL: http://quantlib.414.s1.nabble.com/ObjectHandler-0-9-7-tp7122p7124.html


"Does your build also include additional code that you wrote yourself?  Can you be more specific about
the errors you're getting?"

Many thanks for your help, Eric.
You're right, i included some additional code, and wasn't so attentive to examine release note with info about replacing boost::any. So it was my mistake and i'm very sorry for any troubles.

But additionally i'd like to ask you about disabling of interpolated curve copying. What type of behavior was incorrect? I use some copies of DiscountCurve and ZeroCurve in my classes and now like to know should i use pointers instead?

For instance, i work with such class:
    MyClass::MyClass(
              const DiscountCurve& yieldCurve,
              .......)
what is prohibitted by boost::noncopyable in 0.9.7 version.

Moreover, when i try to construct corresponding value object (and serialization) by using Gensrs:

  <ParameterList>
     <Parameters>
        <Parameter name 'YieldCurveID'>
          <type>QuantLib::DiscountCurve</type>
          <tensorRank>scalar</tensorRank>
        </Parameter>
     ......

there is another way to convert object ID into library object with usage of OH_GET_REFERENCE instead of OH_GET_UNDERLYING in 0.9.0.

Thanks,
Andrew.