List of SWIGged functions

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

List of SWIGged functions

Tawanda Gwena
Is there a comprehensive list of what QuantLib functions are accessible via swig?


Sent from my iPhone
------------------------------------------------------------------------------
Simplify data backup and recovery for your virtual environment with vRanger.
Installation's a snap, and flexible recovery options mean your data is safe,
secure and there when you need it. Discover what all the cheering's about.
Get your free trial download today.
http://p.sf.net/sfu/quest-dev2dev2 
_______________________________________________
QuantLib-dev mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-dev
Reply | Threaded
Open this post in threaded view
|

Re: List of SWIGged functions

Luigi Ballabio

On Jun 2, 2011, at 7:23 PM, Tawanda Gwena wrote:

> Is there a comprehensive list of what QuantLib functions are  
> accessible via swig?

No, there is not.  I guess it could be done by running some clever  
regular expression over the SWIG interface files, but it's not been  
done as far as I know.

Luigi


------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
_______________________________________________
QuantLib-dev mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-dev
Reply | Threaded
Open this post in threaded view
|

Re: List of SWIGged functions

Bojan Nikolic

Luigi Ballabio <[hidden email]> writes:

>> Is there a comprehensive list of what QuantLib functions are  
>> accessible via swig?
>
> No, there is not.  I guess it could be done by running some clever  
> regular expression over the SWIG interface files, but it's not been  
> done as far as I know.

In Python you should be able to just to execute the dir() command on the
SWIG-generated module.

Best,
Bojan

--
Bojan Nikolic          ||          http://www.bnikolic.co.uk/ql

------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
_______________________________________________
QuantLib-dev mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-dev
Reply | Threaded
Open this post in threaded view
|

Re: List of SWIGged functions

Luigi Ballabio

On Jun 7, 2011, at 9:22 AM, Bojan Nikolic wrote:

>
> Luigi Ballabio <[hidden email]> writes:
>
>>> Is there a comprehensive list of what QuantLib functions are
>>> accessible via swig?
>>
>> No, there is not.  I guess it could be done by running some clever
>> regular expression over the SWIG interface files, but it's not been
>> done as far as I know.
>
> In Python you should be able to just to execute the dir() command on  
> the
> SWIG-generated module.

True. You would get a list of the classes and of the top-level  
functions (not of the methods) but it's a start.  You could go down  
recursively from the list of classes to get the full list.

Luigi


------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
_______________________________________________
QuantLib-dev mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-dev