Template Class registration_class

Class Documentation

template<class W>
class registration_class

Copy of the

See also

boost::python::class_ This class allow to add methods to an existing class without registering it again.

Public Types

using self = registration_class

Public Functions

inline registration_class(bp::object object)

object Hold the namespace of the class that will be modified

template<class Visitor>
inline self &def(Visitor const &visitor)

See also

boost::python::class_::def(bp::def_visitor<Derived> const& visitor)

template<class DerivedVisitor>
inline self &def(bp::def_visitor<DerivedVisitor> const &visitor)
template<class F>
inline self &def(char const *name, F f)

See also

boost::python::class_::def(char const* name, F f)

template<class A1, class A2>
inline self &def(char const *name, A1 a1, A2 const &a2)

See also

boost::python::class_::def(char const* name, A1 a1, A2 const& a2)

template<class Fn, class A1, class A2>
inline self &def(char const *name, Fn fn, A1 const &a1, A2 const &a2)

See also

boost::python::class_::def(char const* name, Fn fn, A1 const& a1, A2

const& a2)

template<class Fn, class A1, class A2, class A3>
inline self &def(char const *name, Fn fn, A1 const &a1, A2 const &a2, A3 const &a3)

See also

boost::python::class_::def(char const* name, Fn fn, A1 const& a1, A2

const& a2, A3 const& a3)