Skip to content
Snippets Groups Projects
Commit bc6dd70a authored by Marco Biasini's avatar Marco Biasini
Browse files

export MMCifInfoStructRef.GetID

parent 6066cba9
Branches
Tags
No related merge requests found
...@@ -139,6 +139,8 @@ void export_mmcif_io() ...@@ -139,6 +139,8 @@ void export_mmcif_io()
.def(vector_indexing_suite<std::vector<MMCifInfoTransOpPtrList >, true >()) .def(vector_indexing_suite<std::vector<MMCifInfoTransOpPtrList >, true >())
; ;
class_<MMCifInfoStructRef, MMCifInfoStructRefPtr>("MMCifInfoStructRef", no_init) class_<MMCifInfoStructRef, MMCifInfoStructRefPtr>("MMCifInfoStructRef", no_init)
.add_property("id", make_function(&MMCifInfoStructRef::GetID,
return_value_policy<copy_const_reference>()))
.add_property("db_name", make_function(&MMCifInfoStructRef::GetDBName, .add_property("db_name", make_function(&MMCifInfoStructRef::GetDBName,
return_value_policy<copy_const_reference>())) return_value_policy<copy_const_reference>()))
.add_property("db_id", make_function(&MMCifInfoStructRef::GetDBID, .add_property("db_id", make_function(&MMCifInfoStructRef::GetDBID,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment