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