Hi Yomi,
Quoting Yomi <guillaume.pealat@gmail.com>:
> Hi,
>
> I am playing with the serialization module but I am facing an issue.
> I have extended the BlackVarianceSurface calibration method (by adding a new
> constructor, with additional arguments).
> I have followed the tutorial and everything is fine. The Object is created
> in Excel...
> I now try the serialization doing an export of the object.
> The file is created in the good directory but it is clearly incomplete.
>
> <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
> <!DOCTYPE boost_serialization>
> <boost_serialization signature="serialization::archive" version="4">
> <object_list class_id="1" tracking_level="1" version="0" object_id="_0">
> <count>1</count>
> <item_version>1</item_version>
> <item class_id="0" tracking_level="0" version="1">
> <px</boost_serialization>
>
> Any idea why it is crashing?
> Anything that I should add to make it work?
> I have done nothing else that adding a new constructor. Moreover with a flat
> vol it does not work either.
I also encountered that error during the development of serialization,
unfortunately now I cannot remember the solution. Very sorry for this
useless response, I will continue to rack my brain and let you know if
anything comes to me. What version of QuantLib are you using?
> In the meantime I have a question: How do the serialization module decides
> which member to export?
From the XML metadata.
Regards,
Eric
===================================================
Eric Ehlers
nazcatech sprl | Brussels |
http://www.nazcatech.be* Distributed computing for pricing analytics
* Use Microsoft Excel as a client to the Grid
------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image
processing features enabled.
http://p.sf.net/sfu/kodak-com_______________________________________________
QuantLib-users mailing list
QuantLib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/quantlib-users