38 std::cout <<
"*** AClass is created..." <<
this 43 std::cout <<
"*** AClass is deleted..." <<
this 51 std::cout <<
"*** BClass is created..." <<
this 55 std::cout <<
"*** BClass is deleted..." <<
this 66 std::cout <<
"*** XBase::VMethod...A() is called." << std::endl;
70 std::cout <<
"*** XBase::VMethod...B() is called." << std::endl;
97 #include <boost/python.hpp> 104 if(
const override&
f= get_override(
"VMethodA"))
116 if(
const override&
f= get_override(
"VMethodB"))
130 class_<AClass, AClass*>(
"AClass",
"a class")
134 class_<BClass>(
"BClass",
"b class")
138 class_<CB_XBase, boost::noncopyable>(
"XBase",
"xbase class")
144 class_<ZClass>(
"ZClass",
"z class")
void VMethodA(const AClass *a)
virtual void VMethodB(const BClass *b)
void VMethodB(const BClass *b)
BOOST_PYTHON_MODULE(test10)
void SetXBase(XBase *base)
virtual void VMethodA(const AClass *a)
void d_VMethodA(const AClass *a)
void d_VMethodB(const BClass *b)