Skip to content

Commit

Permalink
Re-apply wrapper updates.
Browse files Browse the repository at this point in the history
  • Loading branch information
lohedges committed Jan 25, 2024
1 parent 34c3782 commit a3cd1f4
Show file tree
Hide file tree
Showing 34 changed files with 951 additions and 1,119 deletions.
194 changes: 96 additions & 98 deletions wrapper/Mol/Atom.pypp.cpp

Large diffs are not rendered by default.

14 changes: 0 additions & 14 deletions wrapper/Mol/AtomBeads.pypp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -483,20 +483,6 @@ void register_AtomBeads_class(){
, ( bp::arg("slice") )
, "" );

}
{ //::SireMol::AtomProperty< SireMol::BeadNum >::set

typedef SireMol::AtomProperty< SireMol::BeadNum > exported_class_t;
typedef ::SireMol::AtomProperty< SireMol::BeadNum > & ( ::SireMol::AtomProperty< SireMol::BeadNum >::*set_function_type)( int,::SireMol::BeadNum const & ) ;
set_function_type set_function_value( &::SireMol::AtomProperty< SireMol::BeadNum >::set );

AtomBeads_exposer.def(
"set"
, set_function_value
, ( bp::arg("i"), bp::arg("value") )
, bp::return_self< >()
, "" );

}
{ //::SireMol::AtomProperty< SireMol::BeadNum >::set

Expand Down
14 changes: 0 additions & 14 deletions wrapper/Mol/AtomCharges.pypp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -482,20 +482,6 @@ void register_AtomCharges_class(){
, ( bp::arg("slice") )
, "" );

}
{ //::SireMol::AtomProperty< SireUnits::Dimension::PhysUnit< 0, 0, 0, 1, 0, 0, 0 > >::set

typedef SireMol::AtomProperty< SireUnits::Dimension::PhysUnit< 0, 0, 0, 1, 0, 0, 0 > > exported_class_t;
typedef ::SireMol::AtomProperty< SireUnits::Dimension::PhysUnit< 0, 0, 0, 1, 0, 0, 0 > > & ( ::SireMol::AtomProperty< SireUnits::Dimension::PhysUnit< 0, 0, 0, 1, 0, 0, 0 > >::*set_function_type)( int,::SireUnits::Dimension::PhysUnit< 0, 0, 0, 1, 0, 0, 0 > const & ) ;
set_function_type set_function_value( &::SireMol::AtomProperty< SireUnits::Dimension::PhysUnit< 0, 0, 0, 1, 0, 0, 0 > >::set );

AtomCharges_exposer.def(
"set"
, set_function_value
, ( bp::arg("i"), bp::arg("value") )
, bp::return_self< >()
, "" );

}
{ //::SireMol::AtomProperty< SireUnits::Dimension::PhysUnit< 0, 0, 0, 1, 0, 0, 0 > >::set

Expand Down
14 changes: 0 additions & 14 deletions wrapper/Mol/AtomChiralities.pypp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -490,20 +490,6 @@ void register_AtomChiralities_class(){
, ( bp::arg("slice") )
, "" );

}
{ //::SireMol::AtomProperty< SireMol::Chirality >::set

typedef SireMol::AtomProperty< SireMol::Chirality > exported_class_t;
typedef ::SireMol::AtomProperty< SireMol::Chirality > & ( ::SireMol::AtomProperty< SireMol::Chirality >::*set_function_type)( int,::SireMol::Chirality const & ) ;
set_function_type set_function_value( &::SireMol::AtomProperty< SireMol::Chirality >::set );

AtomChiralities_exposer.def(
"set"
, set_function_value
, ( bp::arg("i"), bp::arg("value") )
, bp::return_self< >()
, "" );

}
{ //::SireMol::AtomProperty< SireMol::Chirality >::set

Expand Down
128 changes: 128 additions & 0 deletions wrapper/Mol/AtomCoordMatcher.pypp.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,128 @@
// This file has been generated by Py++.

// (C) Christopher Woods, GPL >= 3 License

#include "boost/python.hpp"
#include "AtomCoordMatcher.pypp.hpp"

namespace bp = boost::python;

#include "SireError/errors.h"

#include "SireMaths/vector.h"

#include "SireStream/datastream.h"

#include "SireUnits/units.h"

#include "atom.h"

#include "atomidentifier.h"

#include "atomidx.h"

#include "atommatcher.h"

#include "atommatchers.h"

#include "atomname.h"

#include "atomselection.h"

#include "evaluator.h"

#include "moleculeinfodata.h"

#include "moleculeview.h"

#include "mover.h"

#include "mover.hpp"

#include "selector.hpp"

#include "tostring.h"

#include "atommatchers.h"

SireMol::AtomCoordMatcher __copy__(const SireMol::AtomCoordMatcher &other){ return SireMol::AtomCoordMatcher(other); }

#include "Qt/qdatastream.hpp"

#include "Helpers/str.hpp"

#include "Helpers/release_gil_policy.hpp"

void register_AtomCoordMatcher_class(){

{ //::SireMol::AtomCoordMatcher
typedef bp::class_< SireMol::AtomCoordMatcher, bp::bases< SireMol::AtomMatcher, SireBase::Property > > AtomCoordMatcher_exposer_t;
AtomCoordMatcher_exposer_t AtomCoordMatcher_exposer = AtomCoordMatcher_exposer_t( "AtomCoordMatcher", "This is a simple atom matcher that matches the atoms based\non their coordinates - e.g. matches the atom in molinfo0\nto those in molinfo1 by their closest coordinates.\n\nAuthor: Lester Hedges\n", bp::init< >("Constructor") );
bp::scope AtomCoordMatcher_scope( AtomCoordMatcher_exposer );
AtomCoordMatcher_exposer.def( bp::init< bool >(( bp::arg("zero_com") ), "Constructor") );
AtomCoordMatcher_exposer.def( bp::init< SireMol::AtomCoordMatcher const & >(( bp::arg("arg0") ), "Copy constructor") );
AtomCoordMatcher_exposer.def( bp::self != bp::self );
{ //::SireMol::AtomCoordMatcher::operator=

typedef ::SireMol::AtomCoordMatcher & ( ::SireMol::AtomCoordMatcher::*assign_function_type)( ::SireMol::AtomCoordMatcher const & ) ;
assign_function_type assign_function_value( &::SireMol::AtomCoordMatcher::operator= );

AtomCoordMatcher_exposer.def(
"assign"
, assign_function_value
, ( bp::arg("other") )
, bp::return_self< >()
, "" );

}
AtomCoordMatcher_exposer.def( bp::self == bp::self );
{ //::SireMol::AtomCoordMatcher::toString

typedef ::QString ( ::SireMol::AtomCoordMatcher::*toString_function_type)( ) const;
toString_function_type toString_function_value( &::SireMol::AtomCoordMatcher::toString );

AtomCoordMatcher_exposer.def(
"toString"
, toString_function_value
, bp::release_gil_policy()
, "" );

}
{ //::SireMol::AtomCoordMatcher::typeName

typedef char const * ( *typeName_function_type )( );
typeName_function_type typeName_function_value( &::SireMol::AtomCoordMatcher::typeName );

AtomCoordMatcher_exposer.def(
"typeName"
, typeName_function_value
, bp::release_gil_policy()
, "" );

}
{ //::SireMol::AtomCoordMatcher::what

typedef char const * ( ::SireMol::AtomCoordMatcher::*what_function_type)( ) const;
what_function_type what_function_value( &::SireMol::AtomCoordMatcher::what );

AtomCoordMatcher_exposer.def(
"what"
, what_function_value
, bp::release_gil_policy()
, "" );

}
AtomCoordMatcher_exposer.staticmethod( "typeName" );
AtomCoordMatcher_exposer.def( "__copy__", &__copy__);
AtomCoordMatcher_exposer.def( "__deepcopy__", &__copy__);
AtomCoordMatcher_exposer.def( "clone", &__copy__);
AtomCoordMatcher_exposer.def( "__rlshift__", &__rlshift__QDataStream< ::SireMol::AtomCoordMatcher >,
bp::return_internal_reference<1, bp::with_custodian_and_ward<1,2> >() );
AtomCoordMatcher_exposer.def( "__rrshift__", &__rrshift__QDataStream< ::SireMol::AtomCoordMatcher >,
bp::return_internal_reference<1, bp::with_custodian_and_ward<1,2> >() );
AtomCoordMatcher_exposer.def_pickle(sire_pickle_suite< ::SireMol::AtomCoordMatcher >());
AtomCoordMatcher_exposer.def( "__str__", &__str__< ::SireMol::AtomCoordMatcher > );
AtomCoordMatcher_exposer.def( "__repr__", &__str__< ::SireMol::AtomCoordMatcher > );
}

}
10 changes: 10 additions & 0 deletions wrapper/Mol/AtomCoordMatcher.pypp.hpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
// This file has been generated by Py++.

// (C) Christopher Woods, GPL >= 3 License

#ifndef AtomCoordMatcher_hpp__pyplusplus_wrapper
#define AtomCoordMatcher_hpp__pyplusplus_wrapper

void register_AtomCoordMatcher_class();

#endif//AtomCoordMatcher_hpp__pyplusplus_wrapper
14 changes: 0 additions & 14 deletions wrapper/Mol/AtomCoords.pypp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -625,20 +625,6 @@ void register_AtomCoords_class(){
, bp::return_self< >()
, "" );

}
{ //::SireMol::AtomProperty< SireMaths::Vector >::set

typedef SireMol::AtomProperty< SireMaths::Vector > exported_class_t;
typedef ::SireMol::AtomProperty< SireMaths::Vector > & ( ::SireMol::AtomProperty< SireMaths::Vector >::*set_function_type)( int,::SireMaths::Vector const & ) ;
set_function_type set_function_value( &::SireMol::AtomProperty< SireMaths::Vector >::set );

AtomCoords_exposer.def(
"set"
, set_function_value
, ( bp::arg("i"), bp::arg("value") )
, bp::return_self< >()
, "" );

}
{ //::SireMol::AtomProperty< SireMaths::Vector >::size

Expand Down
14 changes: 0 additions & 14 deletions wrapper/Mol/AtomDoubleArrayProperty.pypp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -482,20 +482,6 @@ void register_AtomDoubleArrayProperty_class(){
, ( bp::arg("slice") )
, "" );

}
{ //::SireMol::AtomProperty< SireBase::DoubleArrayProperty >::set

typedef SireMol::AtomProperty< SireBase::DoubleArrayProperty > exported_class_t;
typedef ::SireMol::AtomProperty< SireBase::DoubleArrayProperty > & ( ::SireMol::AtomProperty< SireBase::DoubleArrayProperty >::*set_function_type)( int,::SireBase::DoubleArrayProperty const & ) ;
set_function_type set_function_value( &::SireMol::AtomProperty< SireBase::DoubleArrayProperty >::set );

AtomDoubleArrayProperty_exposer.def(
"set"
, set_function_value
, ( bp::arg("i"), bp::arg("value") )
, bp::return_self< >()
, "" );

}
{ //::SireMol::AtomProperty< SireBase::DoubleArrayProperty >::set

Expand Down
Loading

0 comments on commit a3cd1f4

Please sign in to comment.