|
From: Henner H. <hen...@tu...> - 2011-02-01 14:55:53
|
Yes, the boost::optional seems tricky. I'll do as you suggested until it's solved. Thank you, Henner Am 01.02.2011, 15:41 Uhr, schrieb Luigi Ballabio <lui...@gm...>: > On Tue, 2011-02-01 at 15:35 +0100, Henner Heck wrote: >> Still, any idea on adding the parameter in SWIG? >> >> In the Java classes i get from the SWIG interface files, the optional >> >> parameter "paymentConvention" >> >> is not available for QuantLib::VanillaSwap. Any chance of making it >> >> available? > > I still have to figure out how to export boost::optional. > In the meantime, you can add an overloaded constructor that takes all > parameters including the paymentConvention (just duplicate the existing > one in the %extend section, add the parameter, and use it to create the > VanillaSwap being allocated.) > > Luigi > > -- Erstellt mit Operas revolutionärem E-Mail-Modul: http://www.opera.com/mail/ |