[pygccxml-development] Cannot exclude inherited virtual methods
Brought to you by:
mbaas,
roman_yakovenko
From: Patrick H. <pat...@pr...> - 2009-02-18 23:56:23
|
I have a case where a base class defines virtual methods that are inherited by a derived class. I need to be able to exclude at least one of the virtual methods from the generated Boost.Python code for the derived class, but I cannot figure out how to do it. If I understand correctly, I am having problems because the virtual methods are not overridden by the derived class, and thus they are not part of the pyplusplus.decl_wrappers.class_wrapper.class_t object for the derived class. I have attached a header file and Py++ script that demonstrate the issue. Is there some way for me to apply a customization to the class wrapper's inherited virtual methods for the derived object? I am using r1669 of the pygccxml trunk and GCC 0.9 (1.127). -Patrick -- Patrick L. Hartling Senior Software Engineer, Priority 5 http://www.priority5.com/ The information transmitted in this communication is intended only for the person or entity to which it is addressed and contains proprietary material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please destroy any copies, contact the sender and delete the material from any computer. |