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