6 #ifndef __eigenpy_registration_hpp__ 7 #define __eigenpy_registration_hpp__ 23 const bp::type_info info = bp::type_id<T>();
24 const bp::converter::registration* reg = bp::converter::registry::query(info);
27 else if ((*reg).m_to_python == NULL)
42 if (eigenpy::check_registration<T>()) {
43 const bp::type_info info = bp::type_id<T>();
44 const bp::converter::registration* reg =
45 bp::converter::registry::query(info);
46 bp::handle<> class_obj(reg->get_class_object());
47 bp::scope().attr(reg->get_class_object()->tp_name) = bp::object(class_obj);
55 #endif // ifndef __eigenpy_registration_hpp__ bool check_registration()
Check at runtime the registration of the type T inside the boost python registry. ...
bool register_symbolic_link_to_registered_type()
Symlink to the current scope the already registered class T.