39 std::cout <<
"*** AClass is created..." <<
this 44 std::cout <<
"*** AClass is deleted..." <<
this 52 std::cout <<
"*** BClass is created..." <<
this 56 std::cout <<
"*** BClass is deleted..." <<
this 67 std::cout <<
"*** XBase::VMethod...A() is called." << std::endl;
71 std::cout <<
"*** XBase::VMethod...B() is called." << std::endl;
98 #include <boost/python.hpp> 105 if(
const override&
f= get_override(
"VMethodA"))
117 if(
const override&
f= get_override(
"VMethodB"))
131 class_<AClass, AClass*>(
"AClass",
"a class")
135 class_<BClass>(
"BClass",
"b class")
139 class_<CB_XBase, boost::noncopyable>(
"XBase",
"xbase class")
145 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)