[C++-sig] passing wrapped c++ objects to boost wrapped function
serguei.son at citigroup.com
Mon Jan 8 20:07:29 CET 2007
Or do your own wrapper of OEChem with Boost.Python! Then you can get your C++ object by calling extract.
From: c++-sig-bounces at python.org [mailto:c++-sig-bounces at python.org]On
Behalf Of Greg Landrum
Sent: Monday, January 08, 2007 1:29 PM
To: Development of Python/C++ integration
Subject: Re: [C++-sig] passing wrapped c++ objects to boost wrapped
On 1/4/07, Kim Branson <kim.branson at gmail.com> wrote:
> i have python bindings for a library, and i can create python wrapped
> instances of this object in python
> mol = OEMol()
> in python this is a proxy of the C++ instance.
> <openeye.oechem.OEMol; proxy of C++ OEMolWrapper instance at
> I have other c++ code that uses an OEMol interface like so.
Since OpenEye has provided you with a SWIG wrapper for OEChem,
wouldn't it be easier to just use SWIG to wrap your functionality as
It seems like that would be the straightforward way to avoid a massive
pain in the neck.
C++-sig mailing list
C++-sig at python.org
More information about the Cplusplus-sig