[C++-sig] Converting base type to derived type when returning to Python

Roman Yakovenko roman.yakovenko at gmail.com
Mon Jan 15 12:18:23 CET 2007


On 1/15/07, Albert Strasheim <fullung at gmail.com> wrote:
> I would like to have some kind of conversion so that when receive returns in
> Python, the returned object reflects the derived type of the message. Is
> this possible? I read through the documentation and the wiki, but I wasn't
> able to come up with a solution.

If I understand you right than this is exactly the behavior you get
from the library.


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



More information about the Cplusplus-sig mailing list