[C++-sig] How to derive a python class from a C++ base abstract class [Boost.python]

2018-07-10 Thread Danny C
Hi, I am trying to build a hybrid system for exposing my C++ library to python and some other languages. Use case: Expose certain C++ abstract classes to be extended in python. A different exposed concrete class instance uses the methods from extended classes as callbacks Q1: I want to derive a

[C++-sig] How to expose only what I want in Boost python

2018-06-24 Thread Danny C
Hi, I am very new to boost python. I am exposing a C++ library using boost python. I want to expose some constructors and some interfaces. This may come as very trivial but I don't want to expose my complete class to the python module, only defs for the interfaces I require. But if i don't expose