On 9/19/07, <b class="gmail_sendername">Anand, Kumar</b> &lt;<a href="mailto:kanand@qualcomm.com">kanand@qualcomm.com</a>&gt; wrote:<div><span class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Problem:<br>-----------<br>Py++ is unable to expose an abstract class (say Abstract2) that inherits<br>from another abstract class (say Abstract1), if none of the pure virtual<br>functions in Abstarct2 are exposed. This is because Py++ always tries to
<br>expose the pure virtual function of base Abstract1 class on the<br>Abstract2_wrapper class and there seems to be no way to control the<br>exposure of these base class functions. Look at the example code below<br>for clarification:
<br><br>--------------------------Example:<br>------------------------------------------------------------------------<br><br>--------------------C++ code----------------------------<br><br>class Abstract1<br>{<br>public:
<br>&nbsp;&nbsp; void virtual func1() =0;<br>};<br><br>class Abstract2 : public Abstract1<br>{<br>public:<br>&nbsp;&nbsp; void virtual func2() =0;<br>};<br><br></blockquote></div><br><br>Thanks for bug reporting. Technically you are right, but ... Why do you want to exclude pure virtual function? It doesn&#39;t make sense to me. 
<br clear="all"><br>-- <br>Roman Yakovenko<br>C++ Python language binding<br><a href="http://www.language-binding.net/">http://www.language-binding.net/</a>