10 from __future__
import print_function, division, absolute_import
15 from sys
import version_info
16 if version_info >= (2, 6, 0):
17 def swig_import_helper():
18 from os.path
import dirname
22 fp, pathname, description = imp.find_module(
'_IMP_rmf', [dirname(__file__)])
28 _mod = imp.load_module(
'_IMP_rmf', fp, pathname, description)
32 _IMP_rmf = swig_import_helper()
33 del swig_import_helper
38 _swig_property = property
43 def _swig_setattr_nondynamic(self, class_type, name, value, static=1):
44 if (name ==
"thisown"):
45 return self.this.own(value)
47 if type(value).__name__ ==
'SwigPyObject':
48 self.__dict__[name] = value
50 method = class_type.__swig_setmethods__.get(name,
None)
52 return method(self, value)
54 object.__setattr__(self, name, value)
56 raise AttributeError(
"You cannot add attributes to %s" % self)
59 def _swig_setattr(self, class_type, name, value):
60 return _swig_setattr_nondynamic(self, class_type, name, value, 0)
63 def _swig_getattr_nondynamic(self, class_type, name, static=1):
64 if (name ==
"thisown"):
65 return self.this.own()
66 method = class_type.__swig_getmethods__.get(name,
None)
70 return object.__getattr__(self, name)
72 raise AttributeError(name)
74 def _swig_getattr(self, class_type, name):
75 return _swig_getattr_nondynamic(self, class_type, name, 0)
80 strthis =
"proxy of " + self.this.__repr__()
83 return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,)
88 except AttributeError:
95 def _swig_setattr_nondynamic_method(set):
96 def set_attr(self, name, value):
97 if (name ==
"thisown"):
98 return self.this.own(value)
99 if hasattr(self, name)
or (name ==
"this"):
100 set(self, name, value)
102 raise AttributeError(
"You cannot add attributes to %s" % self)
108 weakref_proxy = weakref.proxy
110 weakref_proxy =
lambda x: x
113 class IMP_RMF_SwigPyIterator(object):
114 """Proxy of C++ swig::IMP_RMF_SwigPyIterator class"""
115 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
117 def __init__(self, *args, **kwargs):
118 raise AttributeError(
"No constructor defined - class is abstract")
119 __repr__ = _swig_repr
120 __swig_destroy__ = _IMP_rmf.delete_IMP_RMF_SwigPyIterator
121 __del__ =
lambda self:
None
124 """value(IMP_RMF_SwigPyIterator self) -> PyObject *"""
125 return _IMP_rmf.IMP_RMF_SwigPyIterator_value(self)
130 incr(IMP_RMF_SwigPyIterator self, size_t n=1) -> IMP_RMF_SwigPyIterator
131 incr(IMP_RMF_SwigPyIterator self) -> IMP_RMF_SwigPyIterator
133 return _IMP_rmf.IMP_RMF_SwigPyIterator_incr(self, n)
138 decr(IMP_RMF_SwigPyIterator self, size_t n=1) -> IMP_RMF_SwigPyIterator
139 decr(IMP_RMF_SwigPyIterator self) -> IMP_RMF_SwigPyIterator
141 return _IMP_rmf.IMP_RMF_SwigPyIterator_decr(self, n)
144 def distance(self, x):
145 """distance(IMP_RMF_SwigPyIterator self, IMP_RMF_SwigPyIterator x) -> ptrdiff_t"""
146 return _IMP_rmf.IMP_RMF_SwigPyIterator_distance(self, x)
150 """equal(IMP_RMF_SwigPyIterator self, IMP_RMF_SwigPyIterator x) -> bool"""
151 return _IMP_rmf.IMP_RMF_SwigPyIterator_equal(self, x)
155 """copy(IMP_RMF_SwigPyIterator self) -> IMP_RMF_SwigPyIterator"""
156 return _IMP_rmf.IMP_RMF_SwigPyIterator_copy(self)
160 """next(IMP_RMF_SwigPyIterator self) -> PyObject *"""
161 return _IMP_rmf.IMP_RMF_SwigPyIterator_next(self)
165 """__next__(IMP_RMF_SwigPyIterator self) -> PyObject *"""
166 return _IMP_rmf.IMP_RMF_SwigPyIterator___next__(self)
170 """previous(IMP_RMF_SwigPyIterator self) -> PyObject *"""
171 return _IMP_rmf.IMP_RMF_SwigPyIterator_previous(self)
174 def advance(self, n):
175 """advance(IMP_RMF_SwigPyIterator self, ptrdiff_t n) -> IMP_RMF_SwigPyIterator"""
176 return _IMP_rmf.IMP_RMF_SwigPyIterator_advance(self, n)
180 """__eq__(IMP_RMF_SwigPyIterator self, IMP_RMF_SwigPyIterator x) -> bool"""
181 return _IMP_rmf.IMP_RMF_SwigPyIterator___eq__(self, x)
185 """__ne__(IMP_RMF_SwigPyIterator self, IMP_RMF_SwigPyIterator x) -> bool"""
186 return _IMP_rmf.IMP_RMF_SwigPyIterator___ne__(self, x)
189 def __iadd__(self, n):
190 """__iadd__(IMP_RMF_SwigPyIterator self, ptrdiff_t n) -> IMP_RMF_SwigPyIterator"""
191 return _IMP_rmf.IMP_RMF_SwigPyIterator___iadd__(self, n)
194 def __isub__(self, n):
195 """__isub__(IMP_RMF_SwigPyIterator self, ptrdiff_t n) -> IMP_RMF_SwigPyIterator"""
196 return _IMP_rmf.IMP_RMF_SwigPyIterator___isub__(self, n)
199 def __add__(self, n):
200 """__add__(IMP_RMF_SwigPyIterator self, ptrdiff_t n) -> IMP_RMF_SwigPyIterator"""
201 return _IMP_rmf.IMP_RMF_SwigPyIterator___add__(self, n)
204 def __sub__(self, *args):
206 __sub__(IMP_RMF_SwigPyIterator self, ptrdiff_t n) -> IMP_RMF_SwigPyIterator
207 __sub__(IMP_RMF_SwigPyIterator self, IMP_RMF_SwigPyIterator x) -> ptrdiff_t
209 return _IMP_rmf.IMP_RMF_SwigPyIterator___sub__(self, *args)
213 IMP_RMF_SwigPyIterator_swigregister = _IMP_rmf.IMP_RMF_SwigPyIterator_swigregister
214 IMP_RMF_SwigPyIterator_swigregister(IMP_RMF_SwigPyIterator)
223 _IMP_rmf.IMP_DEBUG_swigconstant(_IMP_rmf)
224 IMP_DEBUG = _IMP_rmf.IMP_DEBUG
226 _IMP_rmf.IMP_RELEASE_swigconstant(_IMP_rmf)
227 IMP_RELEASE = _IMP_rmf.IMP_RELEASE
229 _IMP_rmf.IMP_SILENT_swigconstant(_IMP_rmf)
230 IMP_SILENT = _IMP_rmf.IMP_SILENT
232 _IMP_rmf.IMP_PROGRESS_swigconstant(_IMP_rmf)
233 IMP_PROGRESS = _IMP_rmf.IMP_PROGRESS
235 _IMP_rmf.IMP_TERSE_swigconstant(_IMP_rmf)
236 IMP_TERSE = _IMP_rmf.IMP_TERSE
238 _IMP_rmf.IMP_VERBOSE_swigconstant(_IMP_rmf)
239 IMP_VERBOSE = _IMP_rmf.IMP_VERBOSE
241 _IMP_rmf.IMP_MEMORY_swigconstant(_IMP_rmf)
242 IMP_MEMORY = _IMP_rmf.IMP_MEMORY
244 _IMP_rmf.IMP_NONE_swigconstant(_IMP_rmf)
245 IMP_NONE = _IMP_rmf.IMP_NONE
247 _IMP_rmf.IMP_USAGE_swigconstant(_IMP_rmf)
248 IMP_USAGE = _IMP_rmf.IMP_USAGE
250 _IMP_rmf.IMP_INTERNAL_swigconstant(_IMP_rmf)
251 IMP_INTERNAL = _IMP_rmf.IMP_INTERNAL
253 _IMP_rmf.IMP_KERNEL_HAS_LOG4CXX_swigconstant(_IMP_rmf)
254 IMP_KERNEL_HAS_LOG4CXX = _IMP_rmf.IMP_KERNEL_HAS_LOG4CXX
256 _IMP_rmf.IMP_COMPILER_HAS_AUTO_swigconstant(_IMP_rmf)
257 IMP_COMPILER_HAS_AUTO = _IMP_rmf.IMP_COMPILER_HAS_AUTO
259 _IMP_rmf.IMP_COMPILER_HAS_DEBUG_VECTOR_swigconstant(_IMP_rmf)
260 IMP_COMPILER_HAS_DEBUG_VECTOR = _IMP_rmf.IMP_COMPILER_HAS_DEBUG_VECTOR
262 _IMP_rmf.IMP_COMPILER_HAS_UNIQUE_PTR_swigconstant(_IMP_rmf)
263 IMP_COMPILER_HAS_UNIQUE_PTR = _IMP_rmf.IMP_COMPILER_HAS_UNIQUE_PTR
265 _IMP_rmf.IMP_KERNEL_HAS_BOOST_RANDOM_swigconstant(_IMP_rmf)
266 IMP_KERNEL_HAS_BOOST_RANDOM = _IMP_rmf.IMP_KERNEL_HAS_BOOST_RANDOM
268 _IMP_rmf.IMP_KERNEL_HAS_GPERFTOOLS_swigconstant(_IMP_rmf)
269 IMP_KERNEL_HAS_GPERFTOOLS = _IMP_rmf.IMP_KERNEL_HAS_GPERFTOOLS
271 _IMP_rmf.IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER_swigconstant(_IMP_rmf)
272 IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER = _IMP_rmf.IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER
274 _IMP_rmf.IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER_swigconstant(_IMP_rmf)
275 IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER = _IMP_rmf.IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER
277 _IMP_rmf.IMPKERNEL_SHOW_WARNINGS_swigconstant(_IMP_rmf)
278 IMPKERNEL_SHOW_WARNINGS = _IMP_rmf.IMPKERNEL_SHOW_WARNINGS
281 class _DirectorObjects(object):
282 """@internal Simple class to keep references to director objects
283 to prevent premature deletion."""
286 def register(self, obj):
287 """Take a reference to a director object; will only work for
288 refcounted C++ classes"""
289 if hasattr(obj,
'get_ref_count'):
290 self._objects.append(obj)
292 """Only drop our reference and allow cleanup by Python if no other
293 Python references exist (we hold 3 references: one in self._objects,
294 one in x, and one in the argument list for getrefcount) *and* no
295 other C++ references exist (the Python object always holds one)"""
296 objs = [x
for x
in self._objects
if sys.getrefcount(x) > 3 \
297 or x.get_ref_count() > 1]
301 def get_object_count(self):
302 """Get number of director objects (useful for testing only)"""
303 return len(self._objects)
304 _director_objects = _DirectorObjects()
306 class _ostream(object):
307 """Proxy of C++ std::ostream class"""
308 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
310 def __init__(self, *args, **kwargs):
311 raise AttributeError(
"No constructor defined")
312 __repr__ = _swig_repr
314 def write(self, osa_buf):
315 """write(_ostream self, char const * osa_buf)"""
316 return _IMP_rmf._ostream_write(self, osa_buf)
318 _ostream_swigregister = _IMP_rmf._ostream_swigregister
319 _ostream_swigregister(_ostream)
322 _IMP_rmf.IMP_COMPILER_HAS_OVERRIDE_swigconstant(_IMP_rmf)
323 IMP_COMPILER_HAS_OVERRIDE = _IMP_rmf.IMP_COMPILER_HAS_OVERRIDE
325 _IMP_rmf.IMP_COMPILER_HAS_FINAL_swigconstant(_IMP_rmf)
326 IMP_COMPILER_HAS_FINAL = _IMP_rmf.IMP_COMPILER_HAS_FINAL
328 _IMP_rmf.IMP_HAS_NOEXCEPT_swigconstant(_IMP_rmf)
329 IMP_HAS_NOEXCEPT = _IMP_rmf.IMP_HAS_NOEXCEPT
332 _IMP_rmf.IMP_CGAL_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_rmf)
333 IMP_CGAL_HAS_BOOST_FILESYSTEM = _IMP_rmf.IMP_CGAL_HAS_BOOST_FILESYSTEM
335 _IMP_rmf.IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_rmf)
336 IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS = _IMP_rmf.IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS
338 _IMP_rmf.IMP_CGAL_HAS_BOOST_RANDOM_swigconstant(_IMP_rmf)
339 IMP_CGAL_HAS_BOOST_RANDOM = _IMP_rmf.IMP_CGAL_HAS_BOOST_RANDOM
341 _IMP_rmf.IMP_CGAL_HAS_BOOST_SYSTEM_swigconstant(_IMP_rmf)
342 IMP_CGAL_HAS_BOOST_SYSTEM = _IMP_rmf.IMP_CGAL_HAS_BOOST_SYSTEM
344 _IMP_rmf.IMPCGAL_SHOW_WARNINGS_swigconstant(_IMP_rmf)
345 IMPCGAL_SHOW_WARNINGS = _IMP_rmf.IMPCGAL_SHOW_WARNINGS
348 _IMP_rmf.IMP_ALGEBRA_HAS_IMP_CGAL_swigconstant(_IMP_rmf)
349 IMP_ALGEBRA_HAS_IMP_CGAL = _IMP_rmf.IMP_ALGEBRA_HAS_IMP_CGAL
351 _IMP_rmf.IMP_ALGEBRA_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_rmf)
352 IMP_ALGEBRA_HAS_BOOST_FILESYSTEM = _IMP_rmf.IMP_ALGEBRA_HAS_BOOST_FILESYSTEM
354 _IMP_rmf.IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_rmf)
355 IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS = _IMP_rmf.IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS
357 _IMP_rmf.IMP_ALGEBRA_HAS_BOOST_RANDOM_swigconstant(_IMP_rmf)
358 IMP_ALGEBRA_HAS_BOOST_RANDOM = _IMP_rmf.IMP_ALGEBRA_HAS_BOOST_RANDOM
360 _IMP_rmf.IMP_ALGEBRA_HAS_BOOST_SYSTEM_swigconstant(_IMP_rmf)
361 IMP_ALGEBRA_HAS_BOOST_SYSTEM = _IMP_rmf.IMP_ALGEBRA_HAS_BOOST_SYSTEM
363 _IMP_rmf.IMP_ALGEBRA_HAS_CGAL_swigconstant(_IMP_rmf)
364 IMP_ALGEBRA_HAS_CGAL = _IMP_rmf.IMP_ALGEBRA_HAS_CGAL
366 _IMP_rmf.IMP_ALGEBRA_HAS_ANN_swigconstant(_IMP_rmf)
367 IMP_ALGEBRA_HAS_ANN = _IMP_rmf.IMP_ALGEBRA_HAS_ANN
369 _IMP_rmf.IMPALGEBRA_SHOW_WARNINGS_swigconstant(_IMP_rmf)
370 IMPALGEBRA_SHOW_WARNINGS = _IMP_rmf.IMPALGEBRA_SHOW_WARNINGS
373 _IMP_rmf.IMP_DISPLAY_HAS_IMP_CGAL_swigconstant(_IMP_rmf)
374 IMP_DISPLAY_HAS_IMP_CGAL = _IMP_rmf.IMP_DISPLAY_HAS_IMP_CGAL
376 _IMP_rmf.IMP_DISPLAY_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_rmf)
377 IMP_DISPLAY_HAS_BOOST_FILESYSTEM = _IMP_rmf.IMP_DISPLAY_HAS_BOOST_FILESYSTEM
379 _IMP_rmf.IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_rmf)
380 IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS = _IMP_rmf.IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS
382 _IMP_rmf.IMP_DISPLAY_HAS_BOOST_RANDOM_swigconstant(_IMP_rmf)
383 IMP_DISPLAY_HAS_BOOST_RANDOM = _IMP_rmf.IMP_DISPLAY_HAS_BOOST_RANDOM
385 _IMP_rmf.IMP_DISPLAY_HAS_BOOST_SYSTEM_swigconstant(_IMP_rmf)
386 IMP_DISPLAY_HAS_BOOST_SYSTEM = _IMP_rmf.IMP_DISPLAY_HAS_BOOST_SYSTEM
388 _IMP_rmf.IMP_DISPLAY_HAS_CGAL_swigconstant(_IMP_rmf)
389 IMP_DISPLAY_HAS_CGAL = _IMP_rmf.IMP_DISPLAY_HAS_CGAL
391 _IMP_rmf.IMPDISPLAY_SHOW_WARNINGS_swigconstant(_IMP_rmf)
392 IMPDISPLAY_SHOW_WARNINGS = _IMP_rmf.IMPDISPLAY_SHOW_WARNINGS
395 _IMP_rmf.IMP_SCORE_FUNCTOR_HAS_IMP_CGAL_swigconstant(_IMP_rmf)
396 IMP_SCORE_FUNCTOR_HAS_IMP_CGAL = _IMP_rmf.IMP_SCORE_FUNCTOR_HAS_IMP_CGAL
398 _IMP_rmf.IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_rmf)
399 IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM = _IMP_rmf.IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM
401 _IMP_rmf.IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_rmf)
402 IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS = _IMP_rmf.IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS
404 _IMP_rmf.IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM_swigconstant(_IMP_rmf)
405 IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM = _IMP_rmf.IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM
407 _IMP_rmf.IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM_swigconstant(_IMP_rmf)
408 IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM = _IMP_rmf.IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM
410 _IMP_rmf.IMP_SCORE_FUNCTOR_HAS_CGAL_swigconstant(_IMP_rmf)
411 IMP_SCORE_FUNCTOR_HAS_CGAL = _IMP_rmf.IMP_SCORE_FUNCTOR_HAS_CGAL
413 _IMP_rmf.IMP_SCORE_FUNCTOR_HAS_HDF5_swigconstant(_IMP_rmf)
414 IMP_SCORE_FUNCTOR_HAS_HDF5 = _IMP_rmf.IMP_SCORE_FUNCTOR_HAS_HDF5
416 _IMP_rmf.IMPSCOREFUNCTOR_SHOW_WARNINGS_swigconstant(_IMP_rmf)
417 IMPSCOREFUNCTOR_SHOW_WARNINGS = _IMP_rmf.IMPSCOREFUNCTOR_SHOW_WARNINGS
420 _IMP_rmf.IMP_CORE_HAS_IMP_CGAL_swigconstant(_IMP_rmf)
421 IMP_CORE_HAS_IMP_CGAL = _IMP_rmf.IMP_CORE_HAS_IMP_CGAL
423 _IMP_rmf.IMP_CORE_HAS_IMP_KERNEL_swigconstant(_IMP_rmf)
424 IMP_CORE_HAS_IMP_KERNEL = _IMP_rmf.IMP_CORE_HAS_IMP_KERNEL
426 _IMP_rmf.IMP_CORE_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_rmf)
427 IMP_CORE_HAS_BOOST_FILESYSTEM = _IMP_rmf.IMP_CORE_HAS_BOOST_FILESYSTEM
429 _IMP_rmf.IMP_CORE_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_rmf)
430 IMP_CORE_HAS_BOOST_PROGRAMOPTIONS = _IMP_rmf.IMP_CORE_HAS_BOOST_PROGRAMOPTIONS
432 _IMP_rmf.IMP_CORE_HAS_BOOST_RANDOM_swigconstant(_IMP_rmf)
433 IMP_CORE_HAS_BOOST_RANDOM = _IMP_rmf.IMP_CORE_HAS_BOOST_RANDOM
435 _IMP_rmf.IMP_CORE_HAS_BOOST_SYSTEM_swigconstant(_IMP_rmf)
436 IMP_CORE_HAS_BOOST_SYSTEM = _IMP_rmf.IMP_CORE_HAS_BOOST_SYSTEM
438 _IMP_rmf.IMP_CORE_HAS_CGAL_swigconstant(_IMP_rmf)
439 IMP_CORE_HAS_CGAL = _IMP_rmf.IMP_CORE_HAS_CGAL
441 _IMP_rmf.IMP_CORE_HAS_HDF5_swigconstant(_IMP_rmf)
442 IMP_CORE_HAS_HDF5 = _IMP_rmf.IMP_CORE_HAS_HDF5
444 _IMP_rmf.IMPCORE_SHOW_WARNINGS_swigconstant(_IMP_rmf)
445 IMPCORE_SHOW_WARNINGS = _IMP_rmf.IMPCORE_SHOW_WARNINGS
448 _IMP_rmf.IMP_CONTAINER_HAS_IMP_ALGEBRA_swigconstant(_IMP_rmf)
449 IMP_CONTAINER_HAS_IMP_ALGEBRA = _IMP_rmf.IMP_CONTAINER_HAS_IMP_ALGEBRA
451 _IMP_rmf.IMP_CONTAINER_HAS_IMP_CGAL_swigconstant(_IMP_rmf)
452 IMP_CONTAINER_HAS_IMP_CGAL = _IMP_rmf.IMP_CONTAINER_HAS_IMP_CGAL
454 _IMP_rmf.IMP_CONTAINER_HAS_IMP_DISPLAY_swigconstant(_IMP_rmf)
455 IMP_CONTAINER_HAS_IMP_DISPLAY = _IMP_rmf.IMP_CONTAINER_HAS_IMP_DISPLAY
457 _IMP_rmf.IMP_CONTAINER_HAS_IMP_KERNEL_swigconstant(_IMP_rmf)
458 IMP_CONTAINER_HAS_IMP_KERNEL = _IMP_rmf.IMP_CONTAINER_HAS_IMP_KERNEL
460 _IMP_rmf.IMP_CONTAINER_HAS_IMP_SCORE_FUNCTOR_swigconstant(_IMP_rmf)
461 IMP_CONTAINER_HAS_IMP_SCORE_FUNCTOR = _IMP_rmf.IMP_CONTAINER_HAS_IMP_SCORE_FUNCTOR
463 _IMP_rmf.IMP_CONTAINER_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_rmf)
464 IMP_CONTAINER_HAS_BOOST_FILESYSTEM = _IMP_rmf.IMP_CONTAINER_HAS_BOOST_FILESYSTEM
466 _IMP_rmf.IMP_CONTAINER_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_rmf)
467 IMP_CONTAINER_HAS_BOOST_PROGRAMOPTIONS = _IMP_rmf.IMP_CONTAINER_HAS_BOOST_PROGRAMOPTIONS
469 _IMP_rmf.IMP_CONTAINER_HAS_BOOST_RANDOM_swigconstant(_IMP_rmf)
470 IMP_CONTAINER_HAS_BOOST_RANDOM = _IMP_rmf.IMP_CONTAINER_HAS_BOOST_RANDOM
472 _IMP_rmf.IMP_CONTAINER_HAS_BOOST_SYSTEM_swigconstant(_IMP_rmf)
473 IMP_CONTAINER_HAS_BOOST_SYSTEM = _IMP_rmf.IMP_CONTAINER_HAS_BOOST_SYSTEM
475 _IMP_rmf.IMP_CONTAINER_HAS_CGAL_swigconstant(_IMP_rmf)
476 IMP_CONTAINER_HAS_CGAL = _IMP_rmf.IMP_CONTAINER_HAS_CGAL
478 _IMP_rmf.IMP_CONTAINER_HAS_HDF5_swigconstant(_IMP_rmf)
479 IMP_CONTAINER_HAS_HDF5 = _IMP_rmf.IMP_CONTAINER_HAS_HDF5
481 _IMP_rmf.IMPCONTAINER_SHOW_WARNINGS_swigconstant(_IMP_rmf)
482 IMPCONTAINER_SHOW_WARNINGS = _IMP_rmf.IMPCONTAINER_SHOW_WARNINGS
485 _IMP_rmf.IMP_ATOM_HAS_IMP_CGAL_swigconstant(_IMP_rmf)
486 IMP_ATOM_HAS_IMP_CGAL = _IMP_rmf.IMP_ATOM_HAS_IMP_CGAL
488 _IMP_rmf.IMP_ATOM_HAS_IMP_KERNEL_swigconstant(_IMP_rmf)
489 IMP_ATOM_HAS_IMP_KERNEL = _IMP_rmf.IMP_ATOM_HAS_IMP_KERNEL
491 _IMP_rmf.IMP_ATOM_HAS_IMP_SCORE_FUNCTOR_swigconstant(_IMP_rmf)
492 IMP_ATOM_HAS_IMP_SCORE_FUNCTOR = _IMP_rmf.IMP_ATOM_HAS_IMP_SCORE_FUNCTOR
494 _IMP_rmf.IMP_ATOM_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_rmf)
495 IMP_ATOM_HAS_BOOST_PROGRAMOPTIONS = _IMP_rmf.IMP_ATOM_HAS_BOOST_PROGRAMOPTIONS
497 _IMP_rmf.IMP_ATOM_HAS_BOOST_RANDOM_swigconstant(_IMP_rmf)
498 IMP_ATOM_HAS_BOOST_RANDOM = _IMP_rmf.IMP_ATOM_HAS_BOOST_RANDOM
500 _IMP_rmf.IMP_ATOM_HAS_BOOST_REGEX_swigconstant(_IMP_rmf)
501 IMP_ATOM_HAS_BOOST_REGEX = _IMP_rmf.IMP_ATOM_HAS_BOOST_REGEX
503 _IMP_rmf.IMP_ATOM_HAS_BOOST_SYSTEM_swigconstant(_IMP_rmf)
504 IMP_ATOM_HAS_BOOST_SYSTEM = _IMP_rmf.IMP_ATOM_HAS_BOOST_SYSTEM
506 _IMP_rmf.IMP_ATOM_HAS_CGAL_swigconstant(_IMP_rmf)
507 IMP_ATOM_HAS_CGAL = _IMP_rmf.IMP_ATOM_HAS_CGAL
509 _IMP_rmf.IMP_ATOM_HAS_HDF5_swigconstant(_IMP_rmf)
510 IMP_ATOM_HAS_HDF5 = _IMP_rmf.IMP_ATOM_HAS_HDF5
512 _IMP_rmf.IMPATOM_SHOW_WARNINGS_swigconstant(_IMP_rmf)
513 IMPATOM_SHOW_WARNINGS = _IMP_rmf.IMPATOM_SHOW_WARNINGS
515 _IMP_rmf.IMP_ATOM_TYPE_INDEX_swigconstant(_IMP_rmf)
516 IMP_ATOM_TYPE_INDEX = _IMP_rmf.IMP_ATOM_TYPE_INDEX
518 _IMP_rmf.IMP_RESIDUE_TYPE_INDEX_swigconstant(_IMP_rmf)
519 IMP_RESIDUE_TYPE_INDEX = _IMP_rmf.IMP_RESIDUE_TYPE_INDEX
521 _IMP_rmf.IMP_HIERARCHY_TYPE_INDEX_swigconstant(_IMP_rmf)
522 IMP_HIERARCHY_TYPE_INDEX = _IMP_rmf.IMP_HIERARCHY_TYPE_INDEX
525 _IMP_rmf.IMP_RMF_HAS_IMP_CGAL_swigconstant(_IMP_rmf)
526 IMP_RMF_HAS_IMP_CGAL = _IMP_rmf.IMP_RMF_HAS_IMP_CGAL
528 _IMP_rmf.IMP_RMF_HAS_IMP_SCORE_FUNCTOR_swigconstant(_IMP_rmf)
529 IMP_RMF_HAS_IMP_SCORE_FUNCTOR = _IMP_rmf.IMP_RMF_HAS_IMP_SCORE_FUNCTOR
531 _IMP_rmf.IMP_RMF_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_rmf)
532 IMP_RMF_HAS_BOOST_FILESYSTEM = _IMP_rmf.IMP_RMF_HAS_BOOST_FILESYSTEM
534 _IMP_rmf.IMP_RMF_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_rmf)
535 IMP_RMF_HAS_BOOST_PROGRAMOPTIONS = _IMP_rmf.IMP_RMF_HAS_BOOST_PROGRAMOPTIONS
537 _IMP_rmf.IMP_RMF_HAS_BOOST_RANDOM_swigconstant(_IMP_rmf)
538 IMP_RMF_HAS_BOOST_RANDOM = _IMP_rmf.IMP_RMF_HAS_BOOST_RANDOM
540 _IMP_rmf.IMP_RMF_HAS_BOOST_REGEX_swigconstant(_IMP_rmf)
541 IMP_RMF_HAS_BOOST_REGEX = _IMP_rmf.IMP_RMF_HAS_BOOST_REGEX
543 _IMP_rmf.IMP_RMF_HAS_BOOST_SYSTEM_swigconstant(_IMP_rmf)
544 IMP_RMF_HAS_BOOST_SYSTEM = _IMP_rmf.IMP_RMF_HAS_BOOST_SYSTEM
546 _IMP_rmf.IMP_RMF_HAS_CGAL_swigconstant(_IMP_rmf)
547 IMP_RMF_HAS_CGAL = _IMP_rmf.IMP_RMF_HAS_CGAL
549 _IMP_rmf.IMP_RMF_HAS_HDF5_swigconstant(_IMP_rmf)
550 IMP_RMF_HAS_HDF5 = _IMP_rmf.IMP_RMF_HAS_HDF5
552 _IMP_rmf.IMPRMF_SHOW_WARNINGS_swigconstant(_IMP_rmf)
553 IMPRMF_SHOW_WARNINGS = _IMP_rmf.IMPRMF_SHOW_WARNINGS
556 _object_types.append(
"SaveOptimizerState")
559 def _object_cast_to_SaveOptimizerState(o):
560 """_object_cast_to_SaveOptimizerState(Object o) -> SaveOptimizerState"""
561 return _IMP_rmf._object_cast_to_SaveOptimizerState(o)
563 _object_types.append(
"LoadLink")
566 def _object_cast_to_LoadLink(o):
567 """_object_cast_to_LoadLink(Object o) -> LoadLink"""
568 return _IMP_rmf._object_cast_to_LoadLink(o)
570 _object_types.append(
"SaveLink")
573 def _object_cast_to_SaveLink(o):
574 """_object_cast_to_SaveLink(Object o) -> SaveLink"""
575 return _IMP_rmf._object_cast_to_SaveLink(o)
577 _object_types.append(
"HierarchySaveLink")
580 def _object_cast_to_HierarchySaveLink(o):
581 """_object_cast_to_HierarchySaveLink(Object o) -> HierarchySaveLink"""
582 return _IMP_rmf._object_cast_to_HierarchySaveLink(o)
584 _object_types.append(
"HierarchyLoadLink")
587 def _object_cast_to_HierarchyLoadLink(o):
588 """_object_cast_to_HierarchyLoadLink(Object o) -> HierarchyLoadLink"""
589 return _IMP_rmf._object_cast_to_HierarchyLoadLink(o)
591 """Proxy of C++ IMP::rmf::LoadLink class"""
592 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
594 def do_load(self, fh):
595 """do_load(LoadLink self, FileConstHandle fh)"""
596 return _IMP_rmf.LoadLink_do_load(self, fh)
599 def __init__(self, name):
600 """__init__(IMP::rmf::LoadLink self, std::string name) -> LoadLink"""
601 if self.__class__ == LoadLink:
605 this = _IMP_rmf.new_LoadLink(_self, name)
607 self.this.append(this)
611 if self.__class__ != LoadLink:
612 _director_objects.register(self)
618 """load(LoadLink self, FileConstHandle fh)"""
619 return _IMP_rmf.LoadLink_load(self, fh)
621 __swig_destroy__ = _IMP_rmf.delete_LoadLink
622 __del__ =
lambda self:
None
625 """__str__(LoadLink self) -> std::string"""
626 return _IMP_rmf.LoadLink___str__(self)
630 """__repr__(LoadLink self) -> std::string"""
631 return _IMP_rmf.LoadLink___repr__(self)
636 return _object_cast_to_LoadLink(o)
639 def get_type_name(self):
640 return self.__class__.__name__
641 def do_show(self, out):
643 def get_version_info(self):
644 if"IMP::rmf" ==
"IMP":
645 return VersionInfo(self.__module__,
646 __import__(self.__module__).get_module_version())
649 __import__(self.__module__).get_module_version())
652 return _object_cast_to_LoadLink(o)
654 def __disown__(self):
656 _IMP_rmf.disown_LoadLink(self)
657 return weakref_proxy(self)
659 def do_destroy(self):
660 """do_destroy(LoadLink self)"""
661 return _IMP_rmf.LoadLink_do_destroy(self)
663 LoadLink_swigregister = _IMP_rmf.LoadLink_swigregister
664 LoadLink_swigregister(LoadLink)
667 """Proxy of C++ IMP::rmf::SaveLink class"""
668 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
670 def do_save(self, hf):
671 """do_save(SaveLink self, FileHandle hf)"""
672 return _IMP_rmf.SaveLink_do_save(self, hf)
675 def __init__(self, name):
676 """__init__(IMP::rmf::SaveLink self, std::string name) -> SaveLink"""
677 if self.__class__ == SaveLink:
681 this = _IMP_rmf.new_SaveLink(_self, name)
683 self.this.append(this)
687 if self.__class__ != SaveLink:
688 _director_objects.register(self)
694 """save(SaveLink self, FileHandle fh)"""
695 return _IMP_rmf.SaveLink_save(self, fh)
697 __swig_destroy__ = _IMP_rmf.delete_SaveLink
698 __del__ =
lambda self:
None
701 """__str__(SaveLink self) -> std::string"""
702 return _IMP_rmf.SaveLink___str__(self)
706 """__repr__(SaveLink self) -> std::string"""
707 return _IMP_rmf.SaveLink___repr__(self)
712 return _object_cast_to_SaveLink(o)
715 def get_type_name(self):
716 return self.__class__.__name__
717 def do_show(self, out):
719 def get_version_info(self):
720 if"IMP::rmf" ==
"IMP":
721 return VersionInfo(self.__module__,
722 __import__(self.__module__).get_module_version())
725 __import__(self.__module__).get_module_version())
728 return _object_cast_to_SaveLink(o)
730 def __disown__(self):
732 _IMP_rmf.disown_SaveLink(self)
733 return weakref_proxy(self)
735 def do_destroy(self):
736 """do_destroy(SaveLink self)"""
737 return _IMP_rmf.SaveLink_do_destroy(self)
739 SaveLink_swigregister = _IMP_rmf.SaveLink_swigregister
740 SaveLink_swigregister(SaveLink)
745 add_hierarchies(FileHandle fh, IMP::atom::Hierarchies const & hs)
746 add_hierarchies(NodeHandle fh, IMP::atom::Hierarchies const & hs)
748 return _IMP_rmf.add_hierarchies(*args)
751 """add_hierarchy(FileHandle fh, Hierarchy hs)"""
752 return _IMP_rmf.add_hierarchy(fh, hs)
755 """create_hierarchies(FileConstHandle fh, Model m) -> IMP::atom::Hierarchies"""
756 return _IMP_rmf.create_hierarchies(fh, m)
759 """link_hierarchies(FileConstHandle fh, IMP::atom::Hierarchies const & hs)"""
760 return _IMP_rmf.link_hierarchies(fh, hs)
764 add_restraints(FileHandle fh, IMP::Restraints const & hs)
765 add_restraints(NodeHandle fh, IMP::Restraints const & hs)
767 return _IMP_rmf.add_restraints(*args)
770 """add_restraint(FileHandle fh, Restraint hs)"""
771 return _IMP_rmf.add_restraint(fh, hs)
774 """create_restraints(FileConstHandle fh, Model m) -> IMP::Restraints"""
775 return _IMP_rmf.create_restraints(fh, m)
778 """link_restraints(FileConstHandle fh, IMP::Restraints const & hs)"""
779 return _IMP_rmf.link_restraints(fh, hs)
782 """add_restraints_as_bonds(FileHandle fh, IMP::Restraints const & rs)"""
783 return _IMP_rmf.add_restraints_as_bonds(fh, rs)
786 """set_maximum_number_of_terms(FileHandle fh, unsigned int num)"""
787 return _IMP_rmf.set_maximum_number_of_terms(fh, num)
791 add_particles(FileHandle fh, IMP::ParticlesTemp const & hs)
792 add_particles(NodeHandle fh, IMP::ParticlesTemp const & hs)
794 return _IMP_rmf.add_particles(*args)
797 """add_particle(FileHandle fh, Particle hs)"""
798 return _IMP_rmf.add_particle(fh, hs)
801 """create_particles(FileConstHandle fh, Model m) -> IMP::ParticlesTemp"""
802 return _IMP_rmf.create_particles(fh, m)
805 """link_particles(FileConstHandle fh, IMP::ParticlesTemp const & hs)"""
806 return _IMP_rmf.link_particles(fh, hs)
810 add_geometries(FileHandle file, IMP::display::GeometriesTemp const & r)
811 add_geometries(NodeHandle parent, IMP::display::GeometriesTemp const & r)
813 return _IMP_rmf.add_geometries(*args)
816 """add_static_geometries(FileHandle parent, IMP::display::GeometriesTemp const & r)"""
817 return _IMP_rmf.add_static_geometries(parent, r)
820 """add_geometry(FileHandle file, Geometry r)"""
821 return _IMP_rmf.add_geometry(file, r)
824 """create_geometries(FileConstHandle parent) -> IMP::display::Geometries"""
825 return _IMP_rmf.create_geometries(parent)
828 """link_geometries(FileConstHandle parent, IMP::display::GeometriesTemp const & r)"""
829 return _IMP_rmf.link_geometries(parent, r)
831 def set_association(nh, o, overwrite=False):
833 set_association(NodeConstHandle nh, Object o, bool overwrite=False)
834 set_association(NodeConstHandle nh, Object o)
836 return _IMP_rmf.set_association(nh, o, overwrite)
838 def get_node_from_association(*args):
840 get_node_from_association(FileConstHandle nh, Object oi) -> NodeConstHandle
841 get_node_from_association(FileHandle nh, Object oi) -> NodeHandle
843 return _IMP_rmf.get_node_from_association(*args)
845 def get_has_associated_node(nh, oi):
846 """get_has_associated_node(FileConstHandle nh, Object oi) -> bool"""
847 return _IMP_rmf.get_has_associated_node(nh, oi)
849 """Proxy of C++ IMP::rmf::SaveOptimizerState class"""
850 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
852 def __init__(self, m, fh):
853 """__init__(IMP::rmf::SaveOptimizerState self, Model m, FileHandle fh) -> SaveOptimizerState"""
854 this = _IMP_rmf.new_SaveOptimizerState(m, fh)
856 self.this.append(this)
860 def remove_hierarchy(self, d):
861 """remove_hierarchy(SaveOptimizerState self, Particle d)"""
862 return _IMP_rmf.SaveOptimizerState_remove_hierarchy(self, d)
865 def remove_hierarchies(self, d):
866 """remove_hierarchies(SaveOptimizerState self, IMP::Particles const & d)"""
867 return _IMP_rmf.SaveOptimizerState_remove_hierarchies(self, d)
870 def set_hierarchies(self, ps):
871 """set_hierarchies(SaveOptimizerState self, IMP::Particles const & ps)"""
872 return _IMP_rmf.SaveOptimizerState_set_hierarchies(self, ps)
875 def set_hierarchies_order(self, objs):
876 """set_hierarchies_order(SaveOptimizerState self, IMP::Particles const & objs)"""
877 return _IMP_rmf.SaveOptimizerState_set_hierarchies_order(self, objs)
881 """add_hierarchy(SaveOptimizerState self, Particle obj) -> unsigned int"""
882 return _IMP_rmf.SaveOptimizerState_add_hierarchy(self, obj)
886 """add_hierarchies(SaveOptimizerState self, IMP::Particles const & objs)"""
887 return _IMP_rmf.SaveOptimizerState_add_hierarchies(self, objs)
890 def clear_hierarchies(self):
891 """clear_hierarchies(SaveOptimizerState self)"""
892 return _IMP_rmf.SaveOptimizerState_clear_hierarchies(self)
895 def get_number_of_hierarchies(self):
896 """get_number_of_hierarchies(SaveOptimizerState self) -> unsigned int"""
897 return _IMP_rmf.SaveOptimizerState_get_number_of_hierarchies(self)
900 def get_has_hierarchies(self):
901 """get_has_hierarchies(SaveOptimizerState self) -> bool"""
902 return _IMP_rmf.SaveOptimizerState_get_has_hierarchies(self)
905 def get_hierarchy(self, i):
906 """get_hierarchy(SaveOptimizerState self, unsigned int i) -> Particle"""
907 return _IMP_rmf.SaveOptimizerState_get_hierarchy(self, i)
910 def get_hierarchies(self):
911 """get_hierarchies(SaveOptimizerState self) -> IMP::Particles"""
912 return _IMP_rmf.SaveOptimizerState_get_hierarchies(self)
915 def reserve_hierarchies(self, sz):
916 """reserve_hierarchies(SaveOptimizerState self, unsigned int sz)"""
917 return _IMP_rmf.SaveOptimizerState_reserve_hierarchies(self, sz)
920 def remove_restraint(self, d):
921 """remove_restraint(SaveOptimizerState self, Restraint d)"""
922 return _IMP_rmf.SaveOptimizerState_remove_restraint(self, d)
925 def remove_restraints(self, d):
926 """remove_restraints(SaveOptimizerState self, IMP::Restraints const & d)"""
927 return _IMP_rmf.SaveOptimizerState_remove_restraints(self, d)
930 def set_restraints(self, ps):
931 """set_restraints(SaveOptimizerState self, IMP::Restraints const & ps)"""
932 return _IMP_rmf.SaveOptimizerState_set_restraints(self, ps)
935 def set_restraints_order(self, objs):
936 """set_restraints_order(SaveOptimizerState self, IMP::Restraints const & objs)"""
937 return _IMP_rmf.SaveOptimizerState_set_restraints_order(self, objs)
941 """add_restraint(SaveOptimizerState self, Restraint obj) -> unsigned int"""
942 return _IMP_rmf.SaveOptimizerState_add_restraint(self, obj)
946 """add_restraints(SaveOptimizerState self, IMP::Restraints const & objs)"""
947 return _IMP_rmf.SaveOptimizerState_add_restraints(self, objs)
950 def clear_restraints(self):
951 """clear_restraints(SaveOptimizerState self)"""
952 return _IMP_rmf.SaveOptimizerState_clear_restraints(self)
955 def get_number_of_restraints(self):
956 """get_number_of_restraints(SaveOptimizerState self) -> unsigned int"""
957 return _IMP_rmf.SaveOptimizerState_get_number_of_restraints(self)
960 def get_has_restraints(self):
961 """get_has_restraints(SaveOptimizerState self) -> bool"""
962 return _IMP_rmf.SaveOptimizerState_get_has_restraints(self)
965 def get_restraint(self, i):
966 """get_restraint(SaveOptimizerState self, unsigned int i) -> Restraint"""
967 return _IMP_rmf.SaveOptimizerState_get_restraint(self, i)
970 def get_restraints(self):
971 """get_restraints(SaveOptimizerState self) -> IMP::Restraints"""
972 return _IMP_rmf.SaveOptimizerState_get_restraints(self)
975 def reserve_restraints(self, sz):
976 """reserve_restraints(SaveOptimizerState self, unsigned int sz)"""
977 return _IMP_rmf.SaveOptimizerState_reserve_restraints(self, sz)
980 def remove_particle(self, d):
981 """remove_particle(SaveOptimizerState self, Particle d)"""
982 return _IMP_rmf.SaveOptimizerState_remove_particle(self, d)
985 def remove_particles(self, d):
986 """remove_particles(SaveOptimizerState self, IMP::Particles const & d)"""
987 return _IMP_rmf.SaveOptimizerState_remove_particles(self, d)
990 def set_particles(self, ps):
991 """set_particles(SaveOptimizerState self, IMP::Particles const & ps)"""
992 return _IMP_rmf.SaveOptimizerState_set_particles(self, ps)
995 def set_particles_order(self, objs):
996 """set_particles_order(SaveOptimizerState self, IMP::Particles const & objs)"""
997 return _IMP_rmf.SaveOptimizerState_set_particles_order(self, objs)
1001 """add_particle(SaveOptimizerState self, Particle obj) -> unsigned int"""
1002 return _IMP_rmf.SaveOptimizerState_add_particle(self, obj)
1006 """add_particles(SaveOptimizerState self, IMP::Particles const & objs)"""
1007 return _IMP_rmf.SaveOptimizerState_add_particles(self, objs)
1010 def clear_particles(self):
1011 """clear_particles(SaveOptimizerState self)"""
1012 return _IMP_rmf.SaveOptimizerState_clear_particles(self)
1015 def get_number_of_particles(self):
1016 """get_number_of_particles(SaveOptimizerState self) -> unsigned int"""
1017 return _IMP_rmf.SaveOptimizerState_get_number_of_particles(self)
1020 def get_has_particles(self):
1021 """get_has_particles(SaveOptimizerState self) -> bool"""
1022 return _IMP_rmf.SaveOptimizerState_get_has_particles(self)
1025 def get_particle(self, i):
1026 """get_particle(SaveOptimizerState self, unsigned int i) -> Particle"""
1027 return _IMP_rmf.SaveOptimizerState_get_particle(self, i)
1031 """get_particles(SaveOptimizerState self) -> IMP::Particles"""
1032 return _IMP_rmf.SaveOptimizerState_get_particles(self)
1035 def reserve_particles(self, sz):
1036 """reserve_particles(SaveOptimizerState self, unsigned int sz)"""
1037 return _IMP_rmf.SaveOptimizerState_reserve_particles(self, sz)
1040 def remove_geometry(self, d):
1041 """remove_geometry(SaveOptimizerState self, Geometry d)"""
1042 return _IMP_rmf.SaveOptimizerState_remove_geometry(self, d)
1045 def remove_geometries(self, d):
1046 """remove_geometries(SaveOptimizerState self, IMP::display::Geometries const & d)"""
1047 return _IMP_rmf.SaveOptimizerState_remove_geometries(self, d)
1050 def set_geometries(self, ps):
1051 """set_geometries(SaveOptimizerState self, IMP::display::Geometries const & ps)"""
1052 return _IMP_rmf.SaveOptimizerState_set_geometries(self, ps)
1055 def set_geometries_order(self, objs):
1056 """set_geometries_order(SaveOptimizerState self, IMP::display::Geometries const & objs)"""
1057 return _IMP_rmf.SaveOptimizerState_set_geometries_order(self, objs)
1061 """add_geometry(SaveOptimizerState self, Geometry obj) -> unsigned int"""
1062 return _IMP_rmf.SaveOptimizerState_add_geometry(self, obj)
1066 """add_geometries(SaveOptimizerState self, IMP::display::Geometries const & objs)"""
1067 return _IMP_rmf.SaveOptimizerState_add_geometries(self, objs)
1070 def clear_geometries(self):
1071 """clear_geometries(SaveOptimizerState self)"""
1072 return _IMP_rmf.SaveOptimizerState_clear_geometries(self)
1075 def get_number_of_geometries(self):
1076 """get_number_of_geometries(SaveOptimizerState self) -> unsigned int"""
1077 return _IMP_rmf.SaveOptimizerState_get_number_of_geometries(self)
1080 def get_has_geometries(self):
1081 """get_has_geometries(SaveOptimizerState self) -> bool"""
1082 return _IMP_rmf.SaveOptimizerState_get_has_geometries(self)
1085 def get_geometry(self, i):
1086 """get_geometry(SaveOptimizerState self, unsigned int i) -> Geometry"""
1087 return _IMP_rmf.SaveOptimizerState_get_geometry(self, i)
1090 def get_geometries(self):
1091 """get_geometries(SaveOptimizerState self) -> IMP::display::Geometries"""
1092 return _IMP_rmf.SaveOptimizerState_get_geometries(self)
1095 def reserve_geometries(self, sz):
1096 """reserve_geometries(SaveOptimizerState self, unsigned int sz)"""
1097 return _IMP_rmf.SaveOptimizerState_reserve_geometries(self, sz)
1100 def set_simulator(self, sim):
1101 """set_simulator(SaveOptimizerState self, Simulator sim)"""
1102 return _IMP_rmf.SaveOptimizerState_set_simulator(self, sim)
1105 def update_always(self, *args):
1107 update_always(SaveOptimizerState self, std::string name)
1108 update_always(SaveOptimizerState self)
1110 return _IMP_rmf.SaveOptimizerState_update_always(self, *args)
1113 def do_update(self, call_num):
1114 """do_update(SaveOptimizerState self, unsigned int call_num)"""
1115 return _IMP_rmf.SaveOptimizerState_do_update(self, call_num)
1118 def get_version_info(self):
1119 """get_version_info(SaveOptimizerState self) -> VersionInfo"""
1120 return _IMP_rmf.SaveOptimizerState_get_version_info(self)
1124 """__str__(SaveOptimizerState self) -> std::string"""
1125 return _IMP_rmf.SaveOptimizerState___str__(self)
1129 """__repr__(SaveOptimizerState self) -> std::string"""
1130 return _IMP_rmf.SaveOptimizerState___repr__(self)
1135 return _object_cast_to_SaveOptimizerState(o)
1137 SaveOptimizerState_swigregister = _IMP_rmf.SaveOptimizerState_swigregister
1138 SaveOptimizerState_swigregister(SaveOptimizerState)
1142 """load_frame(FileConstHandle file, FrameID frame)"""
1143 return _IMP_rmf.load_frame(file, frame)
1147 save_frame(FileHandle file, std::string name) -> FrameID
1148 save_frame(FileHandle file) -> FrameID
1150 return _IMP_rmf.save_frame(*args)
1151 class _ParticleSaveLink(SaveLink):
1152 """Proxy of C++ IMP::rmf::SimpleSaveLink<(IMP::Particle)> class"""
1153 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1155 def __init__(self, *args, **kwargs):
1156 raise AttributeError(
"No constructor defined - class is abstract")
1157 __repr__ = _swig_repr
1159 def add(self, parent, os):
1160 """add(_ParticleSaveLink self, NodeHandle parent, IMP::Vector< Pointer< IMP::Particle > > const & os)"""
1161 return _IMP_rmf._ParticleSaveLink_add(self, parent, os)
1163 __swig_destroy__ = _IMP_rmf.delete__ParticleSaveLink
1164 __del__ =
lambda self:
None
1165 _ParticleSaveLink_swigregister = _IMP_rmf._ParticleSaveLink_swigregister
1166 _ParticleSaveLink_swigregister(_ParticleSaveLink)
1168 class _ParticleLoadLink(LoadLink):
1169 """Proxy of C++ IMP::rmf::SimpleLoadLink<(IMP::Particle)> class"""
1170 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1172 def __init__(self, *args, **kwargs):
1173 raise AttributeError(
"No constructor defined - class is abstract")
1174 __repr__ = _swig_repr
1176 def create(self, *args):
1178 create(_ParticleLoadLink self, NodeConstHandle rt) -> IMP::Vector< Pointer< IMP::Particle > >
1179 create(_ParticleLoadLink self, NodeConstHandle rt, Model m) -> IMP::Vector< Pointer< IMP::Particle > >
1181 return _IMP_rmf._ParticleLoadLink_create(self, *args)
1184 def link(self, rt, ps):
1185 """link(_ParticleLoadLink self, NodeConstHandle rt, IMP::Vector< Pointer< IMP::Particle > > const & ps)"""
1186 return _IMP_rmf._ParticleLoadLink_link(self, rt, ps)
1188 __swig_destroy__ = _IMP_rmf.delete__ParticleLoadLink
1189 __del__ =
lambda self:
None
1190 _ParticleLoadLink_swigregister = _IMP_rmf._ParticleLoadLink_swigregister
1191 _ParticleLoadLink_swigregister(_ParticleLoadLink)
1193 class HierarchyLoadLink(_ParticleLoadLink):
1194 """Proxy of C++ IMP::rmf::HierarchyLoadLink class"""
1195 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1197 def __init__(self, fh):
1198 """__init__(IMP::rmf::HierarchyLoadLink self, FileConstHandle fh) -> HierarchyLoadLink"""
1199 this = _IMP_rmf.new_HierarchyLoadLink(fh)
1201 self.this.append(this)
1206 """get_name() -> char const *"""
1207 return _IMP_rmf.HierarchyLoadLink_get_name()
1209 get_name = staticmethod(get_name)
1211 def get_version_info(self):
1212 """get_version_info(HierarchyLoadLink self) -> VersionInfo"""
1213 return _IMP_rmf.HierarchyLoadLink_get_version_info(self)
1217 """__str__(HierarchyLoadLink self) -> std::string"""
1218 return _IMP_rmf.HierarchyLoadLink___str__(self)
1222 """__repr__(HierarchyLoadLink self) -> std::string"""
1223 return _IMP_rmf.HierarchyLoadLink___repr__(self)
1228 return _object_cast_to_HierarchyLoadLink(o)
1230 HierarchyLoadLink_swigregister = _IMP_rmf.HierarchyLoadLink_swigregister
1231 HierarchyLoadLink_swigregister(HierarchyLoadLink)
1233 def HierarchyLoadLink_get_name():
1234 """HierarchyLoadLink_get_name() -> char const *"""
1235 return _IMP_rmf.HierarchyLoadLink_get_name()
1237 class HierarchySaveLink(_ParticleSaveLink):
1238 """Proxy of C++ IMP::rmf::HierarchySaveLink class"""
1239 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1241 def __init__(self, fh):
1242 """__init__(IMP::rmf::HierarchySaveLink self, FileHandle fh) -> HierarchySaveLink"""
1243 this = _IMP_rmf.new_HierarchySaveLink(fh)
1245 self.this.append(this)
1250 """get_name() -> char const *"""
1251 return _IMP_rmf.HierarchySaveLink_get_name()
1253 get_name = staticmethod(get_name)
1255 def get_version_info(self):
1256 """get_version_info(HierarchySaveLink self) -> VersionInfo"""
1257 return _IMP_rmf.HierarchySaveLink_get_version_info(self)
1261 """__str__(HierarchySaveLink self) -> std::string"""
1262 return _IMP_rmf.HierarchySaveLink___str__(self)
1266 """__repr__(HierarchySaveLink self) -> std::string"""
1267 return _IMP_rmf.HierarchySaveLink___repr__(self)
1272 return _object_cast_to_HierarchySaveLink(o)
1274 HierarchySaveLink_swigregister = _IMP_rmf.HierarchySaveLink_swigregister
1275 HierarchySaveLink_swigregister(HierarchySaveLink)
1277 def HierarchySaveLink_get_name():
1278 """HierarchySaveLink_get_name() -> char const *"""
1279 return _IMP_rmf.HierarchySaveLink_get_name()
1282 suffixes = [
".rmf",
".rmfz"]
1285 def get_module_version():
1286 """get_module_version() -> std::string const"""
1287 return _IMP_rmf.get_module_version()
1290 """get_example_path(std::string fname) -> std::string"""
1291 return _IMP_rmf.get_example_path(fname)
1294 """get_data_path(std::string fname) -> std::string"""
1295 return _IMP_rmf.get_data_path(fname)
1297 from .
import _version_check
1298 _version_check.check_version(get_module_version())
1299 __version__ = get_module_version()
void link_particles(RMF::FileConstHandle fh, const ParticlesTemp &hs)
display::Geometries create_geometries(RMF::FileConstHandle parent)
Create geometry objects for the geometry nodes found in the file.
ParticlesTemp create_particles(RMF::FileConstHandle fh, Model *m)
atom::Hierarchies create_hierarchies(RMF::FileConstHandle fh, Model *m)
RMF::FrameID save_frame(RMF::FileHandle file, std::string name="")
Save the current state of the linked objects as a new RMF frame.
void add_particles(RMF::FileHandle fh, const ParticlesTemp &hs)
Various classes to hold sets of particles.
void add_restraints_as_bonds(RMF::FileHandle fh, const Restraints &rs)
Add a list of restraints to the file as (static) bonds.
Make CGAL functionality available to IMP.
std::string get_data_path(std::string file_name)
Return the full path to one of this module's data files.
ParticlesTemp get_particles(Model *m, const ParticleIndexes &ps)
std::string get_example_path(std::string file_name)
Return the full path to one of this module's example files.
void link_restraints(RMF::FileConstHandle fh, const Restraints &hs)
void add_particle(RMF::FileHandle fh, Particle *hs)
void add_hierarchies(RMF::FileHandle fh, const atom::Hierarchies &hs)
Composable functors to implement scores via compile-time composition.
void add_restraint(RMF::FileHandle fh, Restraint *hs)
void add_hierarchy(RMF::FileHandle fh, atom::Hierarchy hs)
Common base class for heavy weight IMP objects.
void add_restraints(RMF::FileHandle fh, const Restraints &hs)
void link_geometries(RMF::FileConstHandle parent, const display::GeometriesTemp &r)
Link the passed geometry objects to corresponding ones in the file.
Version and module information for Objects.
void load_frame(RMF::FileConstHandle file, RMF::FrameID frame)
void set_maximum_number_of_terms(RMF::FileHandle fh, unsigned int num)
Limit the number of restraint terms.
Basic functionality that is expected to be used by a wide variety of IMP users.
General purpose algebraic and geometric methods that are expected to be used by a wide variety of IMP...
Restraints create_restraints(RMF::FileConstHandle fh, Model *m)
Shared optimizer state that is invoked upon commitment of new coordinates.
void link_hierarchies(RMF::FileConstHandle fh, const atom::Hierarchies &hs)
void add_geometry(RMF::FileHandle file, display::Geometry *r)
Add a single geometry to the file.
void add_static_geometries(RMF::FileHandle parent, const display::GeometriesTemp &r)
Add geometries, assuming they do not move between frames.
void add_geometries(RMF::FileHandle file, const display::GeometriesTemp &r)
Add geometries to the file.
Output IMP model data in various file formats.
Functionality for loading, creating, manipulating and scoring atomic structures.