[C++-sig] Base class defined in other header file not includedin bp::bases<>

Roman Yakovenko roman.yakovenko at gmail.com
Sun Sep 14 08:32:43 CEST 2008


On Sun, Sep 7, 2008 at 12:48 AM, Rocketman at JSC <snemeth at houston.rr.com> wrote:
> Roman Yakovenko wrote:
>>
>> On 7/13/06, Haridev, Meghana <mharidev at qualcomm.com> wrote:
>>> In other words, I want the generated code to look like this:
>>>     /* bp::class_< baseB >( "baseB" );  - Do not want to generate */
>>>
>>>     bp::class_< baseA >( "baseA" );
>>>
>>>     bp::class_< derivedC, bp::bases< baseA, baseB > >( "derivedC" );

Did you read the following document
http://language-binding.net/pyplusplus/documentation/multi_module_development.html
?

I think, it will give you easy and clear way to achieve what you want.

HTH

-- 
Roman Yakovenko
C++ Python language binding
http://www.language-binding.net/



More information about the Cplusplus-sig mailing list