Quantlib SWIG interface files

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Quantlib SWIG interface files

vema
Hi,

I have installed  QuantLib-SWIG-0.8.0  on my machine and have been experimenting around with it quite lately particulary with the bindings in Python. I have observed that the interface files (*.i) do not expose all the attributes and methods. I had done some googling and noticed in one of the forums that "python setup.py wrap" would do that for me. Unfortunately what it probably does is generate an update set of wrapper functions but the interface files dont change much.

I was wondering if there was a way in which these interface files could be automatically (re-)generated from the header files (*.hpp) so that we can now have access to the methods and attributes of some of the classes.


Mahesh
Reply | Threaded
Open this post in threaded view
|

Re: Quantlib SWIG interface files

Luigi Ballabio
On Thu, 2007-12-06 at 08:32 -0800, vema wrote:
> I have installed  QuantLib-SWIG-0.8.0  on my machine and have been
> experimenting around with it quite lately particulary with the bindings in
> Python. I have observed that the interface files (*.i) do not expose all the
> attributes and methods.

Yes, QuantLib-SWIG is somewhat behind the C++ library. The declaration
of the missing classes and methods should be added to the interface
files in the distribution before regenerating the wrappers. Are you
willing to work on this?

Later,
        Luigi


--

The economy depends about as much on economists as the weather does on
weather forecasters.
-- Jean-Paul Kauffmann



-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
QuantLib-dev mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-dev