10 from __future__
import print_function, division, absolute_import
15 from sys
import version_info
as _swig_python_version_info
16 if _swig_python_version_info >= (2, 7, 0):
17 def swig_import_helper():
19 pkg = __name__.rpartition(
'.')[0]
20 mname =
'.'.join((pkg,
'_IMP_rmf')).lstrip(
'.')
22 return importlib.import_module(mname)
24 return importlib.import_module(
'_IMP_rmf')
25 _IMP_rmf = swig_import_helper()
26 del swig_import_helper
27 elif _swig_python_version_info >= (2, 6, 0):
28 def swig_import_helper():
29 from os.path
import dirname
33 fp, pathname, description = imp.find_module(
'_IMP_rmf', [dirname(__file__)])
39 _mod = imp.load_module(
'_IMP_rmf', fp, pathname, description)
43 _IMP_rmf = swig_import_helper()
44 del swig_import_helper
47 del _swig_python_version_info
49 _swig_property = property
54 import builtins
as __builtin__
58 def _swig_setattr_nondynamic(self, class_type, name, value, static=1):
59 if (name ==
"thisown"):
60 return self.this.own(value)
62 if type(value).__name__ ==
'SwigPyObject':
63 self.__dict__[name] = value
65 method = class_type.__swig_setmethods__.get(name,
None)
67 return method(self, value)
69 object.__setattr__(self, name, value)
71 raise AttributeError(
"You cannot add attributes to %s" % self)
74 def _swig_setattr(self, class_type, name, value):
75 return _swig_setattr_nondynamic(self, class_type, name, value, 0)
78 def _swig_getattr(self, class_type, name):
79 if (name ==
"thisown"):
80 return self.this.own()
81 method = class_type.__swig_getmethods__.get(name,
None)
84 raise AttributeError(
"'%s' object has no attribute '%s'" % (class_type.__name__, name))
89 strthis =
"proxy of " + self.this.__repr__()
90 except __builtin__.Exception:
92 return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,)
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
109 except __builtin__.Exception:
110 weakref_proxy =
lambda x: x
113 class IMP_RMF_SwigPyIterator(object):
114 """Proxy of C++ swig::IMP_RMF_SwigPyIterator class."""
116 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
118 def __init__(self, *args, **kwargs):
119 raise AttributeError(
"No constructor defined - class is abstract")
120 __repr__ = _swig_repr
121 __swig_destroy__ = _IMP_rmf.delete_IMP_RMF_SwigPyIterator
122 __del__ =
lambda self:
None
125 """value(IMP_RMF_SwigPyIterator self) -> PyObject *"""
126 return _IMP_rmf.IMP_RMF_SwigPyIterator_value(self)
131 incr(IMP_RMF_SwigPyIterator self, size_t n=1) -> IMP_RMF_SwigPyIterator
132 incr(IMP_RMF_SwigPyIterator self) -> IMP_RMF_SwigPyIterator
134 return _IMP_rmf.IMP_RMF_SwigPyIterator_incr(self, n)
139 decr(IMP_RMF_SwigPyIterator self, size_t n=1) -> IMP_RMF_SwigPyIterator
140 decr(IMP_RMF_SwigPyIterator self) -> IMP_RMF_SwigPyIterator
142 return _IMP_rmf.IMP_RMF_SwigPyIterator_decr(self, n)
145 def distance(self, x):
146 """distance(IMP_RMF_SwigPyIterator self, IMP_RMF_SwigPyIterator x) -> ptrdiff_t"""
147 return _IMP_rmf.IMP_RMF_SwigPyIterator_distance(self, x)
151 """equal(IMP_RMF_SwigPyIterator self, IMP_RMF_SwigPyIterator x) -> bool"""
152 return _IMP_rmf.IMP_RMF_SwigPyIterator_equal(self, x)
156 """copy(IMP_RMF_SwigPyIterator self) -> IMP_RMF_SwigPyIterator"""
157 return _IMP_rmf.IMP_RMF_SwigPyIterator_copy(self)
161 """next(IMP_RMF_SwigPyIterator self) -> PyObject *"""
162 return _IMP_rmf.IMP_RMF_SwigPyIterator_next(self)
166 """__next__(IMP_RMF_SwigPyIterator self) -> PyObject *"""
167 return _IMP_rmf.IMP_RMF_SwigPyIterator___next__(self)
171 """previous(IMP_RMF_SwigPyIterator self) -> PyObject *"""
172 return _IMP_rmf.IMP_RMF_SwigPyIterator_previous(self)
175 def advance(self, n):
176 """advance(IMP_RMF_SwigPyIterator self, ptrdiff_t n) -> IMP_RMF_SwigPyIterator"""
177 return _IMP_rmf.IMP_RMF_SwigPyIterator_advance(self, n)
181 """__eq__(IMP_RMF_SwigPyIterator self, IMP_RMF_SwigPyIterator x) -> bool"""
182 return _IMP_rmf.IMP_RMF_SwigPyIterator___eq__(self, x)
186 """__ne__(IMP_RMF_SwigPyIterator self, IMP_RMF_SwigPyIterator x) -> bool"""
187 return _IMP_rmf.IMP_RMF_SwigPyIterator___ne__(self, x)
190 def __iadd__(self, n):
191 """__iadd__(IMP_RMF_SwigPyIterator self, ptrdiff_t n) -> IMP_RMF_SwigPyIterator"""
192 return _IMP_rmf.IMP_RMF_SwigPyIterator___iadd__(self, n)
195 def __isub__(self, n):
196 """__isub__(IMP_RMF_SwigPyIterator self, ptrdiff_t n) -> IMP_RMF_SwigPyIterator"""
197 return _IMP_rmf.IMP_RMF_SwigPyIterator___isub__(self, n)
200 def __add__(self, n):
201 """__add__(IMP_RMF_SwigPyIterator self, ptrdiff_t n) -> IMP_RMF_SwigPyIterator"""
202 return _IMP_rmf.IMP_RMF_SwigPyIterator___add__(self, n)
205 def __sub__(self, *args):
207 __sub__(IMP_RMF_SwigPyIterator self, ptrdiff_t n) -> IMP_RMF_SwigPyIterator
208 __sub__(IMP_RMF_SwigPyIterator self, IMP_RMF_SwigPyIterator x) -> ptrdiff_t
210 return _IMP_rmf.IMP_RMF_SwigPyIterator___sub__(self, *args)
214 IMP_RMF_SwigPyIterator_swigregister = _IMP_rmf.IMP_RMF_SwigPyIterator_swigregister
215 IMP_RMF_SwigPyIterator_swigregister(IMP_RMF_SwigPyIterator)
223 IMP_DEBUG = _IMP_rmf.IMP_DEBUG
224 IMP_RELEASE = _IMP_rmf.IMP_RELEASE
225 IMP_SILENT = _IMP_rmf.IMP_SILENT
226 IMP_PROGRESS = _IMP_rmf.IMP_PROGRESS
227 IMP_TERSE = _IMP_rmf.IMP_TERSE
228 IMP_VERBOSE = _IMP_rmf.IMP_VERBOSE
229 IMP_MEMORY = _IMP_rmf.IMP_MEMORY
230 IMP_NONE = _IMP_rmf.IMP_NONE
231 IMP_USAGE = _IMP_rmf.IMP_USAGE
232 IMP_INTERNAL = _IMP_rmf.IMP_INTERNAL
233 IMP_KERNEL_HAS_LOG4CXX = _IMP_rmf.IMP_KERNEL_HAS_LOG4CXX
234 IMP_COMPILER_HAS_AUTO = _IMP_rmf.IMP_COMPILER_HAS_AUTO
235 IMP_COMPILER_HAS_DEBUG_VECTOR = _IMP_rmf.IMP_COMPILER_HAS_DEBUG_VECTOR
236 IMP_COMPILER_HAS_UNIQUE_PTR = _IMP_rmf.IMP_COMPILER_HAS_UNIQUE_PTR
237 IMP_KERNEL_HAS_BOOST_RANDOM = _IMP_rmf.IMP_KERNEL_HAS_BOOST_RANDOM
238 IMP_KERNEL_HAS_NUMPY = _IMP_rmf.IMP_KERNEL_HAS_NUMPY
239 IMP_KERNEL_HAS_GPERFTOOLS = _IMP_rmf.IMP_KERNEL_HAS_GPERFTOOLS
240 IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER = _IMP_rmf.IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER
241 IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER = _IMP_rmf.IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER
242 IMPKERNEL_SHOW_WARNINGS = _IMP_rmf.IMPKERNEL_SHOW_WARNINGS
245 class _DirectorObjects(object):
246 """@internal Simple class to keep references to director objects
247 to prevent premature deletion."""
250 def register(self, obj):
251 """Take a reference to a director object; will only work for
252 refcounted C++ classes"""
253 if hasattr(obj,
'get_ref_count'):
254 self._objects.append(obj)
256 """Only drop our reference and allow cleanup by Python if no other
257 Python references exist (we hold 3 references: one in self._objects,
258 one in x, and one in the argument list for getrefcount) *and* no
259 other C++ references exist (the Python object always holds one)"""
260 objs = [x
for x
in self._objects
if sys.getrefcount(x) > 3 \
261 or x.get_ref_count() > 1]
265 def get_object_count(self):
266 """Get number of director objects (useful for testing only)"""
267 return len(self._objects)
268 _director_objects = _DirectorObjects()
270 class _ostream(object):
271 """Proxy of C++ std::ostream class."""
273 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
275 def __init__(self, *args, **kwargs):
276 raise AttributeError(
"No constructor defined")
277 __repr__ = _swig_repr
279 def write(self, osa_buf):
280 """write(_ostream self, char const * osa_buf)"""
281 return _IMP_rmf._ostream_write(self, osa_buf)
283 _ostream_swigregister = _IMP_rmf._ostream_swigregister
284 _ostream_swigregister(_ostream)
286 IMP_COMPILER_HAS_OVERRIDE = _IMP_rmf.IMP_COMPILER_HAS_OVERRIDE
287 IMP_COMPILER_HAS_FINAL = _IMP_rmf.IMP_COMPILER_HAS_FINAL
288 IMP_HAS_NOEXCEPT = _IMP_rmf.IMP_HAS_NOEXCEPT
289 IMP_C_OPEN_BINARY = _IMP_rmf.IMP_C_OPEN_BINARY
291 IMP_CGAL_HAS_BOOST_FILESYSTEM = _IMP_rmf.IMP_CGAL_HAS_BOOST_FILESYSTEM
292 IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS = _IMP_rmf.IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS
293 IMP_CGAL_HAS_BOOST_RANDOM = _IMP_rmf.IMP_CGAL_HAS_BOOST_RANDOM
294 IMP_CGAL_HAS_BOOST_SYSTEM = _IMP_rmf.IMP_CGAL_HAS_BOOST_SYSTEM
295 IMP_CGAL_HAS_NUMPY = _IMP_rmf.IMP_CGAL_HAS_NUMPY
296 IMPCGAL_SHOW_WARNINGS = _IMP_rmf.IMPCGAL_SHOW_WARNINGS
298 IMP_ALGEBRA_HAS_IMP_CGAL = _IMP_rmf.IMP_ALGEBRA_HAS_IMP_CGAL
299 IMP_ALGEBRA_HAS_BOOST_FILESYSTEM = _IMP_rmf.IMP_ALGEBRA_HAS_BOOST_FILESYSTEM
300 IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS = _IMP_rmf.IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS
301 IMP_ALGEBRA_HAS_BOOST_RANDOM = _IMP_rmf.IMP_ALGEBRA_HAS_BOOST_RANDOM
302 IMP_ALGEBRA_HAS_BOOST_SYSTEM = _IMP_rmf.IMP_ALGEBRA_HAS_BOOST_SYSTEM
303 IMP_ALGEBRA_HAS_CGAL = _IMP_rmf.IMP_ALGEBRA_HAS_CGAL
304 IMP_ALGEBRA_HAS_NUMPY = _IMP_rmf.IMP_ALGEBRA_HAS_NUMPY
305 IMP_ALGEBRA_HAS_ANN = _IMP_rmf.IMP_ALGEBRA_HAS_ANN
306 IMPALGEBRA_SHOW_WARNINGS = _IMP_rmf.IMPALGEBRA_SHOW_WARNINGS
308 IMP_DISPLAY_HAS_IMP_CGAL = _IMP_rmf.IMP_DISPLAY_HAS_IMP_CGAL
309 IMP_DISPLAY_HAS_BOOST_FILESYSTEM = _IMP_rmf.IMP_DISPLAY_HAS_BOOST_FILESYSTEM
310 IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS = _IMP_rmf.IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS
311 IMP_DISPLAY_HAS_BOOST_RANDOM = _IMP_rmf.IMP_DISPLAY_HAS_BOOST_RANDOM
312 IMP_DISPLAY_HAS_BOOST_SYSTEM = _IMP_rmf.IMP_DISPLAY_HAS_BOOST_SYSTEM
313 IMP_DISPLAY_HAS_CGAL = _IMP_rmf.IMP_DISPLAY_HAS_CGAL
314 IMP_DISPLAY_HAS_NUMPY = _IMP_rmf.IMP_DISPLAY_HAS_NUMPY
315 IMPDISPLAY_SHOW_WARNINGS = _IMP_rmf.IMPDISPLAY_SHOW_WARNINGS
317 IMP_SCORE_FUNCTOR_HAS_IMP_CGAL = _IMP_rmf.IMP_SCORE_FUNCTOR_HAS_IMP_CGAL
318 IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM = _IMP_rmf.IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM
319 IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS = _IMP_rmf.IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS
320 IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM = _IMP_rmf.IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM
321 IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM = _IMP_rmf.IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM
322 IMP_SCORE_FUNCTOR_HAS_CGAL = _IMP_rmf.IMP_SCORE_FUNCTOR_HAS_CGAL
323 IMP_SCORE_FUNCTOR_HAS_HDF5 = _IMP_rmf.IMP_SCORE_FUNCTOR_HAS_HDF5
324 IMP_SCORE_FUNCTOR_HAS_NUMPY = _IMP_rmf.IMP_SCORE_FUNCTOR_HAS_NUMPY
325 IMPSCOREFUNCTOR_SHOW_WARNINGS = _IMP_rmf.IMPSCOREFUNCTOR_SHOW_WARNINGS
327 IMP_CORE_HAS_IMP_CGAL = _IMP_rmf.IMP_CORE_HAS_IMP_CGAL
328 IMP_CORE_HAS_IMP_KERNEL = _IMP_rmf.IMP_CORE_HAS_IMP_KERNEL
329 IMP_CORE_HAS_BOOST_FILESYSTEM = _IMP_rmf.IMP_CORE_HAS_BOOST_FILESYSTEM
330 IMP_CORE_HAS_BOOST_PROGRAMOPTIONS = _IMP_rmf.IMP_CORE_HAS_BOOST_PROGRAMOPTIONS
331 IMP_CORE_HAS_BOOST_RANDOM = _IMP_rmf.IMP_CORE_HAS_BOOST_RANDOM
332 IMP_CORE_HAS_BOOST_SYSTEM = _IMP_rmf.IMP_CORE_HAS_BOOST_SYSTEM
333 IMP_CORE_HAS_CGAL = _IMP_rmf.IMP_CORE_HAS_CGAL
334 IMP_CORE_HAS_HDF5 = _IMP_rmf.IMP_CORE_HAS_HDF5
335 IMP_CORE_HAS_NUMPY = _IMP_rmf.IMP_CORE_HAS_NUMPY
336 IMPCORE_SHOW_WARNINGS = _IMP_rmf.IMPCORE_SHOW_WARNINGS
338 IMP_CONTAINER_HAS_IMP_ALGEBRA = _IMP_rmf.IMP_CONTAINER_HAS_IMP_ALGEBRA
339 IMP_CONTAINER_HAS_IMP_CGAL = _IMP_rmf.IMP_CONTAINER_HAS_IMP_CGAL
340 IMP_CONTAINER_HAS_IMP_DISPLAY = _IMP_rmf.IMP_CONTAINER_HAS_IMP_DISPLAY
341 IMP_CONTAINER_HAS_IMP_KERNEL = _IMP_rmf.IMP_CONTAINER_HAS_IMP_KERNEL
342 IMP_CONTAINER_HAS_IMP_SCORE_FUNCTOR = _IMP_rmf.IMP_CONTAINER_HAS_IMP_SCORE_FUNCTOR
343 IMP_CONTAINER_HAS_BOOST_FILESYSTEM = _IMP_rmf.IMP_CONTAINER_HAS_BOOST_FILESYSTEM
344 IMP_CONTAINER_HAS_BOOST_PROGRAMOPTIONS = _IMP_rmf.IMP_CONTAINER_HAS_BOOST_PROGRAMOPTIONS
345 IMP_CONTAINER_HAS_BOOST_RANDOM = _IMP_rmf.IMP_CONTAINER_HAS_BOOST_RANDOM
346 IMP_CONTAINER_HAS_BOOST_SYSTEM = _IMP_rmf.IMP_CONTAINER_HAS_BOOST_SYSTEM
347 IMP_CONTAINER_HAS_CGAL = _IMP_rmf.IMP_CONTAINER_HAS_CGAL
348 IMP_CONTAINER_HAS_HDF5 = _IMP_rmf.IMP_CONTAINER_HAS_HDF5
349 IMP_CONTAINER_HAS_NUMPY = _IMP_rmf.IMP_CONTAINER_HAS_NUMPY
350 IMP_CONTAINER_HAS_PYTHON_IHM = _IMP_rmf.IMP_CONTAINER_HAS_PYTHON_IHM
351 IMP_CONTAINER_HAS_GOOGLE_DENSE_HASH_MAP = _IMP_rmf.IMP_CONTAINER_HAS_GOOGLE_DENSE_HASH_MAP
352 IMP_CONTAINER_HAS_ROBIN_MAP = _IMP_rmf.IMP_CONTAINER_HAS_ROBIN_MAP
353 IMPCONTAINER_SHOW_WARNINGS = _IMP_rmf.IMPCONTAINER_SHOW_WARNINGS
355 IMP_ATOM_HAS_IMP_CGAL = _IMP_rmf.IMP_ATOM_HAS_IMP_CGAL
356 IMP_ATOM_HAS_IMP_KERNEL = _IMP_rmf.IMP_ATOM_HAS_IMP_KERNEL
357 IMP_ATOM_HAS_IMP_SCORE_FUNCTOR = _IMP_rmf.IMP_ATOM_HAS_IMP_SCORE_FUNCTOR
358 IMP_ATOM_HAS_BOOST_PROGRAMOPTIONS = _IMP_rmf.IMP_ATOM_HAS_BOOST_PROGRAMOPTIONS
359 IMP_ATOM_HAS_BOOST_RANDOM = _IMP_rmf.IMP_ATOM_HAS_BOOST_RANDOM
360 IMP_ATOM_HAS_BOOST_REGEX = _IMP_rmf.IMP_ATOM_HAS_BOOST_REGEX
361 IMP_ATOM_HAS_BOOST_SYSTEM = _IMP_rmf.IMP_ATOM_HAS_BOOST_SYSTEM
362 IMP_ATOM_HAS_CGAL = _IMP_rmf.IMP_ATOM_HAS_CGAL
363 IMP_ATOM_HAS_HDF5 = _IMP_rmf.IMP_ATOM_HAS_HDF5
364 IMP_ATOM_HAS_NUMPY = _IMP_rmf.IMP_ATOM_HAS_NUMPY
365 IMP_ATOM_HAS_PYTHON_IHM = _IMP_rmf.IMP_ATOM_HAS_PYTHON_IHM
366 IMPATOM_SHOW_WARNINGS = _IMP_rmf.IMPATOM_SHOW_WARNINGS
367 IMP_ATOM_TYPE_INDEX = _IMP_rmf.IMP_ATOM_TYPE_INDEX
368 IMP_RESIDUE_TYPE_INDEX = _IMP_rmf.IMP_RESIDUE_TYPE_INDEX
369 IMP_HIERARCHY_TYPE_INDEX = _IMP_rmf.IMP_HIERARCHY_TYPE_INDEX
370 IMP_CHAIN_TYPE_INDEX = _IMP_rmf.IMP_CHAIN_TYPE_INDEX
372 IMP_RMF_HAS_IMP_CGAL = _IMP_rmf.IMP_RMF_HAS_IMP_CGAL
373 IMP_RMF_HAS_IMP_SCORE_FUNCTOR = _IMP_rmf.IMP_RMF_HAS_IMP_SCORE_FUNCTOR
374 IMP_RMF_HAS_BOOST_FILESYSTEM = _IMP_rmf.IMP_RMF_HAS_BOOST_FILESYSTEM
375 IMP_RMF_HAS_BOOST_PROGRAMOPTIONS = _IMP_rmf.IMP_RMF_HAS_BOOST_PROGRAMOPTIONS
376 IMP_RMF_HAS_BOOST_RANDOM = _IMP_rmf.IMP_RMF_HAS_BOOST_RANDOM
377 IMP_RMF_HAS_BOOST_REGEX = _IMP_rmf.IMP_RMF_HAS_BOOST_REGEX
378 IMP_RMF_HAS_BOOST_SYSTEM = _IMP_rmf.IMP_RMF_HAS_BOOST_SYSTEM
379 IMP_RMF_HAS_CGAL = _IMP_rmf.IMP_RMF_HAS_CGAL
380 IMP_RMF_HAS_HDF5 = _IMP_rmf.IMP_RMF_HAS_HDF5
381 IMP_RMF_HAS_NUMPY = _IMP_rmf.IMP_RMF_HAS_NUMPY
382 IMP_RMF_HAS_PYTHON_IHM = _IMP_rmf.IMP_RMF_HAS_PYTHON_IHM
383 IMPRMF_SHOW_WARNINGS = _IMP_rmf.IMPRMF_SHOW_WARNINGS
386 _object_types.append(
"SaveOptimizerState")
389 def _object_cast_to_SaveOptimizerState(o):
390 """_object_cast_to_SaveOptimizerState(Object o) -> SaveOptimizerState"""
391 return _IMP_rmf._object_cast_to_SaveOptimizerState(o)
393 _object_types.append(
"LoadLink")
396 def _object_cast_to_LoadLink(o):
397 """_object_cast_to_LoadLink(Object o) -> LoadLink"""
398 return _IMP_rmf._object_cast_to_LoadLink(o)
400 _object_types.append(
"SaveLink")
403 def _object_cast_to_SaveLink(o):
404 """_object_cast_to_SaveLink(Object o) -> SaveLink"""
405 return _IMP_rmf._object_cast_to_SaveLink(o)
407 _object_types.append(
"HierarchySaveLink")
410 def _object_cast_to_HierarchySaveLink(o):
411 """_object_cast_to_HierarchySaveLink(Object o) -> HierarchySaveLink"""
412 return _IMP_rmf._object_cast_to_HierarchySaveLink(o)
414 _object_types.append(
"HierarchyLoadLink")
417 def _object_cast_to_HierarchyLoadLink(o):
418 """_object_cast_to_HierarchyLoadLink(Object o) -> HierarchyLoadLink"""
419 return _IMP_rmf._object_cast_to_HierarchyLoadLink(o)
421 """Proxy of C++ IMP::rmf::LoadLink class."""
423 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
425 def do_load(self, fh):
426 """do_load(LoadLink self, FileConstHandle fh)"""
427 return _IMP_rmf.LoadLink_do_load(self, fh)
430 def __init__(self, name):
431 """__init__(IMP::rmf::LoadLink self, std::string name) -> LoadLink"""
432 if self.__class__ == LoadLink:
436 this = _IMP_rmf.new_LoadLink(_self, name)
438 self.this.append(this)
439 except __builtin__.Exception:
442 if self.__class__ != LoadLink:
443 _director_objects.register(self)
449 """load(LoadLink self, FileConstHandle fh)"""
450 return _IMP_rmf.LoadLink_load(self, fh)
452 __swig_destroy__ = _IMP_rmf.delete_LoadLink
453 __del__ =
lambda self:
None
456 """__str__(LoadLink self) -> std::string"""
457 return _IMP_rmf.LoadLink___str__(self)
461 """__repr__(LoadLink self) -> std::string"""
462 return _IMP_rmf.LoadLink___repr__(self)
467 return _object_cast_to_LoadLink(o)
470 def get_type_name(self):
471 return self.__class__.__name__
472 def do_show(self, out):
474 def get_version_info(self):
475 if"IMP::rmf" ==
"IMP":
476 return VersionInfo(self.__module__,
477 __import__(self.__module__).get_module_version())
480 __import__(self.__module__).get_module_version())
483 return _object_cast_to_LoadLink(o)
485 def __disown__(self):
487 _IMP_rmf.disown_LoadLink(self)
488 return weakref_proxy(self)
490 def do_destroy(self):
491 """do_destroy(LoadLink self)"""
492 return _IMP_rmf.LoadLink_do_destroy(self)
494 LoadLink_swigregister = _IMP_rmf.LoadLink_swigregister
495 LoadLink_swigregister(LoadLink)
498 """Proxy of C++ IMP::rmf::SaveLink class."""
500 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
502 def do_save(self, hf):
503 """do_save(SaveLink self, FileHandle hf)"""
504 return _IMP_rmf.SaveLink_do_save(self, hf)
507 def __init__(self, name):
508 """__init__(IMP::rmf::SaveLink self, std::string name) -> SaveLink"""
509 if self.__class__ == SaveLink:
513 this = _IMP_rmf.new_SaveLink(_self, name)
515 self.this.append(this)
516 except __builtin__.Exception:
519 if self.__class__ != SaveLink:
520 _director_objects.register(self)
526 """save(SaveLink self, FileHandle fh)"""
527 return _IMP_rmf.SaveLink_save(self, fh)
529 __swig_destroy__ = _IMP_rmf.delete_SaveLink
530 __del__ =
lambda self:
None
533 """__str__(SaveLink self) -> std::string"""
534 return _IMP_rmf.SaveLink___str__(self)
538 """__repr__(SaveLink self) -> std::string"""
539 return _IMP_rmf.SaveLink___repr__(self)
544 return _object_cast_to_SaveLink(o)
547 def get_type_name(self):
548 return self.__class__.__name__
549 def do_show(self, out):
551 def get_version_info(self):
552 if"IMP::rmf" ==
"IMP":
553 return VersionInfo(self.__module__,
554 __import__(self.__module__).get_module_version())
557 __import__(self.__module__).get_module_version())
560 return _object_cast_to_SaveLink(o)
562 def __disown__(self):
564 _IMP_rmf.disown_SaveLink(self)
565 return weakref_proxy(self)
567 def do_destroy(self):
568 """do_destroy(SaveLink self)"""
569 return _IMP_rmf.SaveLink_do_destroy(self)
571 SaveLink_swigregister = _IMP_rmf.SaveLink_swigregister
572 SaveLink_swigregister(SaveLink)
577 add_hierarchies(FileHandle fh, IMP::atom::Hierarchies const & hs)
578 add_hierarchies(NodeHandle fh, IMP::atom::Hierarchies const & hs)
580 return _IMP_rmf.add_hierarchies(*args)
583 """add_hierarchy(FileHandle fh, Hierarchy hs)"""
584 return _IMP_rmf.add_hierarchy(fh, hs)
587 """create_hierarchies(FileConstHandle fh, Model m) -> IMP::atom::Hierarchies"""
588 return _IMP_rmf.create_hierarchies(fh, m)
591 """link_hierarchies(FileConstHandle fh, IMP::atom::Hierarchies const & hs)"""
592 return _IMP_rmf.link_hierarchies(fh, hs)
596 add_restraints(FileHandle fh, IMP::Restraints const & hs)
597 add_restraints(NodeHandle fh, IMP::Restraints const & hs)
599 return _IMP_rmf.add_restraints(*args)
602 """add_restraint(FileHandle fh, Restraint hs)"""
603 return _IMP_rmf.add_restraint(fh, hs)
606 """create_restraints(FileConstHandle fh, Model m) -> IMP::Restraints"""
607 return _IMP_rmf.create_restraints(fh, m)
610 """link_restraints(FileConstHandle fh, IMP::Restraints const & hs)"""
611 return _IMP_rmf.link_restraints(fh, hs)
614 """add_restraints_as_bonds(FileHandle fh, IMP::Restraints const & rs)"""
615 return _IMP_rmf.add_restraints_as_bonds(fh, rs)
618 """set_maximum_number_of_terms(FileHandle fh, unsigned int num)"""
619 return _IMP_rmf.set_maximum_number_of_terms(fh, num)
623 add_particles(FileHandle fh, IMP::ParticlesTemp const & hs)
624 add_particles(NodeHandle fh, IMP::ParticlesTemp const & hs)
626 return _IMP_rmf.add_particles(*args)
629 """add_particle(FileHandle fh, Particle hs)"""
630 return _IMP_rmf.add_particle(fh, hs)
633 """create_particles(FileConstHandle fh, Model m) -> IMP::ParticlesTemp"""
634 return _IMP_rmf.create_particles(fh, m)
637 """link_particles(FileConstHandle fh, IMP::ParticlesTemp const & hs)"""
638 return _IMP_rmf.link_particles(fh, hs)
642 add_geometries(FileHandle file, IMP::display::GeometriesTemp const & r)
643 add_geometries(NodeHandle parent, IMP::display::GeometriesTemp const & r)
645 return _IMP_rmf.add_geometries(*args)
648 """add_static_geometries(FileHandle parent, IMP::display::GeometriesTemp const & r)"""
649 return _IMP_rmf.add_static_geometries(parent, r)
652 """add_geometry(FileHandle file, Geometry r)"""
653 return _IMP_rmf.add_geometry(file, r)
656 """create_geometries(FileConstHandle parent) -> IMP::display::Geometries"""
657 return _IMP_rmf.create_geometries(parent)
660 """link_geometries(FileConstHandle parent, IMP::display::GeometriesTemp const & r)"""
661 return _IMP_rmf.link_geometries(parent, r)
663 def set_association(nh, o, overwrite=False):
665 set_association(NodeConstHandle nh, Object o, bool overwrite=False)
666 set_association(NodeConstHandle nh, Object o)
668 return _IMP_rmf.set_association(nh, o, overwrite)
670 def get_node_from_association(*args):
672 get_node_from_association(FileConstHandle nh, Object oi) -> NodeConstHandle
673 get_node_from_association(FileHandle nh, Object oi) -> NodeHandle
675 return _IMP_rmf.get_node_from_association(*args)
677 def get_has_associated_node(nh, oi):
678 """get_has_associated_node(FileConstHandle nh, Object oi) -> bool"""
679 return _IMP_rmf.get_has_associated_node(nh, oi)
681 """Proxy of C++ IMP::rmf::SaveOptimizerState class."""
683 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
685 def __init__(self, m, fh):
686 """__init__(IMP::rmf::SaveOptimizerState self, Model m, FileHandle fh) -> SaveOptimizerState"""
687 this = _IMP_rmf.new_SaveOptimizerState(m, fh)
689 self.this.append(this)
690 except __builtin__.Exception:
693 def remove_hierarchy(self, d):
694 """remove_hierarchy(SaveOptimizerState self, Particle d)"""
695 return _IMP_rmf.SaveOptimizerState_remove_hierarchy(self, d)
698 def remove_hierarchies(self, d):
699 """remove_hierarchies(SaveOptimizerState self, IMP::Particles const & d)"""
700 return _IMP_rmf.SaveOptimizerState_remove_hierarchies(self, d)
703 def set_hierarchies(self, ps):
704 """set_hierarchies(SaveOptimizerState self, IMP::Particles const & ps)"""
705 return _IMP_rmf.SaveOptimizerState_set_hierarchies(self, ps)
708 def set_hierarchies_order(self, objs):
709 """set_hierarchies_order(SaveOptimizerState self, IMP::Particles const & objs)"""
710 return _IMP_rmf.SaveOptimizerState_set_hierarchies_order(self, objs)
714 """add_hierarchy(SaveOptimizerState self, Particle obj) -> unsigned int"""
715 return _IMP_rmf.SaveOptimizerState_add_hierarchy(self, obj)
719 """add_hierarchies(SaveOptimizerState self, IMP::Particles const & objs)"""
720 return _IMP_rmf.SaveOptimizerState_add_hierarchies(self, objs)
723 def clear_hierarchies(self):
724 """clear_hierarchies(SaveOptimizerState self)"""
725 return _IMP_rmf.SaveOptimizerState_clear_hierarchies(self)
728 def get_number_of_hierarchies(self):
729 """get_number_of_hierarchies(SaveOptimizerState self) -> unsigned int"""
730 return _IMP_rmf.SaveOptimizerState_get_number_of_hierarchies(self)
733 def get_has_hierarchies(self):
734 """get_has_hierarchies(SaveOptimizerState self) -> bool"""
735 return _IMP_rmf.SaveOptimizerState_get_has_hierarchies(self)
738 def get_hierarchy(self, i):
739 """get_hierarchy(SaveOptimizerState self, unsigned int i) -> Particle"""
740 return _IMP_rmf.SaveOptimizerState_get_hierarchy(self, i)
743 def get_hierarchies(self):
744 """get_hierarchies(SaveOptimizerState self) -> IMP::Particles"""
745 return _IMP_rmf.SaveOptimizerState_get_hierarchies(self)
748 def reserve_hierarchies(self, sz):
749 """reserve_hierarchies(SaveOptimizerState self, unsigned int sz)"""
750 return _IMP_rmf.SaveOptimizerState_reserve_hierarchies(self, sz)
753 def remove_restraint(self, d):
754 """remove_restraint(SaveOptimizerState self, Restraint d)"""
755 return _IMP_rmf.SaveOptimizerState_remove_restraint(self, d)
758 def remove_restraints(self, d):
759 """remove_restraints(SaveOptimizerState self, IMP::Restraints const & d)"""
760 return _IMP_rmf.SaveOptimizerState_remove_restraints(self, d)
763 def set_restraints(self, ps):
764 """set_restraints(SaveOptimizerState self, IMP::Restraints const & ps)"""
765 return _IMP_rmf.SaveOptimizerState_set_restraints(self, ps)
768 def set_restraints_order(self, objs):
769 """set_restraints_order(SaveOptimizerState self, IMP::Restraints const & objs)"""
770 return _IMP_rmf.SaveOptimizerState_set_restraints_order(self, objs)
774 """add_restraint(SaveOptimizerState self, Restraint obj) -> unsigned int"""
775 return _IMP_rmf.SaveOptimizerState_add_restraint(self, obj)
779 """add_restraints(SaveOptimizerState self, IMP::Restraints const & objs)"""
780 return _IMP_rmf.SaveOptimizerState_add_restraints(self, objs)
783 def clear_restraints(self):
784 """clear_restraints(SaveOptimizerState self)"""
785 return _IMP_rmf.SaveOptimizerState_clear_restraints(self)
788 def get_number_of_restraints(self):
789 """get_number_of_restraints(SaveOptimizerState self) -> unsigned int"""
790 return _IMP_rmf.SaveOptimizerState_get_number_of_restraints(self)
793 def get_has_restraints(self):
794 """get_has_restraints(SaveOptimizerState self) -> bool"""
795 return _IMP_rmf.SaveOptimizerState_get_has_restraints(self)
798 def get_restraint(self, i):
799 """get_restraint(SaveOptimizerState self, unsigned int i) -> Restraint"""
800 return _IMP_rmf.SaveOptimizerState_get_restraint(self, i)
803 def get_restraints(self):
804 """get_restraints(SaveOptimizerState self) -> IMP::Restraints"""
805 return _IMP_rmf.SaveOptimizerState_get_restraints(self)
808 def reserve_restraints(self, sz):
809 """reserve_restraints(SaveOptimizerState self, unsigned int sz)"""
810 return _IMP_rmf.SaveOptimizerState_reserve_restraints(self, sz)
813 def remove_particle(self, d):
814 """remove_particle(SaveOptimizerState self, Particle d)"""
815 return _IMP_rmf.SaveOptimizerState_remove_particle(self, d)
818 def remove_particles(self, d):
819 """remove_particles(SaveOptimizerState self, IMP::Particles const & d)"""
820 return _IMP_rmf.SaveOptimizerState_remove_particles(self, d)
823 def set_particles(self, ps):
824 """set_particles(SaveOptimizerState self, IMP::Particles const & ps)"""
825 return _IMP_rmf.SaveOptimizerState_set_particles(self, ps)
828 def set_particles_order(self, objs):
829 """set_particles_order(SaveOptimizerState self, IMP::Particles const & objs)"""
830 return _IMP_rmf.SaveOptimizerState_set_particles_order(self, objs)
834 """add_particle(SaveOptimizerState self, Particle obj) -> unsigned int"""
835 return _IMP_rmf.SaveOptimizerState_add_particle(self, obj)
839 """add_particles(SaveOptimizerState self, IMP::Particles const & objs)"""
840 return _IMP_rmf.SaveOptimizerState_add_particles(self, objs)
843 def clear_particles(self):
844 """clear_particles(SaveOptimizerState self)"""
845 return _IMP_rmf.SaveOptimizerState_clear_particles(self)
848 def get_number_of_particles(self):
849 """get_number_of_particles(SaveOptimizerState self) -> unsigned int"""
850 return _IMP_rmf.SaveOptimizerState_get_number_of_particles(self)
853 def get_has_particles(self):
854 """get_has_particles(SaveOptimizerState self) -> bool"""
855 return _IMP_rmf.SaveOptimizerState_get_has_particles(self)
859 """get_particle(SaveOptimizerState self, unsigned int i) -> Particle"""
860 return _IMP_rmf.SaveOptimizerState_get_particle(self, i)
864 """get_particles(SaveOptimizerState self) -> IMP::Particles"""
865 return _IMP_rmf.SaveOptimizerState_get_particles(self)
868 def reserve_particles(self, sz):
869 """reserve_particles(SaveOptimizerState self, unsigned int sz)"""
870 return _IMP_rmf.SaveOptimizerState_reserve_particles(self, sz)
873 def remove_geometry(self, d):
874 """remove_geometry(SaveOptimizerState self, Geometry d)"""
875 return _IMP_rmf.SaveOptimizerState_remove_geometry(self, d)
878 def remove_geometries(self, d):
879 """remove_geometries(SaveOptimizerState self, IMP::display::Geometries const & d)"""
880 return _IMP_rmf.SaveOptimizerState_remove_geometries(self, d)
883 def set_geometries(self, ps):
884 """set_geometries(SaveOptimizerState self, IMP::display::Geometries const & ps)"""
885 return _IMP_rmf.SaveOptimizerState_set_geometries(self, ps)
888 def set_geometries_order(self, objs):
889 """set_geometries_order(SaveOptimizerState self, IMP::display::Geometries const & objs)"""
890 return _IMP_rmf.SaveOptimizerState_set_geometries_order(self, objs)
894 """add_geometry(SaveOptimizerState self, Geometry obj) -> unsigned int"""
895 return _IMP_rmf.SaveOptimizerState_add_geometry(self, obj)
899 """add_geometries(SaveOptimizerState self, IMP::display::Geometries const & objs)"""
900 return _IMP_rmf.SaveOptimizerState_add_geometries(self, objs)
903 def clear_geometries(self):
904 """clear_geometries(SaveOptimizerState self)"""
905 return _IMP_rmf.SaveOptimizerState_clear_geometries(self)
908 def get_number_of_geometries(self):
909 """get_number_of_geometries(SaveOptimizerState self) -> unsigned int"""
910 return _IMP_rmf.SaveOptimizerState_get_number_of_geometries(self)
913 def get_has_geometries(self):
914 """get_has_geometries(SaveOptimizerState self) -> bool"""
915 return _IMP_rmf.SaveOptimizerState_get_has_geometries(self)
918 def get_geometry(self, i):
919 """get_geometry(SaveOptimizerState self, unsigned int i) -> Geometry"""
920 return _IMP_rmf.SaveOptimizerState_get_geometry(self, i)
923 def get_geometries(self):
924 """get_geometries(SaveOptimizerState self) -> IMP::display::Geometries"""
925 return _IMP_rmf.SaveOptimizerState_get_geometries(self)
928 def reserve_geometries(self, sz):
929 """reserve_geometries(SaveOptimizerState self, unsigned int sz)"""
930 return _IMP_rmf.SaveOptimizerState_reserve_geometries(self, sz)
933 def set_simulator(self, sim):
934 """set_simulator(SaveOptimizerState self, Simulator sim)"""
935 return _IMP_rmf.SaveOptimizerState_set_simulator(self, sim)
938 def update_always(self, *args):
940 update_always(SaveOptimizerState self, std::string name)
941 update_always(SaveOptimizerState self)
943 return _IMP_rmf.SaveOptimizerState_update_always(self, *args)
946 def do_update(self, call_num):
947 """do_update(SaveOptimizerState self, unsigned int call_num)"""
948 return _IMP_rmf.SaveOptimizerState_do_update(self, call_num)
951 def get_version_info(self):
952 """get_version_info(SaveOptimizerState self) -> VersionInfo"""
953 return _IMP_rmf.SaveOptimizerState_get_version_info(self)
957 """__str__(SaveOptimizerState self) -> std::string"""
958 return _IMP_rmf.SaveOptimizerState___str__(self)
962 """__repr__(SaveOptimizerState self) -> std::string"""
963 return _IMP_rmf.SaveOptimizerState___repr__(self)
968 return _object_cast_to_SaveOptimizerState(o)
970 SaveOptimizerState_swigregister = _IMP_rmf.SaveOptimizerState_swigregister
971 SaveOptimizerState_swigregister(SaveOptimizerState)
975 """load_frame(FileConstHandle file, FrameID frame)"""
976 return _IMP_rmf.load_frame(file, frame)
980 save_frame(FileHandle file, std::string name) -> FrameID
981 save_frame(FileHandle file) -> FrameID
983 return _IMP_rmf.save_frame(*args)
984 class _ParticleSaveLink(SaveLink):
985 """Proxy of C++ IMP::rmf::SimpleSaveLink<(IMP::Particle)> class."""
987 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
989 def __init__(self, *args, **kwargs):
990 raise AttributeError(
"No constructor defined - class is abstract")
991 __repr__ = _swig_repr
993 def add(self, parent, os):
994 """add(_ParticleSaveLink self, NodeHandle parent, IMP::Vector< Pointer< IMP::Particle > > const & os)"""
995 return _IMP_rmf._ParticleSaveLink_add(self, parent, os)
997 __swig_destroy__ = _IMP_rmf.delete__ParticleSaveLink
998 __del__ =
lambda self:
None
999 _ParticleSaveLink_swigregister = _IMP_rmf._ParticleSaveLink_swigregister
1000 _ParticleSaveLink_swigregister(_ParticleSaveLink)
1002 class _ParticleLoadLink(LoadLink):
1003 """Proxy of C++ IMP::rmf::SimpleLoadLink<(IMP::Particle)> class."""
1005 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1007 def __init__(self, *args, **kwargs):
1008 raise AttributeError(
"No constructor defined - class is abstract")
1009 __repr__ = _swig_repr
1011 def create(self, *args):
1013 create(_ParticleLoadLink self, NodeConstHandle rt) -> IMP::Vector< Pointer< IMP::Particle > >
1014 create(_ParticleLoadLink self, NodeConstHandle rt, Model m) -> IMP::Vector< Pointer< IMP::Particle > >
1016 return _IMP_rmf._ParticleLoadLink_create(self, *args)
1019 def link(self, rt, ps):
1020 """link(_ParticleLoadLink self, NodeConstHandle rt, IMP::Vector< Pointer< IMP::Particle > > const & ps)"""
1021 return _IMP_rmf._ParticleLoadLink_link(self, rt, ps)
1023 __swig_destroy__ = _IMP_rmf.delete__ParticleLoadLink
1024 __del__ =
lambda self:
None
1025 _ParticleLoadLink_swigregister = _IMP_rmf._ParticleLoadLink_swigregister
1026 _ParticleLoadLink_swigregister(_ParticleLoadLink)
1028 class HierarchyLoadLink(_ParticleLoadLink):
1029 """Proxy of C++ IMP::rmf::HierarchyLoadLink class."""
1031 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1033 def __init__(self, fh):
1034 """__init__(IMP::rmf::HierarchyLoadLink self, FileConstHandle fh) -> HierarchyLoadLink"""
1035 this = _IMP_rmf.new_HierarchyLoadLink(fh)
1037 self.this.append(this)
1038 except __builtin__.Exception:
1042 """get_name() -> char const *"""
1043 return _IMP_rmf.HierarchyLoadLink_get_name()
1045 get_name = staticmethod(get_name)
1047 def get_version_info(self):
1048 """get_version_info(HierarchyLoadLink self) -> VersionInfo"""
1049 return _IMP_rmf.HierarchyLoadLink_get_version_info(self)
1053 """__str__(HierarchyLoadLink self) -> std::string"""
1054 return _IMP_rmf.HierarchyLoadLink___str__(self)
1058 """__repr__(HierarchyLoadLink self) -> std::string"""
1059 return _IMP_rmf.HierarchyLoadLink___repr__(self)
1064 return _object_cast_to_HierarchyLoadLink(o)
1066 HierarchyLoadLink_swigregister = _IMP_rmf.HierarchyLoadLink_swigregister
1067 HierarchyLoadLink_swigregister(HierarchyLoadLink)
1069 def HierarchyLoadLink_get_name():
1070 """HierarchyLoadLink_get_name() -> char const *"""
1071 return _IMP_rmf.HierarchyLoadLink_get_name()
1073 class HierarchySaveLink(_ParticleSaveLink):
1074 """Proxy of C++ IMP::rmf::HierarchySaveLink class."""
1076 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1078 def __init__(self, fh):
1079 """__init__(IMP::rmf::HierarchySaveLink self, FileHandle fh) -> HierarchySaveLink"""
1080 this = _IMP_rmf.new_HierarchySaveLink(fh)
1082 self.this.append(this)
1083 except __builtin__.Exception:
1087 """get_name() -> char const *"""
1088 return _IMP_rmf.HierarchySaveLink_get_name()
1090 get_name = staticmethod(get_name)
1092 def get_version_info(self):
1093 """get_version_info(HierarchySaveLink self) -> VersionInfo"""
1094 return _IMP_rmf.HierarchySaveLink_get_version_info(self)
1098 """__str__(HierarchySaveLink self) -> std::string"""
1099 return _IMP_rmf.HierarchySaveLink___str__(self)
1103 """__repr__(HierarchySaveLink self) -> std::string"""
1104 return _IMP_rmf.HierarchySaveLink___repr__(self)
1109 return _object_cast_to_HierarchySaveLink(o)
1111 HierarchySaveLink_swigregister = _IMP_rmf.HierarchySaveLink_swigregister
1112 HierarchySaveLink_swigregister(HierarchySaveLink)
1114 def HierarchySaveLink_get_name():
1115 """HierarchySaveLink_get_name() -> char const *"""
1116 return _IMP_rmf.HierarchySaveLink_get_name()
1119 suffixes = [
".rmf",
".rmfz"]
1122 def get_module_version():
1123 """get_module_version() -> std::string const"""
1124 return _IMP_rmf.get_module_version()
1127 """get_example_path(std::string fname) -> std::string"""
1128 return _IMP_rmf.get_example_path(fname)
1131 """get_data_path(std::string fname) -> std::string"""
1132 return _IMP_rmf.get_data_path(fname)
1134 from .
import _version_check
1135 _version_check.check_version(get_module_version())
1136 __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.
ParticlesTemp get_particles(Model *m, const ParticleIndexes &ps)
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.
std::string get_data_path(std::string file_name)
Return the full path to one of this module's data files.
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)
Load the given RMF frame into the state of the linked objects.
Particle * get_particle() const
Returns the particle decorated by this decorator.
void set_maximum_number_of_terms(RMF::FileHandle fh, unsigned int num)
Limit the number of restraint terms.
std::string get_example_path(std::string file_name)
Return the full path to one of this module's example files.
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.