Yet another C++ binding (using Extension Classes)
kelley at bioreason.com
Fri Mar 16 17:25:18 CET 2001
About a year ago, I had to bind a C++ template class into objects that
could be used from within python. I made a wrapper for Extension
Classes that extended the basic structure into a C++ class. Any objects
that subclassed this class would automagically become valid python
objects and could be extended in much the same way as Extension Classes.
With the advent of swig/boost/sip and the like I didn't think there
would be much use outside our organization for this. Anyway, I was
recently cajoled into asking whether anyone wants this code. If I get
even one hit I'll write documentation for it and post it on my website
and submit it to the Vaults of Parnassus.
That said, the boost python library is very cool.
Brian Kelley Bioreason, Inc
505 995-8188 ext 207 150 Washington St Suite 303
kelley at bioreason.com Santa Fe, NM, 87501
More information about the Python-list