void register_MolWithResID_class(){ { //::SireMol::MolWithResID typedef bp::class_< SireMol::MolWithResID, bp::bases< SireMol::MolID, SireID::ID > > MolWithResID_exposer_t; MolWithResID_exposer_t MolWithResID_exposer = MolWithResID_exposer_t( "MolWithResID", bp::init< >() ); bp::scope MolWithResID_scope( MolWithResID_exposer ); MolWithResID_exposer.def( bp::init< QString const & >(( bp::arg("resname") )) ); MolWithResID_exposer.def( bp::init< int >(( bp::arg("resnum") )) ); MolWithResID_exposer.def( bp::init< SireMol::ResID const & >(( bp::arg("resid") )) ); MolWithResID_exposer.def( bp::init< QString const &, SireID::CaseSensitivity >(( bp::arg("resname"), bp::arg("case_sensitivity") )) ); MolWithResID_exposer.def( bp::init< SireMol::MolWithResID const & >(( bp::arg("other") )) ); { //::SireMol::MolWithResID::hash typedef ::uint ( ::SireMol::MolWithResID::*hash_function_type )( ) const; hash_function_type hash_function_value( &::SireMol::MolWithResID::hash ); MolWithResID_exposer.def( "hash" , hash_function_value ); } { //::SireMol::MolWithResID::isNull typedef bool ( ::SireMol::MolWithResID::*isNull_function_type )( ) const; isNull_function_type isNull_function_value( &::SireMol::MolWithResID::isNull ); MolWithResID_exposer.def( "isNull" , isNull_function_value ); } { //::SireMol::MolWithResID::map typedef ::QList< SireMol::MolNum > ( ::SireMol::MolWithResID::*map_function_type )( ::SireMol::Molecules const & ) const; map_function_type map_function_value( &::SireMol::MolWithResID::map ); MolWithResID_exposer.def( "map" , map_function_value , ( bp::arg("molecules") ) ); } { //::SireMol::MolWithResID::map typedef ::QList< SireMol::MolNum > ( ::SireMol::MolWithResID::*map_function_type )( ::SireMol::MoleculeGroup const & ) const; map_function_type map_function_value( &::SireMol::MolWithResID::map ); MolWithResID_exposer.def( "map" , map_function_value , ( bp::arg("molgroup") ) ); } { //::SireMol::MolWithResID::map typedef ::QList< SireMol::MolNum > ( ::SireMol::MolWithResID::*map_function_type )( ::SireMol::MolGroupsBase const & ) const; map_function_type map_function_value( &::SireMol::MolWithResID::map ); MolWithResID_exposer.def( "map" , map_function_value , ( bp::arg("molgroups") ) ); } MolWithResID_exposer.def( bp::self != bp::self ); { //::SireMol::MolWithResID::operator= typedef ::SireMol::MolWithResID & ( ::SireMol::MolWithResID::*assign_function_type )( ::SireMol::MolWithResID const & ) ; assign_function_type assign_function_value( &::SireMol::MolWithResID::operator= ); MolWithResID_exposer.def( "assign" , assign_function_value , ( bp::arg("other") ) , bp::return_self< >() ); } MolWithResID_exposer.def( bp::self == bp::other< SireID::ID >() ); MolWithResID_exposer.def( bp::self == bp::self ); { //::SireMol::MolWithResID::resID typedef ::SireMol::ResID const & ( ::SireMol::MolWithResID::*resID_function_type )( ) const; resID_function_type resID_function_value( &::SireMol::MolWithResID::resID ); MolWithResID_exposer.def( "resID" , resID_function_value , bp::return_value_policy<bp::clone_const_reference>() ); } { //::SireMol::MolWithResID::toString typedef ::QString ( ::SireMol::MolWithResID::*toString_function_type )( ) const; toString_function_type toString_function_value( &::SireMol::MolWithResID::toString ); MolWithResID_exposer.def( "toString" , toString_function_value ); } { //::SireMol::MolWithResID::typeName typedef char const * ( *typeName_function_type )( ); typeName_function_type typeName_function_value( &::SireMol::MolWithResID::typeName ); MolWithResID_exposer.def( "typeName" , typeName_function_value ); } { //::SireMol::MolWithResID::what typedef char const * ( ::SireMol::MolWithResID::*what_function_type )( ) const; what_function_type what_function_value( &::SireMol::MolWithResID::what ); MolWithResID_exposer.def( "what" , what_function_value ); } MolWithResID_exposer.staticmethod( "typeName" ); MolWithResID_exposer.def( "__copy__", &__copy__); MolWithResID_exposer.def( "__deepcopy__", &__copy__); MolWithResID_exposer.def( "clone", &__copy__); MolWithResID_exposer.def( "__rlshift__", &__rlshift__QDataStream< ::SireMol::MolWithResID >, bp::return_internal_reference<1, bp::with_custodian_and_ward<1,2> >() ); MolWithResID_exposer.def( "__rrshift__", &__rrshift__QDataStream< ::SireMol::MolWithResID >, bp::return_internal_reference<1, bp::with_custodian_and_ward<1,2> >() ); MolWithResID_exposer.def( "__str__", &__str__< ::SireMol::MolWithResID > ); MolWithResID_exposer.def( "__repr__", &__str__< ::SireMol::MolWithResID > ); } }
void register_ChainsWithRes_class(){ { //::SireMol::ChainsWithRes typedef bp::class_< SireMol::ChainsWithRes, bp::bases< SireMol::ChainID, SireID::ID > > ChainsWithRes_exposer_t; ChainsWithRes_exposer_t ChainsWithRes_exposer = ChainsWithRes_exposer_t( "ChainsWithRes", "This ID class identifies chains that contain residues that\nmatch the passed ResID\n\nAuthor: Christopher Woods\n", bp::init< >("Null constructor") ); bp::scope ChainsWithRes_scope( ChainsWithRes_exposer ); ChainsWithRes_exposer.def( bp::init< SireMol::ResID const & >(( bp::arg("resid") ), "Construct from the passed residue ID") ); ChainsWithRes_exposer.def( bp::init< SireMol::ChainsWithRes const & >(( bp::arg("other") ), "Copy constructor") ); { //::SireMol::ChainsWithRes::hash typedef ::uint ( ::SireMol::ChainsWithRes::*hash_function_type)( ) const; hash_function_type hash_function_value( &::SireMol::ChainsWithRes::hash ); ChainsWithRes_exposer.def( "hash" , hash_function_value , "Return a hash of this identifier" ); } { //::SireMol::ChainsWithRes::isNull typedef bool ( ::SireMol::ChainsWithRes::*isNull_function_type)( ) const; isNull_function_type isNull_function_value( &::SireMol::ChainsWithRes::isNull ); ChainsWithRes_exposer.def( "isNull" , isNull_function_value , "Is this selection null?" ); } { //::SireMol::ChainsWithRes::map typedef ::QList< SireMol::ChainIdx > ( ::SireMol::ChainsWithRes::*map_function_type)( ::SireMol::MolInfo const & ) const; map_function_type map_function_value( &::SireMol::ChainsWithRes::map ); ChainsWithRes_exposer.def( "map" , map_function_value , ( bp::arg("molinfo") ) , "Map this ID to the list of indicies of chains that match this ID\nThrow: SireMol::missing_chain\nThrow: SireError::invalid_index\n" ); } ChainsWithRes_exposer.def( bp::self != bp::self ); { //::SireMol::ChainsWithRes::operator= typedef ::SireMol::ChainsWithRes & ( ::SireMol::ChainsWithRes::*assign_function_type)( ::SireMol::ChainsWithRes const & ) ; assign_function_type assign_function_value( &::SireMol::ChainsWithRes::operator= ); ChainsWithRes_exposer.def( "assign" , assign_function_value , ( bp::arg("other") ) , bp::return_self< >() , "" ); } ChainsWithRes_exposer.def( bp::self == bp::other< SireID::ID >() ); ChainsWithRes_exposer.def( bp::self == bp::self ); { //::SireMol::ChainsWithRes::resID typedef ::SireMol::ResID const & ( ::SireMol::ChainsWithRes::*resID_function_type)( ) const; resID_function_type resID_function_value( &::SireMol::ChainsWithRes::resID ); ChainsWithRes_exposer.def( "resID" , resID_function_value , bp::return_value_policy<bp::clone_const_reference>() , "Return the residue ID" ); } { //::SireMol::ChainsWithRes::toString typedef ::QString ( ::SireMol::ChainsWithRes::*toString_function_type)( ) const; toString_function_type toString_function_value( &::SireMol::ChainsWithRes::toString ); ChainsWithRes_exposer.def( "toString" , toString_function_value , "Return a string representatio of this ID" ); } { //::SireMol::ChainsWithRes::typeName typedef char const * ( *typeName_function_type )( ); typeName_function_type typeName_function_value( &::SireMol::ChainsWithRes::typeName ); ChainsWithRes_exposer.def( "typeName" , typeName_function_value , "" ); } { //::SireMol::ChainsWithRes::what typedef char const * ( ::SireMol::ChainsWithRes::*what_function_type)( ) const; what_function_type what_function_value( &::SireMol::ChainsWithRes::what ); ChainsWithRes_exposer.def( "what" , what_function_value , "" ); } ChainsWithRes_exposer.staticmethod( "typeName" ); ChainsWithRes_exposer.def( "__copy__", &__copy__); ChainsWithRes_exposer.def( "__deepcopy__", &__copy__); ChainsWithRes_exposer.def( "clone", &__copy__); ChainsWithRes_exposer.def( "__rlshift__", &__rlshift__QDataStream< ::SireMol::ChainsWithRes >, bp::return_internal_reference<1, bp::with_custodian_and_ward<1,2> >() ); ChainsWithRes_exposer.def( "__rrshift__", &__rrshift__QDataStream< ::SireMol::ChainsWithRes >, bp::return_internal_reference<1, bp::with_custodian_and_ward<1,2> >() ); ChainsWithRes_exposer.def( "__str__", &__str__< ::SireMol::ChainsWithRes > ); ChainsWithRes_exposer.def( "__repr__", &__str__< ::SireMol::ChainsWithRes > ); ChainsWithRes_exposer.def( "__hash__", &::SireMol::ChainsWithRes::hash ); } }
void register_MolResID_class(){ { //::SireMol::MolResID typedef bp::class_< SireMol::MolResID, bp::bases< SireMol::ResID, SireID::ID > > MolResID_exposer_t; MolResID_exposer_t MolResID_exposer = MolResID_exposer_t( "MolResID", bp::init< >() ); bp::scope MolResID_scope( MolResID_exposer ); MolResID_exposer.def( bp::init< SireMol::MolID const &, SireMol::ResID const & >(( bp::arg("molid"), bp::arg("resid") )) ); MolResID_exposer.def( bp::init< SireMol::ResID const &, SireMol::MolID const & >(( bp::arg("resid"), bp::arg("molid") )) ); MolResID_exposer.def( bp::init< boost::tuples::tuple< SireMol::MolIdentifier, SireMol::ResIdentifier, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type > const & >(( bp::arg("molresid") )) ); MolResID_exposer.def( bp::init< boost::tuples::tuple< SireMol::ResIdentifier, SireMol::MolIdentifier, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type > const & >(( bp::arg("molresid") )) ); MolResID_exposer.def( bp::init< SireMol::MolResNum const & >(( bp::arg("molresnum") )) ); MolResID_exposer.def( bp::init< SireMol::MolResID const & >(( bp::arg("other") )) ); { //::SireMol::MolResID::hash typedef ::uint ( ::SireMol::MolResID::*hash_function_type )( ) const; hash_function_type hash_function_value( &::SireMol::MolResID::hash ); MolResID_exposer.def( "hash" , hash_function_value ); } { //::SireMol::MolResID::isNull typedef bool ( ::SireMol::MolResID::*isNull_function_type )( ) const; isNull_function_type isNull_function_value( &::SireMol::MolResID::isNull ); MolResID_exposer.def( "isNull" , isNull_function_value ); } { //::SireMol::MolResID::map typedef ::QList< SireMol::ResIdx > ( ::SireMol::MolResID::*map_function_type )( ::SireMol::MolInfo const & ) const; map_function_type map_function_value( &::SireMol::MolResID::map ); MolResID_exposer.def( "map" , map_function_value , ( bp::arg("molinfo") ) ); } { //::SireMol::MolResID::molID typedef ::SireMol::MolID const & ( ::SireMol::MolResID::*molID_function_type )( ) const; molID_function_type molID_function_value( &::SireMol::MolResID::molID ); MolResID_exposer.def( "molID" , molID_function_value , bp::return_value_policy<bp::clone_const_reference>() ); } MolResID_exposer.def( bp::self != bp::self ); { //::SireMol::MolResID::operator= typedef ::SireMol::MolResID & ( ::SireMol::MolResID::*assign_function_type )( ::SireMol::MolResID const & ) ; assign_function_type assign_function_value( &::SireMol::MolResID::operator= ); MolResID_exposer.def( "assign" , assign_function_value , ( bp::arg("other") ) , bp::return_self< >() ); } MolResID_exposer.def( bp::self == bp::other< SireID::ID >() ); MolResID_exposer.def( bp::self == bp::self ); { //::SireMol::MolResID::resID typedef ::SireMol::ResID const & ( ::SireMol::MolResID::*resID_function_type )( ) const; resID_function_type resID_function_value( &::SireMol::MolResID::resID ); MolResID_exposer.def( "resID" , resID_function_value , bp::return_value_policy<bp::clone_const_reference>() ); } { //::SireMol::MolResID::selectAllFrom typedef ::QHash< SireMol::MolNum, SireMol::Selector< SireMol::Residue > > ( ::SireMol::MolResID::*selectAllFrom_function_type )( ::SireMol::Molecules const &,::SireBase::PropertyMap const & ) const; selectAllFrom_function_type selectAllFrom_function_value( &::SireMol::MolResID::selectAllFrom ); MolResID_exposer.def( "selectAllFrom" , selectAllFrom_function_value , ( bp::arg("molecules"), bp::arg("map")=SireBase::PropertyMap() ) ); } { //::SireMol::MolResID::selectAllFrom typedef ::QHash< SireMol::MolNum, SireMol::Selector< SireMol::Residue > > ( ::SireMol::MolResID::*selectAllFrom_function_type )( ::SireMol::MoleculeGroup const &,::SireBase::PropertyMap const & ) const; selectAllFrom_function_type selectAllFrom_function_value( &::SireMol::MolResID::selectAllFrom ); MolResID_exposer.def( "selectAllFrom" , selectAllFrom_function_value , ( bp::arg("molgroup"), bp::arg("map")=SireBase::PropertyMap() ) ); } { //::SireMol::MolResID::selectAllFrom typedef ::QHash< SireMol::MolNum, SireMol::Selector< SireMol::Residue > > ( ::SireMol::MolResID::*selectAllFrom_function_type )( ::SireMol::MolGroupsBase const &,::SireBase::PropertyMap const & ) const; selectAllFrom_function_type selectAllFrom_function_value( &::SireMol::MolResID::selectAllFrom ); MolResID_exposer.def( "selectAllFrom" , selectAllFrom_function_value , ( bp::arg("molgroups"), bp::arg("map")=SireBase::PropertyMap() ) ); } { //::SireMol::MolResID::toString typedef ::QString ( ::SireMol::MolResID::*toString_function_type )( ) const; toString_function_type toString_function_value( &::SireMol::MolResID::toString ); MolResID_exposer.def( "toString" , toString_function_value ); } { //::SireMol::MolResID::typeName typedef char const * ( *typeName_function_type )( ); typeName_function_type typeName_function_value( &::SireMol::MolResID::typeName ); MolResID_exposer.def( "typeName" , typeName_function_value ); } { //::SireMol::MolResID::what typedef char const * ( ::SireMol::MolResID::*what_function_type )( ) const; what_function_type what_function_value( &::SireMol::MolResID::what ); MolResID_exposer.def( "what" , what_function_value ); } MolResID_exposer.staticmethod( "typeName" ); MolResID_exposer.def( "__copy__", &__copy__); MolResID_exposer.def( "__deepcopy__", &__copy__); MolResID_exposer.def( "clone", &__copy__); MolResID_exposer.def( "__rlshift__", &__rlshift__QDataStream< ::SireMol::MolResID >, bp::return_internal_reference<1, bp::with_custodian_and_ward<1,2> >() ); MolResID_exposer.def( "__rrshift__", &__rrshift__QDataStream< ::SireMol::MolResID >, bp::return_internal_reference<1, bp::with_custodian_and_ward<1,2> >() ); MolResID_exposer.def( "__str__", &__str__< ::SireMol::MolResID > ); MolResID_exposer.def( "__repr__", &__str__< ::SireMol::MolResID > ); } }