Hello,
I just want to know if there are any other options. I have C++ classes like this
class A : public TypedReferenceCount
class B : public A
class C : public A
A and B have PUBLISHED methods, C does not have any own methods marked as PUBLISHED (but some public methods, which I need on the C++ layer).
Interrogate now seems to ignore C, probably because there are no PUBLISHED methods. If I create an instance of C in C++ and return it to Python I get an instance of Python-wrapper-for-A. I would have expected an instance of Python-wrapper-for-C. The firles created by interrogate do not have any lines for class C, but for A and B.
I think there are two ways to make interrogate create a Python wraper for C:
(1) add a dummy PUBLISHED method to C. This smells.
(2) use “interrogate -promiscuous”. Accoring to the help interrogate then exports all public symbols, which is not exactly what I want to have. I like to distinguish between PUBLISHED and public methods.
Do you know about any other solutions?
enn0x