2 template <T> class shared_ptr /NoDefaultCtors/ {
4 #include <boost/shared_ptr.hpp>
9 typedef shared_ptr<TrajectoryAnalysisModule> TrajectoryAnalysisModulePointer;
12 %MappedType py_shared_ptr<TYPE> /NoRelease/ {
14 #include <boost/shared_ptr.hpp>
15 template <typename T> using py_shared_ptr = boost::shared_ptr<T>;
19 PyObject *wrp = sipConvertFromType(sipCpp->get(), sipType_TYPE, NULL);
20 PyObject *ptr = sipConvertFromNewType(sipCpp, sipType_TYPEPointer, wrp);
26 // Make it impossible to convert into this type
30 GMX_ASSERT(true, "Converting something into shared_ptr. This should not happen!");
37 #include "gromacs/trajectoryanalysis/modules/angle.h"
38 using namespace gmx::analysismodules;
42 static const char* name /NoSetter/;
43 static const char* shortDescription /NoSetter/;
44 static py_shared_ptr<TrajectoryAnalysisModule> create() /Factory/;
49 #include "gromacs/trajectoryanalysis/modules/distance.h"
50 using namespace gmx::analysismodules;
54 static const char* name /NoSetter/;
55 static const char* shortDescription /NoSetter/;
56 static py_shared_ptr<TrajectoryAnalysisModule> create() /Factory/;
59 class FreeVolumeInfo {
61 #include "gromacs/trajectoryanalysis/modules/freevolume.h"
62 using namespace gmx::analysismodules;
66 static const char* name /NoSetter/;
67 static const char* shortDescription /NoSetter/;
68 static py_shared_ptr<TrajectoryAnalysisModule> create() /Factory/;
71 class PairDistanceInfo {
73 #include "gromacs/trajectoryanalysis/modules/pairdist.h"
74 using namespace gmx::analysismodules;
78 static const char* name /NoSetter/;
79 static const char* shortDescription /NoSetter/;
80 static py_shared_ptr<TrajectoryAnalysisModule> create() /Factory/;
85 #include "gromacs/trajectoryanalysis/modules/rdf.h"
86 using namespace gmx::analysismodules;
90 static const char* name /NoSetter/;
91 static const char* shortDescription /NoSetter/;
92 static py_shared_ptr<TrajectoryAnalysisModule> create() /Factory/;
97 #include "gromacs/trajectoryanalysis/modules/sasa.h"
98 using namespace gmx::analysismodules;
102 static const char* name /NoSetter/;
103 static const char* shortDescription /NoSetter/;
104 static py_shared_ptr<TrajectoryAnalysisModule> create() /Factory/;
109 #include "gromacs/trajectoryanalysis/modules/select.h"
110 using namespace gmx::analysismodules;
114 static const char* name /NoSetter/;
115 static const char* shortDescription /NoSetter/;
116 static py_shared_ptr<TrajectoryAnalysisModule> create() /Factory/;