[C++-sig] pyplusplus tutorials & GUI wizard

Matthias Baas baas at ira.uka.de
Mon Feb 6 19:07:13 CET 2006

Roman Yakovenko wrote:
>> Why don't you just include the header that actually defines the
>> corresponding class (i.e. "a.h" when wrapping A and "b.h" when wrapping
>> B)?
> This is exactly what I do. May be I did not explain my self well.

Do you mean that should already work with the version in cvs? I cannot 
confirm that. Here, pyplusplus adds all headers that were parsed.

>>>> def filter(decl):
>>>>      return decl.name in [...<a list of class names>...]
>>>> But now that I come to think about it, I don't understand why this works
>>>> at all. I noticed that the filter function is also applied to class
>>>> methods in which case the function returns False. But why are the
>>>> methods then exposed? (I thought this would be a way to filter out the
>>>> protected methods, but obviously this is not how it's supposed to work...)
>>> You found a bug. Thanks. I will fix it.

ok, I'll wait until the bug is fixed before I go on with my filtering 

- Matthias -

More information about the Cplusplus-sig mailing list