Login  Register

Re: List of SWIGged functions

Posted by Luigi Ballabio on Jun 07, 2011; 7:24am
URL: http://quantlib.414.s1.nabble.com/List-of-SWIGged-functions-tp9535p9538.html


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