IMP  2.4.0
The Integrative Modeling Platform
rmf/__init__.py
1 # This file was automatically generated by SWIG (http://www.swig.org).
2 # Version 3.0.2
3 #
4 # Do not make changes to this file unless you know what you are doing--modify
5 # the SWIG interface file instead.
6 
7 
8 
9 
10 
11 from sys import version_info
12 if version_info >= (2,6,0):
13  def swig_import_helper():
14  from os.path import dirname
15  import imp
16  fp = None
17  try:
18  fp, pathname, description = imp.find_module('_IMP_rmf', [dirname(__file__)])
19  except ImportError:
20  import _IMP_rmf
21  return _IMP_rmf
22  if fp is not None:
23  try:
24  _mod = imp.load_module('_IMP_rmf', fp, pathname, description)
25  finally:
26  fp.close()
27  return _mod
28  _IMP_rmf = swig_import_helper()
29  del swig_import_helper
30 else:
31  import _IMP_rmf
32 del version_info
33 try:
34  _swig_property = property
35 except NameError:
36  pass # Python < 2.2 doesn't have 'property'.
37 def _swig_setattr_nondynamic(self,class_type,name,value,static=1):
38  if (name == "thisown"): return self.this.own(value)
39  if (name == "this"):
40  if type(value).__name__ == 'SwigPyObject':
41  self.__dict__[name] = value
42  return
43  method = class_type.__swig_setmethods__.get(name,None)
44  if method: return method(self,value)
45  if (not static):
46  self.__dict__[name] = value
47  else:
48  raise AttributeError("You cannot add attributes to %s" % self)
49 
50 def _swig_setattr(self,class_type,name,value):
51  return _swig_setattr_nondynamic(self,class_type,name,value,0)
52 
53 def _swig_getattr(self,class_type,name):
54  if (name == "thisown"): return self.this.own()
55  method = class_type.__swig_getmethods__.get(name,None)
56  if method: return method(self)
57  raise AttributeError(name)
58 
59 def _swig_repr(self):
60  try: strthis = "proxy of " + self.this.__repr__()
61  except: strthis = ""
62  return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,)
63 
64 try:
65  _object = object
66  _newclass = 1
67 except AttributeError:
68  class _object : pass
69  _newclass = 0
70 
71 
72 def _swig_setattr_nondynamic_method(set):
73  def set_attr(self,name,value):
74  if (name == "thisown"): return self.this.own(value)
75  if hasattr(self,name) or (name == "this"):
76  set(self,name,value)
77  else:
78  raise AttributeError("You cannot add attributes to %s" % self)
79  return set_attr
80 
81 
82 try:
83  import weakref
84  weakref_proxy = weakref.proxy
85 except:
86  weakref_proxy = lambda x: x
87 
88 
89 class IMP_RMF_SwigPyIterator(object):
90  """Proxy of C++ swig::IMP_RMF_SwigPyIterator class"""
91  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
92  def __init__(self, *args, **kwargs): raise AttributeError("No constructor defined - class is abstract")
93  __repr__ = _swig_repr
94  __swig_destroy__ = _IMP_rmf.delete_IMP_RMF_SwigPyIterator
95  __del__ = lambda self : None;
96  def value(self):
97  """value(IMP_RMF_SwigPyIterator self) -> PyObject *"""
98  return _IMP_rmf.IMP_RMF_SwigPyIterator_value(self)
99 
100  def incr(self, n=1):
101  """
102  incr(IMP_RMF_SwigPyIterator self, size_t n=1) -> IMP_RMF_SwigPyIterator
103  incr(IMP_RMF_SwigPyIterator self) -> IMP_RMF_SwigPyIterator
104  """
105  return _IMP_rmf.IMP_RMF_SwigPyIterator_incr(self, n)
106 
107  def decr(self, n=1):
108  """
109  decr(IMP_RMF_SwigPyIterator self, size_t n=1) -> IMP_RMF_SwigPyIterator
110  decr(IMP_RMF_SwigPyIterator self) -> IMP_RMF_SwigPyIterator
111  """
112  return _IMP_rmf.IMP_RMF_SwigPyIterator_decr(self, n)
113 
114  def distance(self, *args):
115  """distance(IMP_RMF_SwigPyIterator self, IMP_RMF_SwigPyIterator x) -> ptrdiff_t"""
116  return _IMP_rmf.IMP_RMF_SwigPyIterator_distance(self, *args)
117 
118  def equal(self, *args):
119  """equal(IMP_RMF_SwigPyIterator self, IMP_RMF_SwigPyIterator x) -> bool"""
120  return _IMP_rmf.IMP_RMF_SwigPyIterator_equal(self, *args)
121 
122  def copy(self):
123  """copy(IMP_RMF_SwigPyIterator self) -> IMP_RMF_SwigPyIterator"""
124  return _IMP_rmf.IMP_RMF_SwigPyIterator_copy(self)
125 
126  def next(self):
127  """next(IMP_RMF_SwigPyIterator self) -> PyObject *"""
128  return _IMP_rmf.IMP_RMF_SwigPyIterator_next(self)
129 
130  def __next__(self):
131  """__next__(IMP_RMF_SwigPyIterator self) -> PyObject *"""
132  return _IMP_rmf.IMP_RMF_SwigPyIterator___next__(self)
133 
134  def previous(self):
135  """previous(IMP_RMF_SwigPyIterator self) -> PyObject *"""
136  return _IMP_rmf.IMP_RMF_SwigPyIterator_previous(self)
137 
138  def advance(self, *args):
139  """advance(IMP_RMF_SwigPyIterator self, ptrdiff_t n) -> IMP_RMF_SwigPyIterator"""
140  return _IMP_rmf.IMP_RMF_SwigPyIterator_advance(self, *args)
141 
142  def __eq__(self, *args):
143  """__eq__(IMP_RMF_SwigPyIterator self, IMP_RMF_SwigPyIterator x) -> bool"""
144  return _IMP_rmf.IMP_RMF_SwigPyIterator___eq__(self, *args)
145 
146  def __ne__(self, *args):
147  """__ne__(IMP_RMF_SwigPyIterator self, IMP_RMF_SwigPyIterator x) -> bool"""
148  return _IMP_rmf.IMP_RMF_SwigPyIterator___ne__(self, *args)
149 
150  def __iadd__(self, *args):
151  """__iadd__(IMP_RMF_SwigPyIterator self, ptrdiff_t n) -> IMP_RMF_SwigPyIterator"""
152  return _IMP_rmf.IMP_RMF_SwigPyIterator___iadd__(self, *args)
153 
154  def __isub__(self, *args):
155  """__isub__(IMP_RMF_SwigPyIterator self, ptrdiff_t n) -> IMP_RMF_SwigPyIterator"""
156  return _IMP_rmf.IMP_RMF_SwigPyIterator___isub__(self, *args)
157 
158  def __add__(self, *args):
159  """__add__(IMP_RMF_SwigPyIterator self, ptrdiff_t n) -> IMP_RMF_SwigPyIterator"""
160  return _IMP_rmf.IMP_RMF_SwigPyIterator___add__(self, *args)
161 
162  def __sub__(self, *args):
163  """
164  __sub__(IMP_RMF_SwigPyIterator self, ptrdiff_t n) -> IMP_RMF_SwigPyIterator
165  __sub__(IMP_RMF_SwigPyIterator self, IMP_RMF_SwigPyIterator x) -> ptrdiff_t
166  """
167  return _IMP_rmf.IMP_RMF_SwigPyIterator___sub__(self, *args)
168 
169  def __iter__(self): return self
170 IMP_RMF_SwigPyIterator_swigregister = _IMP_rmf.IMP_RMF_SwigPyIterator_swigregister
171 IMP_RMF_SwigPyIterator_swigregister(IMP_RMF_SwigPyIterator)
172 
173 _value_types=[]
174 _object_types=[]
175 _raii_types=[]
176 _plural_types=[]
177 
178 IMP_DEBUG = _IMP_rmf.IMP_DEBUG
179 IMP_RELEASE = _IMP_rmf.IMP_RELEASE
180 IMP_SILENT = _IMP_rmf.IMP_SILENT
181 IMP_PROGRESS = _IMP_rmf.IMP_PROGRESS
182 IMP_TERSE = _IMP_rmf.IMP_TERSE
183 IMP_VERBOSE = _IMP_rmf.IMP_VERBOSE
184 IMP_MEMORY = _IMP_rmf.IMP_MEMORY
185 IMP_NONE = _IMP_rmf.IMP_NONE
186 IMP_USAGE = _IMP_rmf.IMP_USAGE
187 IMP_INTERNAL = _IMP_rmf.IMP_INTERNAL
188 IMP_BASE_HAS_LOG4CXX = _IMP_rmf.IMP_BASE_HAS_LOG4CXX
189 IMP_COMPILER_HAS_AUTO = _IMP_rmf.IMP_COMPILER_HAS_AUTO
190 IMP_COMPILER_HAS_DEBUG_VECTOR = _IMP_rmf.IMP_COMPILER_HAS_DEBUG_VECTOR
191 IMP_BASE_HAS_BOOST_RANDOM = _IMP_rmf.IMP_BASE_HAS_BOOST_RANDOM
192 IMP_BASE_HAS_GPERFTOOLS = _IMP_rmf.IMP_BASE_HAS_GPERFTOOLS
193 IMP_BASE_HAS_TCMALLOC_HEAPCHECKER = _IMP_rmf.IMP_BASE_HAS_TCMALLOC_HEAPCHECKER
194 IMP_BASE_HAS_TCMALLOC_HEAPPROFILER = _IMP_rmf.IMP_BASE_HAS_TCMALLOC_HEAPPROFILER
195 IMPBASE_SHOW_WARNINGS = _IMP_rmf.IMPBASE_SHOW_WARNINGS
196 import sys
197 class _DirectorObjects(object):
198  """@internal Simple class to keep references to director objects
199  to prevent premature deletion."""
200  def __init__(self):
201  self._objects = []
202  def register(self, obj):
203  """Take a reference to a director object; will only work for
204  refcounted C++ classes"""
205  if hasattr(obj, 'get_ref_count'):
206  self._objects.append(obj)
207  def cleanup(self):
208  """Only drop our reference and allow cleanup by Python if no other
209  Python references exist (we hold 3 references: one in self._objects,
210  one in x, and one in the argument list for getrefcount) *and* no
211  other C++ references exist (the Python object always holds one)"""
212  objs = [x for x in self._objects if sys.getrefcount(x) > 3 \
213  or x.get_ref_count() > 1]
214  # Do in two steps so the references are kept until the end of the
215  # function (deleting references may trigger a fresh call to this method)
216  self._objects = objs
217  def get_object_count(self):
218  """Get number of director objects (useful for testing only)"""
219  return len(self._objects)
220 _director_objects = _DirectorObjects()
221 
222 class _ostream(object):
223  """Proxy of C++ std::ostream class"""
224  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
225  def __init__(self, *args, **kwargs): raise AttributeError("No constructor defined")
226  __repr__ = _swig_repr
227  def write(self, *args):
228  """write(_ostream self, char const * osa_buf)"""
229  return _IMP_rmf._ostream_write(self, *args)
230 
231 _ostream_swigregister = _IMP_rmf._ostream_swigregister
232 _ostream_swigregister(_ostream)
233 
234 IMP_COMPILER_HAS_OVERRIDE = _IMP_rmf.IMP_COMPILER_HAS_OVERRIDE
235 IMP_COMPILER_HAS_FINAL = _IMP_rmf.IMP_COMPILER_HAS_FINAL
236 IMP_HAS_NOEXCEPT = _IMP_rmf.IMP_HAS_NOEXCEPT
237 import IMP.base
238 IMP_CGAL_HAS_BOOST_FILESYSTEM = _IMP_rmf.IMP_CGAL_HAS_BOOST_FILESYSTEM
239 IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS = _IMP_rmf.IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS
240 IMP_CGAL_HAS_BOOST_RANDOM = _IMP_rmf.IMP_CGAL_HAS_BOOST_RANDOM
241 IMP_CGAL_HAS_BOOST_SYSTEM = _IMP_rmf.IMP_CGAL_HAS_BOOST_SYSTEM
242 IMPCGAL_SHOW_WARNINGS = _IMP_rmf.IMPCGAL_SHOW_WARNINGS
243 import IMP.cgal
244 IMP_ALGEBRA_HAS_IMP_CGAL = _IMP_rmf.IMP_ALGEBRA_HAS_IMP_CGAL
245 IMP_ALGEBRA_HAS_BOOST_FILESYSTEM = _IMP_rmf.IMP_ALGEBRA_HAS_BOOST_FILESYSTEM
246 IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS = _IMP_rmf.IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS
247 IMP_ALGEBRA_HAS_BOOST_RANDOM = _IMP_rmf.IMP_ALGEBRA_HAS_BOOST_RANDOM
248 IMP_ALGEBRA_HAS_BOOST_SYSTEM = _IMP_rmf.IMP_ALGEBRA_HAS_BOOST_SYSTEM
249 IMP_ALGEBRA_HAS_CGAL = _IMP_rmf.IMP_ALGEBRA_HAS_CGAL
250 IMP_ALGEBRA_HAS_ANN = _IMP_rmf.IMP_ALGEBRA_HAS_ANN
251 IMPALGEBRA_SHOW_WARNINGS = _IMP_rmf.IMPALGEBRA_SHOW_WARNINGS
252 import IMP.algebra
253 IMP_KERNEL_HAS_IMP_CGAL = _IMP_rmf.IMP_KERNEL_HAS_IMP_CGAL
254 IMP_KERNEL_HAS_BOOST_PROGRAMOPTIONS = _IMP_rmf.IMP_KERNEL_HAS_BOOST_PROGRAMOPTIONS
255 IMP_KERNEL_HAS_BOOST_RANDOM = _IMP_rmf.IMP_KERNEL_HAS_BOOST_RANDOM
256 IMP_KERNEL_HAS_BOOST_SYSTEM = _IMP_rmf.IMP_KERNEL_HAS_BOOST_SYSTEM
257 IMP_KERNEL_HAS_CGAL = _IMP_rmf.IMP_KERNEL_HAS_CGAL
258 IMPKERNEL_SHOW_WARNINGS = _IMP_rmf.IMPKERNEL_SHOW_WARNINGS
259 import IMP.kernel
260 IMP_DISPLAY_HAS_IMP_BASE = _IMP_rmf.IMP_DISPLAY_HAS_IMP_BASE
261 IMP_DISPLAY_HAS_IMP_CGAL = _IMP_rmf.IMP_DISPLAY_HAS_IMP_CGAL
262 IMP_DISPLAY_HAS_BOOST_FILESYSTEM = _IMP_rmf.IMP_DISPLAY_HAS_BOOST_FILESYSTEM
263 IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS = _IMP_rmf.IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS
264 IMP_DISPLAY_HAS_BOOST_RANDOM = _IMP_rmf.IMP_DISPLAY_HAS_BOOST_RANDOM
265 IMP_DISPLAY_HAS_BOOST_SYSTEM = _IMP_rmf.IMP_DISPLAY_HAS_BOOST_SYSTEM
266 IMP_DISPLAY_HAS_CGAL = _IMP_rmf.IMP_DISPLAY_HAS_CGAL
267 IMPDISPLAY_SHOW_WARNINGS = _IMP_rmf.IMPDISPLAY_SHOW_WARNINGS
268 import IMP.display
269 IMP_SCORE_FUNCTOR_HAS_IMP_CGAL = _IMP_rmf.IMP_SCORE_FUNCTOR_HAS_IMP_CGAL
270 IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM = _IMP_rmf.IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM
271 IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS = _IMP_rmf.IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS
272 IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM = _IMP_rmf.IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM
273 IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM = _IMP_rmf.IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM
274 IMP_SCORE_FUNCTOR_HAS_CGAL = _IMP_rmf.IMP_SCORE_FUNCTOR_HAS_CGAL
275 IMP_SCORE_FUNCTOR_HAS_HDF5 = _IMP_rmf.IMP_SCORE_FUNCTOR_HAS_HDF5
276 IMPSCOREFUNCTOR_SHOW_WARNINGS = _IMP_rmf.IMPSCOREFUNCTOR_SHOW_WARNINGS
277 import IMP.score_functor
278 IMP_CORE_HAS_IMP_BASE = _IMP_rmf.IMP_CORE_HAS_IMP_BASE
279 IMP_CORE_HAS_IMP_CGAL = _IMP_rmf.IMP_CORE_HAS_IMP_CGAL
280 IMP_CORE_HAS_IMP_KERNEL = _IMP_rmf.IMP_CORE_HAS_IMP_KERNEL
281 IMP_CORE_HAS_BOOST_FILESYSTEM = _IMP_rmf.IMP_CORE_HAS_BOOST_FILESYSTEM
282 IMP_CORE_HAS_BOOST_PROGRAMOPTIONS = _IMP_rmf.IMP_CORE_HAS_BOOST_PROGRAMOPTIONS
283 IMP_CORE_HAS_BOOST_RANDOM = _IMP_rmf.IMP_CORE_HAS_BOOST_RANDOM
284 IMP_CORE_HAS_BOOST_SYSTEM = _IMP_rmf.IMP_CORE_HAS_BOOST_SYSTEM
285 IMP_CORE_HAS_CGAL = _IMP_rmf.IMP_CORE_HAS_CGAL
286 IMP_CORE_HAS_HDF5 = _IMP_rmf.IMP_CORE_HAS_HDF5
287 IMPCORE_SHOW_WARNINGS = _IMP_rmf.IMPCORE_SHOW_WARNINGS
288 import IMP.core
289 IMP_CONTAINER_HAS_IMP_ALGEBRA = _IMP_rmf.IMP_CONTAINER_HAS_IMP_ALGEBRA
290 IMP_CONTAINER_HAS_IMP_BASE = _IMP_rmf.IMP_CONTAINER_HAS_IMP_BASE
291 IMP_CONTAINER_HAS_IMP_CGAL = _IMP_rmf.IMP_CONTAINER_HAS_IMP_CGAL
292 IMP_CONTAINER_HAS_IMP_DISPLAY = _IMP_rmf.IMP_CONTAINER_HAS_IMP_DISPLAY
293 IMP_CONTAINER_HAS_IMP_KERNEL = _IMP_rmf.IMP_CONTAINER_HAS_IMP_KERNEL
294 IMP_CONTAINER_HAS_IMP_SCORE_FUNCTOR = _IMP_rmf.IMP_CONTAINER_HAS_IMP_SCORE_FUNCTOR
295 IMP_CONTAINER_HAS_BOOST_FILESYSTEM = _IMP_rmf.IMP_CONTAINER_HAS_BOOST_FILESYSTEM
296 IMP_CONTAINER_HAS_BOOST_PROGRAMOPTIONS = _IMP_rmf.IMP_CONTAINER_HAS_BOOST_PROGRAMOPTIONS
297 IMP_CONTAINER_HAS_BOOST_RANDOM = _IMP_rmf.IMP_CONTAINER_HAS_BOOST_RANDOM
298 IMP_CONTAINER_HAS_BOOST_SYSTEM = _IMP_rmf.IMP_CONTAINER_HAS_BOOST_SYSTEM
299 IMP_CONTAINER_HAS_CGAL = _IMP_rmf.IMP_CONTAINER_HAS_CGAL
300 IMP_CONTAINER_HAS_HDF5 = _IMP_rmf.IMP_CONTAINER_HAS_HDF5
301 IMPCONTAINER_SHOW_WARNINGS = _IMP_rmf.IMPCONTAINER_SHOW_WARNINGS
302 import IMP.container
303 IMP_ATOM_HAS_IMP_BASE = _IMP_rmf.IMP_ATOM_HAS_IMP_BASE
304 IMP_ATOM_HAS_IMP_CGAL = _IMP_rmf.IMP_ATOM_HAS_IMP_CGAL
305 IMP_ATOM_HAS_IMP_KERNEL = _IMP_rmf.IMP_ATOM_HAS_IMP_KERNEL
306 IMP_ATOM_HAS_IMP_SCORE_FUNCTOR = _IMP_rmf.IMP_ATOM_HAS_IMP_SCORE_FUNCTOR
307 IMP_ATOM_HAS_BOOST_PROGRAMOPTIONS = _IMP_rmf.IMP_ATOM_HAS_BOOST_PROGRAMOPTIONS
308 IMP_ATOM_HAS_BOOST_RANDOM = _IMP_rmf.IMP_ATOM_HAS_BOOST_RANDOM
309 IMP_ATOM_HAS_BOOST_REGEX = _IMP_rmf.IMP_ATOM_HAS_BOOST_REGEX
310 IMP_ATOM_HAS_BOOST_SYSTEM = _IMP_rmf.IMP_ATOM_HAS_BOOST_SYSTEM
311 IMP_ATOM_HAS_CGAL = _IMP_rmf.IMP_ATOM_HAS_CGAL
312 IMP_ATOM_HAS_HDF5 = _IMP_rmf.IMP_ATOM_HAS_HDF5
313 IMPATOM_SHOW_WARNINGS = _IMP_rmf.IMPATOM_SHOW_WARNINGS
314 IMP_ATOM_TYPE_INDEX = _IMP_rmf.IMP_ATOM_TYPE_INDEX
315 IMP_RESIDUE_TYPE_INDEX = _IMP_rmf.IMP_RESIDUE_TYPE_INDEX
316 IMP_HIERARCHY_TYPE_INDEX = _IMP_rmf.IMP_HIERARCHY_TYPE_INDEX
317 import IMP.atom
318 IMP_RMF_HAS_IMP_BASE = _IMP_rmf.IMP_RMF_HAS_IMP_BASE
319 IMP_RMF_HAS_IMP_CGAL = _IMP_rmf.IMP_RMF_HAS_IMP_CGAL
320 IMP_RMF_HAS_IMP_SCORE_FUNCTOR = _IMP_rmf.IMP_RMF_HAS_IMP_SCORE_FUNCTOR
321 IMP_RMF_HAS_BOOST_FILESYSTEM = _IMP_rmf.IMP_RMF_HAS_BOOST_FILESYSTEM
322 IMP_RMF_HAS_BOOST_PROGRAMOPTIONS = _IMP_rmf.IMP_RMF_HAS_BOOST_PROGRAMOPTIONS
323 IMP_RMF_HAS_BOOST_RANDOM = _IMP_rmf.IMP_RMF_HAS_BOOST_RANDOM
324 IMP_RMF_HAS_BOOST_REGEX = _IMP_rmf.IMP_RMF_HAS_BOOST_REGEX
325 IMP_RMF_HAS_BOOST_SYSTEM = _IMP_rmf.IMP_RMF_HAS_BOOST_SYSTEM
326 IMP_RMF_HAS_CGAL = _IMP_rmf.IMP_RMF_HAS_CGAL
327 IMP_RMF_HAS_HDF5 = _IMP_rmf.IMP_RMF_HAS_HDF5
328 IMPRMF_SHOW_WARNINGS = _IMP_rmf.IMPRMF_SHOW_WARNINGS
329 import RMF
330 _object_types.append("SaveOptimizerState")
331 
332 
333 def _object_cast_to_SaveOptimizerState(*args):
334  """_object_cast_to_SaveOptimizerState(Object o) -> SaveOptimizerState"""
335  return _IMP_rmf._object_cast_to_SaveOptimizerState(*args)
336 _object_types.append("LoadLink")
337 
338 
339 def _object_cast_to_LoadLink(*args):
340  """_object_cast_to_LoadLink(Object o) -> LoadLink"""
341  return _IMP_rmf._object_cast_to_LoadLink(*args)
342 _object_types.append("SaveLink")
343 
344 
345 def _object_cast_to_SaveLink(*args):
346  """_object_cast_to_SaveLink(Object o) -> SaveLink"""
347  return _IMP_rmf._object_cast_to_SaveLink(*args)
348 _object_types.append("HierarchySaveLink")
349 
350 
351 def _object_cast_to_HierarchySaveLink(*args):
352  """_object_cast_to_HierarchySaveLink(Object o) -> HierarchySaveLink"""
353  return _IMP_rmf._object_cast_to_HierarchySaveLink(*args)
354 _object_types.append("HierarchyLoadLink")
355 
356 
357 def _object_cast_to_HierarchyLoadLink(*args):
358  """_object_cast_to_HierarchyLoadLink(Object o) -> HierarchyLoadLink"""
359  return _IMP_rmf._object_cast_to_HierarchyLoadLink(*args)
360 class LoadLink(IMP.base.Object):
361  """Proxy of C++ IMP::rmf::LoadLink class"""
362  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
363  def do_load(self, *args):
364  """do_load(LoadLink self, FileConstHandle fh)"""
365  return _IMP_rmf.LoadLink_do_load(self, *args)
366 
367  def __init__(self, *args):
368  """__init__(IMP::rmf::LoadLink self, std::string name) -> LoadLink"""
369  if self.__class__ == LoadLink:
370  _self = None
371  else:
372  _self = self
373  this = _IMP_rmf.new_LoadLink(_self, *args)
374  try: self.this.append(this)
375  except: self.this = this
376  if self.__class__ != LoadLink:
377  import IMP.base
378  IMP.base._director_objects.register(self)
379 
380 
381 
382  def load(self, *args):
383  """load(LoadLink self, FileConstHandle fh)"""
384  return _IMP_rmf.LoadLink_load(self, *args)
385 
386  __swig_destroy__ = _IMP_rmf.delete_LoadLink
387  __del__ = lambda self : None;
388  def __str__(self):
389  """__str__(LoadLink self) -> std::string"""
390  return _IMP_rmf.LoadLink___str__(self)
391 
392  def __repr__(self):
393  """__repr__(LoadLink self) -> std::string"""
394  return _IMP_rmf.LoadLink___repr__(self)
395 
396  def get_from(o):
397  return _object_cast_to_LoadLink(o)
398  get_from = staticmethod(get_from)
399 
400  def get_type_name(self):
401  return self.__class__.__name__
402  def do_show(self, out):
403  pass
404  def get_version_info(self):
405  if"IMP::rmf" == "IMP":
406  return VersionInfo("python", "0")
407  else:
408  return IMP.VersionInfo("python", "0")
409  def get_from(o):
410  return _object_cast_to_LoadLink(o)
411  get_from = staticmethod(get_from)
412 
413  def __disown__(self):
414  self.this.disown()
415  _IMP_rmf.disown_LoadLink(self)
416  return weakref_proxy(self)
417  def do_destroy(self):
418  """do_destroy(LoadLink self)"""
419  return _IMP_rmf.LoadLink_do_destroy(self)
420 
421 LoadLink_swigregister = _IMP_rmf.LoadLink_swigregister
422 LoadLink_swigregister(LoadLink)
423 
424 class SaveLink(IMP.base.Object):
425  """Proxy of C++ IMP::rmf::SaveLink class"""
426  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
427  def do_save(self, *args):
428  """do_save(SaveLink self, FileHandle hf)"""
429  return _IMP_rmf.SaveLink_do_save(self, *args)
430 
431  def __init__(self, *args):
432  """__init__(IMP::rmf::SaveLink self, std::string name) -> SaveLink"""
433  if self.__class__ == SaveLink:
434  _self = None
435  else:
436  _self = self
437  this = _IMP_rmf.new_SaveLink(_self, *args)
438  try: self.this.append(this)
439  except: self.this = this
440  if self.__class__ != SaveLink:
441  import IMP.base
442  IMP.base._director_objects.register(self)
443 
444 
445 
446  def save(self, *args):
447  """save(SaveLink self, FileHandle fh)"""
448  return _IMP_rmf.SaveLink_save(self, *args)
449 
450  __swig_destroy__ = _IMP_rmf.delete_SaveLink
451  __del__ = lambda self : None;
452  def __str__(self):
453  """__str__(SaveLink self) -> std::string"""
454  return _IMP_rmf.SaveLink___str__(self)
455 
456  def __repr__(self):
457  """__repr__(SaveLink self) -> std::string"""
458  return _IMP_rmf.SaveLink___repr__(self)
459 
460  def get_from(o):
461  return _object_cast_to_SaveLink(o)
462  get_from = staticmethod(get_from)
463 
464  def get_type_name(self):
465  return self.__class__.__name__
466  def do_show(self, out):
467  pass
468  def get_version_info(self):
469  if"IMP::rmf" == "IMP":
470  return VersionInfo("python", "0")
471  else:
472  return IMP.VersionInfo("python", "0")
473  def get_from(o):
474  return _object_cast_to_SaveLink(o)
475  get_from = staticmethod(get_from)
476 
477  def __disown__(self):
478  self.this.disown()
479  _IMP_rmf.disown_SaveLink(self)
480  return weakref_proxy(self)
481  def do_destroy(self):
482  """do_destroy(SaveLink self)"""
483  return _IMP_rmf.SaveLink_do_destroy(self)
484 
485 SaveLink_swigregister = _IMP_rmf.SaveLink_swigregister
486 SaveLink_swigregister(SaveLink)
487 
488 
489 def add_hierarchies(*args):
490  """
491  add_hierarchies(FileHandle fh, IMP::atom::Hierarchies const & hs)
492  add_hierarchies(NodeHandle fh, IMP::atom::Hierarchies const & hs)
493  """
494  return _IMP_rmf.add_hierarchies(*args)
495 
496 def add_hierarchy(*args):
497  """add_hierarchy(FileHandle fh, Hierarchy hs)"""
498  return _IMP_rmf.add_hierarchy(*args)
499 
500 def create_hierarchies(*args):
501  """create_hierarchies(FileConstHandle fh, Model m) -> IMP::atom::Hierarchies"""
502  return _IMP_rmf.create_hierarchies(*args)
503 
504 def link_hierarchies(*args):
505  """link_hierarchies(FileConstHandle fh, IMP::atom::Hierarchies const & hs)"""
506  return _IMP_rmf.link_hierarchies(*args)
507 
508 def add_restraints(*args):
509  """
510  add_restraints(FileHandle fh, IMP::kernel::Restraints const & hs)
511  add_restraints(NodeHandle fh, IMP::kernel::Restraints const & hs)
512  """
513  return _IMP_rmf.add_restraints(*args)
514 
515 def add_restraint(*args):
516  """add_restraint(FileHandle fh, Restraint hs)"""
517  return _IMP_rmf.add_restraint(*args)
518 
519 def create_restraints(*args):
520  """create_restraints(FileConstHandle fh, Model m) -> IMP::kernel::Restraints"""
521  return _IMP_rmf.create_restraints(*args)
522 
523 def link_restraints(*args):
524  """link_restraints(FileConstHandle fh, IMP::kernel::Restraints const & hs)"""
525  return _IMP_rmf.link_restraints(*args)
526 
527 def add_restraints_as_bonds(*args):
528  """add_restraints_as_bonds(FileHandle fh, IMP::kernel::Restraints const & rs)"""
529  return _IMP_rmf.add_restraints_as_bonds(*args)
530 
531 def set_maximum_number_of_terms(*args):
532  """set_maximum_number_of_terms(FileHandle fh, unsigned int num)"""
533  return _IMP_rmf.set_maximum_number_of_terms(*args)
534 
535 def add_particles(*args):
536  """
537  add_particles(FileHandle fh, IMP::kernel::ParticlesTemp const & hs)
538  add_particles(NodeHandle fh, IMP::kernel::ParticlesTemp const & hs)
539  """
540  return _IMP_rmf.add_particles(*args)
541 
542 def add_particle(*args):
543  """add_particle(FileHandle fh, Particle hs)"""
544  return _IMP_rmf.add_particle(*args)
545 
546 def create_particles(*args):
547  """create_particles(FileConstHandle fh, Model m) -> IMP::kernel::ParticlesTemp"""
548  return _IMP_rmf.create_particles(*args)
549 
550 def link_particles(*args):
551  """link_particles(FileConstHandle fh, IMP::kernel::ParticlesTemp const & hs)"""
552  return _IMP_rmf.link_particles(*args)
553 
554 def add_geometries(*args):
555  """
556  add_geometries(FileHandle file, IMP::display::GeometriesTemp const & r)
557  add_geometries(NodeHandle parent, IMP::display::GeometriesTemp const & r)
558  """
559  return _IMP_rmf.add_geometries(*args)
560 
561 def add_static_geometries(*args):
562  """add_static_geometries(FileHandle parent, IMP::display::GeometriesTemp const & r)"""
563  return _IMP_rmf.add_static_geometries(*args)
564 
565 def add_geometry(*args):
566  """add_geometry(FileHandle parent, Geometry r)"""
567  return _IMP_rmf.add_geometry(*args)
568 
569 def create_geometries(*args):
570  """create_geometries(FileConstHandle parent) -> IMP::display::Geometries"""
571  return _IMP_rmf.create_geometries(*args)
572 
573 def link_geometries(*args):
574  """link_geometries(FileConstHandle parent, IMP::display::GeometriesTemp const & r)"""
575  return _IMP_rmf.link_geometries(*args)
576 
577 def set_association(*args):
578  """
579  set_association(NodeConstHandle nh, Object o, bool overwrite=False)
580  set_association(NodeConstHandle nh, Object o)
581  """
582  return _IMP_rmf.set_association(*args)
583 
584 def get_node_from_association(*args):
585  """
586  get_node_from_association(FileConstHandle nh, Object oi) -> NodeConstHandle
587  get_node_from_association(FileHandle nh, Object oi) -> NodeHandle
588  """
589  return _IMP_rmf.get_node_from_association(*args)
590 
591 def get_has_associated_node(*args):
592  """get_has_associated_node(FileConstHandle nh, Object oi) -> bool"""
593  return _IMP_rmf.get_has_associated_node(*args)
594 class SaveOptimizerState(IMP.kernel.OptimizerState):
595  """Proxy of C++ IMP::rmf::SaveOptimizerState class"""
596  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
597  def __init__(self, *args):
598  """__init__(IMP::rmf::SaveOptimizerState self, Model m, FileHandle fh) -> SaveOptimizerState"""
599  this = _IMP_rmf.new_SaveOptimizerState(*args)
600  try: self.this.append(this)
601  except: self.this = this
602  def remove_hierarchy(self, *args):
603  """remove_hierarchy(SaveOptimizerState self, Particle d)"""
604  return _IMP_rmf.SaveOptimizerState_remove_hierarchy(self, *args)
605 
606  def remove_hierarchies(self, *args):
607  """remove_hierarchies(SaveOptimizerState self, IMP::kernel::Particles const & d)"""
608  return _IMP_rmf.SaveOptimizerState_remove_hierarchies(self, *args)
609 
610  def set_hierarchies(self, *args):
611  """set_hierarchies(SaveOptimizerState self, IMP::kernel::Particles const & ps)"""
612  return _IMP_rmf.SaveOptimizerState_set_hierarchies(self, *args)
613 
614  def set_hierarchies_order(self, *args):
615  """set_hierarchies_order(SaveOptimizerState self, IMP::kernel::Particles const & objs)"""
616  return _IMP_rmf.SaveOptimizerState_set_hierarchies_order(self, *args)
617 
618  def add_hierarchy(self, *args):
619  """add_hierarchy(SaveOptimizerState self, Particle obj) -> unsigned int"""
620  return _IMP_rmf.SaveOptimizerState_add_hierarchy(self, *args)
621 
622  def add_hierarchies(self, *args):
623  """add_hierarchies(SaveOptimizerState self, IMP::kernel::Particles const & objs)"""
624  return _IMP_rmf.SaveOptimizerState_add_hierarchies(self, *args)
625 
626  def clear_hierarchies(self):
627  """clear_hierarchies(SaveOptimizerState self)"""
628  return _IMP_rmf.SaveOptimizerState_clear_hierarchies(self)
629 
630  def get_number_of_hierarchies(self):
631  """get_number_of_hierarchies(SaveOptimizerState self) -> unsigned int"""
632  return _IMP_rmf.SaveOptimizerState_get_number_of_hierarchies(self)
633 
634  def get_has_hierarchies(self):
635  """get_has_hierarchies(SaveOptimizerState self) -> bool"""
636  return _IMP_rmf.SaveOptimizerState_get_has_hierarchies(self)
637 
638  def get_hierarchy(self, *args):
639  """get_hierarchy(SaveOptimizerState self, unsigned int i) -> Particle"""
640  return _IMP_rmf.SaveOptimizerState_get_hierarchy(self, *args)
641 
642  def get_hierarchies(self):
643  """get_hierarchies(SaveOptimizerState self) -> IMP::kernel::Particles"""
644  return _IMP_rmf.SaveOptimizerState_get_hierarchies(self)
645 
646  def reserve_hierarchies(self, *args):
647  """reserve_hierarchies(SaveOptimizerState self, unsigned int sz)"""
648  return _IMP_rmf.SaveOptimizerState_reserve_hierarchies(self, *args)
649 
650  def remove_restraint(self, *args):
651  """remove_restraint(SaveOptimizerState self, Restraint d)"""
652  return _IMP_rmf.SaveOptimizerState_remove_restraint(self, *args)
653 
654  def remove_restraints(self, *args):
655  """remove_restraints(SaveOptimizerState self, IMP::kernel::Restraints const & d)"""
656  return _IMP_rmf.SaveOptimizerState_remove_restraints(self, *args)
657 
658  def set_restraints(self, *args):
659  """set_restraints(SaveOptimizerState self, IMP::kernel::Restraints const & ps)"""
660  return _IMP_rmf.SaveOptimizerState_set_restraints(self, *args)
661 
662  def set_restraints_order(self, *args):
663  """set_restraints_order(SaveOptimizerState self, IMP::kernel::Restraints const & objs)"""
664  return _IMP_rmf.SaveOptimizerState_set_restraints_order(self, *args)
665 
666  def add_restraint(self, *args):
667  """add_restraint(SaveOptimizerState self, Restraint obj) -> unsigned int"""
668  return _IMP_rmf.SaveOptimizerState_add_restraint(self, *args)
669 
670  def add_restraints(self, *args):
671  """add_restraints(SaveOptimizerState self, IMP::kernel::Restraints const & objs)"""
672  return _IMP_rmf.SaveOptimizerState_add_restraints(self, *args)
673 
674  def clear_restraints(self):
675  """clear_restraints(SaveOptimizerState self)"""
676  return _IMP_rmf.SaveOptimizerState_clear_restraints(self)
677 
678  def get_number_of_restraints(self):
679  """get_number_of_restraints(SaveOptimizerState self) -> unsigned int"""
680  return _IMP_rmf.SaveOptimizerState_get_number_of_restraints(self)
681 
682  def get_has_restraints(self):
683  """get_has_restraints(SaveOptimizerState self) -> bool"""
684  return _IMP_rmf.SaveOptimizerState_get_has_restraints(self)
685 
686  def get_restraint(self, *args):
687  """get_restraint(SaveOptimizerState self, unsigned int i) -> Restraint"""
688  return _IMP_rmf.SaveOptimizerState_get_restraint(self, *args)
689 
690  def get_restraints(self):
691  """get_restraints(SaveOptimizerState self) -> IMP::kernel::Restraints"""
692  return _IMP_rmf.SaveOptimizerState_get_restraints(self)
693 
694  def reserve_restraints(self, *args):
695  """reserve_restraints(SaveOptimizerState self, unsigned int sz)"""
696  return _IMP_rmf.SaveOptimizerState_reserve_restraints(self, *args)
697 
698  def remove_particle(self, *args):
699  """remove_particle(SaveOptimizerState self, Particle d)"""
700  return _IMP_rmf.SaveOptimizerState_remove_particle(self, *args)
701 
702  def remove_particles(self, *args):
703  """remove_particles(SaveOptimizerState self, IMP::kernel::Particles const & d)"""
704  return _IMP_rmf.SaveOptimizerState_remove_particles(self, *args)
705 
706  def set_particles(self, *args):
707  """set_particles(SaveOptimizerState self, IMP::kernel::Particles const & ps)"""
708  return _IMP_rmf.SaveOptimizerState_set_particles(self, *args)
709 
710  def set_particles_order(self, *args):
711  """set_particles_order(SaveOptimizerState self, IMP::kernel::Particles const & objs)"""
712  return _IMP_rmf.SaveOptimizerState_set_particles_order(self, *args)
713 
714  def add_particle(self, *args):
715  """add_particle(SaveOptimizerState self, Particle obj) -> unsigned int"""
716  return _IMP_rmf.SaveOptimizerState_add_particle(self, *args)
717 
718  def add_particles(self, *args):
719  """add_particles(SaveOptimizerState self, IMP::kernel::Particles const & objs)"""
720  return _IMP_rmf.SaveOptimizerState_add_particles(self, *args)
721 
722  def clear_particles(self):
723  """clear_particles(SaveOptimizerState self)"""
724  return _IMP_rmf.SaveOptimizerState_clear_particles(self)
725 
726  def get_number_of_particles(self):
727  """get_number_of_particles(SaveOptimizerState self) -> unsigned int"""
728  return _IMP_rmf.SaveOptimizerState_get_number_of_particles(self)
729 
730  def get_has_particles(self):
731  """get_has_particles(SaveOptimizerState self) -> bool"""
732  return _IMP_rmf.SaveOptimizerState_get_has_particles(self)
733 
734  def get_particle(self, *args):
735  """get_particle(SaveOptimizerState self, unsigned int i) -> Particle"""
736  return _IMP_rmf.SaveOptimizerState_get_particle(self, *args)
737 
738  def get_particles(self):
739  """get_particles(SaveOptimizerState self) -> IMP::kernel::Particles"""
740  return _IMP_rmf.SaveOptimizerState_get_particles(self)
741 
742  def reserve_particles(self, *args):
743  """reserve_particles(SaveOptimizerState self, unsigned int sz)"""
744  return _IMP_rmf.SaveOptimizerState_reserve_particles(self, *args)
745 
746  def remove_geometry(self, *args):
747  """remove_geometry(SaveOptimizerState self, Geometry d)"""
748  return _IMP_rmf.SaveOptimizerState_remove_geometry(self, *args)
749 
750  def remove_geometries(self, *args):
751  """remove_geometries(SaveOptimizerState self, IMP::display::Geometries const & d)"""
752  return _IMP_rmf.SaveOptimizerState_remove_geometries(self, *args)
753 
754  def set_geometries(self, *args):
755  """set_geometries(SaveOptimizerState self, IMP::display::Geometries const & ps)"""
756  return _IMP_rmf.SaveOptimizerState_set_geometries(self, *args)
757 
758  def set_geometries_order(self, *args):
759  """set_geometries_order(SaveOptimizerState self, IMP::display::Geometries const & objs)"""
760  return _IMP_rmf.SaveOptimizerState_set_geometries_order(self, *args)
761 
762  def add_geometry(self, *args):
763  """add_geometry(SaveOptimizerState self, Geometry obj) -> unsigned int"""
764  return _IMP_rmf.SaveOptimizerState_add_geometry(self, *args)
765 
766  def add_geometries(self, *args):
767  """add_geometries(SaveOptimizerState self, IMP::display::Geometries const & objs)"""
768  return _IMP_rmf.SaveOptimizerState_add_geometries(self, *args)
769 
770  def clear_geometries(self):
771  """clear_geometries(SaveOptimizerState self)"""
772  return _IMP_rmf.SaveOptimizerState_clear_geometries(self)
773 
774  def get_number_of_geometries(self):
775  """get_number_of_geometries(SaveOptimizerState self) -> unsigned int"""
776  return _IMP_rmf.SaveOptimizerState_get_number_of_geometries(self)
777 
778  def get_has_geometries(self):
779  """get_has_geometries(SaveOptimizerState self) -> bool"""
780  return _IMP_rmf.SaveOptimizerState_get_has_geometries(self)
781 
782  def get_geometry(self, *args):
783  """get_geometry(SaveOptimizerState self, unsigned int i) -> Geometry"""
784  return _IMP_rmf.SaveOptimizerState_get_geometry(self, *args)
785 
786  def get_geometries(self):
787  """get_geometries(SaveOptimizerState self) -> IMP::display::Geometries"""
788  return _IMP_rmf.SaveOptimizerState_get_geometries(self)
789 
790  def reserve_geometries(self, *args):
791  """reserve_geometries(SaveOptimizerState self, unsigned int sz)"""
792  return _IMP_rmf.SaveOptimizerState_reserve_geometries(self, *args)
793 
794  def set_simulator(self, *args):
795  """set_simulator(SaveOptimizerState self, Simulator sim)"""
796  return _IMP_rmf.SaveOptimizerState_set_simulator(self, *args)
797 
798  def update_always(self, *args):
799  """
800  update_always(SaveOptimizerState self, std::string name)
801  update_always(SaveOptimizerState self)
802  """
803  return _IMP_rmf.SaveOptimizerState_update_always(self, *args)
804 
805  def do_update(self, *args):
806  """do_update(SaveOptimizerState self, unsigned int call_num)"""
807  return _IMP_rmf.SaveOptimizerState_do_update(self, *args)
808 
809  def get_version_info(self):
810  """get_version_info(SaveOptimizerState self) -> VersionInfo"""
811  return _IMP_rmf.SaveOptimizerState_get_version_info(self)
812 
813  def __str__(self):
814  """__str__(SaveOptimizerState self) -> std::string"""
815  return _IMP_rmf.SaveOptimizerState___str__(self)
816 
817  def __repr__(self):
818  """__repr__(SaveOptimizerState self) -> std::string"""
819  return _IMP_rmf.SaveOptimizerState___repr__(self)
820 
821  def get_from(o):
822  return _object_cast_to_SaveOptimizerState(o)
823  get_from = staticmethod(get_from)
824 
825 SaveOptimizerState_swigregister = _IMP_rmf.SaveOptimizerState_swigregister
826 SaveOptimizerState_swigregister(SaveOptimizerState)
827 
828 
829 def load_frame(*args):
830  """
831  load_frame(FileConstHandle file, FrameID frame)
832  load_frame(FileConstHandle file, unsigned int frame)
833  """
834  return _IMP_rmf.load_frame(*args)
835 
836 def save_frame(*args):
837  """
838  save_frame(FileHandle file, std::string name="") -> FrameID
839  save_frame(FileHandle file) -> FrameID
840  save_frame(FileHandle file, unsigned int arg2, std::string name="")
841  save_frame(FileHandle file, unsigned int arg2)
842  """
843  return _IMP_rmf.save_frame(*args)
844 class _ParticleSaveLink(SaveLink):
845  """Proxy of C++ IMP::rmf::SimpleSaveLink<(IMP::kernel::Particle)> class"""
846  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
847  def __init__(self, *args, **kwargs): raise AttributeError("No constructor defined - class is abstract")
848  __repr__ = _swig_repr
849  def add(self, *args):
850  """add(_ParticleSaveLink self, NodeHandle parent, IMP::base::Vector< IMP::base::Pointer< IMP::kernel::Particle > > const & os)"""
851  return _IMP_rmf._ParticleSaveLink_add(self, *args)
852 
853  __swig_destroy__ = _IMP_rmf.delete__ParticleSaveLink
854  __del__ = lambda self : None;
855 _ParticleSaveLink_swigregister = _IMP_rmf._ParticleSaveLink_swigregister
856 _ParticleSaveLink_swigregister(_ParticleSaveLink)
857 
858 class _ParticleLoadLink(LoadLink):
859  """Proxy of C++ IMP::rmf::SimpleLoadLink<(IMP::kernel::Particle)> class"""
860  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
861  def __init__(self, *args, **kwargs): raise AttributeError("No constructor defined - class is abstract")
862  __repr__ = _swig_repr
863  def create(self, *args):
864  """
865  create(_ParticleLoadLink self, NodeConstHandle rt) -> IMP::base::Vector< IMP::base::Pointer< IMP::kernel::Particle > >
866  create(_ParticleLoadLink self, NodeConstHandle rt, Model m) -> IMP::base::Vector< IMP::base::Pointer< IMP::kernel::Particle > >
867  """
868  return _IMP_rmf._ParticleLoadLink_create(self, *args)
869 
870  def link(self, *args):
871  """link(_ParticleLoadLink self, NodeConstHandle rt, IMP::base::Vector< IMP::base::Pointer< IMP::kernel::Particle > > const & ps)"""
872  return _IMP_rmf._ParticleLoadLink_link(self, *args)
873 
874  __swig_destroy__ = _IMP_rmf.delete__ParticleLoadLink
875  __del__ = lambda self : None;
876 _ParticleLoadLink_swigregister = _IMP_rmf._ParticleLoadLink_swigregister
877 _ParticleLoadLink_swigregister(_ParticleLoadLink)
878 
879 class HierarchyLoadLink(_ParticleLoadLink):
880  """Proxy of C++ IMP::rmf::HierarchyLoadLink class"""
881  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
882  def __init__(self, *args):
883  """__init__(IMP::rmf::HierarchyLoadLink self, FileConstHandle fh) -> HierarchyLoadLink"""
884  this = _IMP_rmf.new_HierarchyLoadLink(*args)
885  try: self.this.append(this)
886  except: self.this = this
887  def get_name():
888  """get_name() -> char const *"""
889  return _IMP_rmf.HierarchyLoadLink_get_name()
890 
891  get_name = staticmethod(get_name)
892  def get_version_info(self):
893  """get_version_info(HierarchyLoadLink self) -> VersionInfo"""
894  return _IMP_rmf.HierarchyLoadLink_get_version_info(self)
895 
896  def __str__(self):
897  """__str__(HierarchyLoadLink self) -> std::string"""
898  return _IMP_rmf.HierarchyLoadLink___str__(self)
899 
900  def __repr__(self):
901  """__repr__(HierarchyLoadLink self) -> std::string"""
902  return _IMP_rmf.HierarchyLoadLink___repr__(self)
903 
904  def get_from(o):
905  return _object_cast_to_HierarchyLoadLink(o)
906  get_from = staticmethod(get_from)
907 
908 HierarchyLoadLink_swigregister = _IMP_rmf.HierarchyLoadLink_swigregister
909 HierarchyLoadLink_swigregister(HierarchyLoadLink)
910 
911 def HierarchyLoadLink_get_name():
912  """HierarchyLoadLink_get_name() -> char const *"""
913  return _IMP_rmf.HierarchyLoadLink_get_name()
914 
915 class HierarchySaveLink(_ParticleSaveLink):
916  """Proxy of C++ IMP::rmf::HierarchySaveLink class"""
917  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
918  def __init__(self, *args):
919  """__init__(IMP::rmf::HierarchySaveLink self, FileHandle fh) -> HierarchySaveLink"""
920  this = _IMP_rmf.new_HierarchySaveLink(*args)
921  try: self.this.append(this)
922  except: self.this = this
923  def get_name():
924  """get_name() -> char const *"""
925  return _IMP_rmf.HierarchySaveLink_get_name()
926 
927  get_name = staticmethod(get_name)
928  def get_version_info(self):
929  """get_version_info(HierarchySaveLink self) -> VersionInfo"""
930  return _IMP_rmf.HierarchySaveLink_get_version_info(self)
931 
932  def __str__(self):
933  """__str__(HierarchySaveLink self) -> std::string"""
934  return _IMP_rmf.HierarchySaveLink___str__(self)
935 
936  def __repr__(self):
937  """__repr__(HierarchySaveLink self) -> std::string"""
938  return _IMP_rmf.HierarchySaveLink___repr__(self)
939 
940  def get_from(o):
941  return _object_cast_to_HierarchySaveLink(o)
942  get_from = staticmethod(get_from)
943 
944 HierarchySaveLink_swigregister = _IMP_rmf.HierarchySaveLink_swigregister
945 HierarchySaveLink_swigregister(HierarchySaveLink)
946 
947 def HierarchySaveLink_get_name():
948  """HierarchySaveLink_get_name() -> char const *"""
949  return _IMP_rmf.HierarchySaveLink_get_name()
950 
951 suffixes = [".rmf", ".rmfz"]
952 
953 
954 def get_module_version():
955  """get_module_version() -> std::string const"""
956  return _IMP_rmf.get_module_version()
957 
958 def get_example_path(*args):
959  """get_example_path(std::string fname) -> std::string"""
960  return _IMP_rmf.get_example_path(*args)
961 
962 def get_data_path(*args):
963  """get_data_path(std::string fname) -> std::string"""
964  return _IMP_rmf.get_data_path(*args)
965 from . import _version_check
966 _version_check.check_version(get_module_version())
967 
968 
969 
display::Geometries create_geometries(RMF::FileConstHandle parent)
atom::Hierarchies create_hierarchies(RMF::FileConstHandle fh, kernel::Model *m)
void link_particles(RMF::FileConstHandle fh, const kernel::ParticlesTemp &hs)
RMF::FrameID save_frame(RMF::FileHandle file, std::string name="")
Various classes to hold sets of particles.
kernel::Restraints create_restraints(RMF::FileConstHandle fh, kernel::Model *m)
void add_restraints(RMF::FileHandle fh, const kernel::Restraints &hs)
Shared optimizer state that is invoked upon commitment of new coordinates.
ParticlesTemp get_particles(kernel::Model *m, const ParticleIndexes &ps)
Make CGAL functionality available to IMP.
std::string get_data_path(std::string file_name)
Return the full path to installed data.
Low level functionality (logging, error handling, profiling, command line flags etc) that is used by ...
std::string get_example_path(std::string file_name)
Return the path to installed example data for this module.
kernel::RestraintsTemp get_restraints(const Subset &s, const ParticleStatesTable *pst, const DependencyGraph &dg, kernel::RestraintSet *rs)
void add_hierarchies(RMF::FileHandle fh, const atom::Hierarchies &hs)
Composable functors to implement scores via compile-time composition.
void add_hierarchy(RMF::FileHandle fh, atom::Hierarchy hs)
kernel::ParticlesTemp create_particles(RMF::FileConstHandle fh, kernel::Model *m)
void add_particles(RMF::FileHandle fh, const kernel::ParticlesTemp &hs)
Base functionality and abstract base classes for representation, scoring and sampling.
void link_geometries(RMF::FileConstHandle parent, const display::GeometriesTemp &r)
void link_restraints(RMF::FileConstHandle fh, const kernel::Restraints &hs)
void load_frame(RMF::FileConstHandle file, RMF::FrameID frame)
Common base class for heavy weight IMP objects.
Definition: Object.h:106
void set_maximum_number_of_terms(RMF::FileHandle fh, unsigned int num)
void add_restraints_as_bonds(RMF::FileHandle fh, const kernel::Restraints &rs)
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...
void link_hierarchies(RMF::FileConstHandle fh, const atom::Hierarchies &hs)
void add_static_geometries(RMF::FileHandle parent, const display::GeometriesTemp &r)
void add_geometries(RMF::FileHandle file, const display::GeometriesTemp &r)
void add_particle(RMF::FileHandle fh, kernel::Particle *hs)
Output IMP model data in various file formats.
Functionality for loading, creating, manipulating and scoring atomic structures.
void add_restraint(RMF::FileHandle fh, kernel::Restraint *hs)