9 from sys
import version_info
10 if version_info >= (2,6,0):
11 def swig_import_helper():
12 from os.path
import dirname
16 fp, pathname, description = imp.find_module(
'_IMP_rmf', [dirname(__file__)])
22 _mod = imp.load_module(
'_IMP_rmf', fp, pathname, description)
26 _IMP_rmf = swig_import_helper()
27 del swig_import_helper
32 _swig_property = property
35 def _swig_setattr_nondynamic(self,class_type,name,value,static=1):
36 if (name ==
"thisown"):
return self.this.own(value)
38 if type(value).__name__ ==
'SwigPyObject':
39 self.__dict__[name] = value
41 method = class_type.__swig_setmethods__.get(name,
None)
42 if method:
return method(self,value)
44 self.__dict__[name] = value
46 raise AttributeError(
"You cannot add attributes to %s" % self)
48 def _swig_setattr(self,class_type,name,value):
49 return _swig_setattr_nondynamic(self,class_type,name,value,0)
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)
58 try: strthis =
"proxy of " + self.this.__repr__()
60 return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,)
65 except AttributeError:
72 weakref_proxy = weakref.proxy
74 weakref_proxy =
lambda x: x
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")
85 __swig_destroy__ = _IMP_rmf.delete_IMP_RMF_SwigPyIterator
86 __del__ =
lambda self :
None;
88 """value(IMP_RMF_SwigPyIterator self) -> PyObject *"""
89 return _IMP_rmf.IMP_RMF_SwigPyIterator_value(self)
93 incr(IMP_RMF_SwigPyIterator self, size_t n=1) -> IMP_RMF_SwigPyIterator
94 incr(IMP_RMF_SwigPyIterator self) -> IMP_RMF_SwigPyIterator
96 return _IMP_rmf.IMP_RMF_SwigPyIterator_incr(self, n)
100 decr(IMP_RMF_SwigPyIterator self, size_t n=1) -> IMP_RMF_SwigPyIterator
101 decr(IMP_RMF_SwigPyIterator self) -> IMP_RMF_SwigPyIterator
103 return _IMP_rmf.IMP_RMF_SwigPyIterator_decr(self, n)
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)
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)
114 """copy(IMP_RMF_SwigPyIterator self) -> IMP_RMF_SwigPyIterator"""
115 return _IMP_rmf.IMP_RMF_SwigPyIterator_copy(self)
118 """next(IMP_RMF_SwigPyIterator self) -> PyObject *"""
119 return _IMP_rmf.IMP_RMF_SwigPyIterator_next(self)
122 """__next__(IMP_RMF_SwigPyIterator self) -> PyObject *"""
123 return _IMP_rmf.IMP_RMF_SwigPyIterator___next__(self)
126 """previous(IMP_RMF_SwigPyIterator self) -> PyObject *"""
127 return _IMP_rmf.IMP_RMF_SwigPyIterator_previous(self)
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)
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)
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)
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)
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)
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)
153 def __sub__(self, *args):
155 __sub__(IMP_RMF_SwigPyIterator self, ptrdiff_t n) -> IMP_RMF_SwigPyIterator
156 __sub__(IMP_RMF_SwigPyIterator self, IMP_RMF_SwigPyIterator x) -> ptrdiff_t
158 return _IMP_rmf.IMP_RMF_SwigPyIterator___sub__(self, *args)
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)
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
188 class _DirectorObjects(object):
189 """@internal Simple class to keep references to director objects
190 to prevent premature deletion."""
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)
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]
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()
213 DEFAULT_CHECK = _IMP_rmf.DEFAULT_CHECK
215 USAGE = _IMP_rmf.USAGE
216 USAGE_AND_INTERNAL = _IMP_rmf.USAGE_AND_INTERNAL
219 """set_check_level(IMP::base::CheckLevel tf)"""
220 return _IMP_rmf.set_check_level(*args)
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)
237 _ostream_swigregister = _IMP_rmf._ostream_swigregister
238 _ostream_swigregister(_ostream)
240 IMP_COMPILER_HAS_OVERRIDE = _IMP_rmf.IMP_COMPILER_HAS_OVERRIDE
241 IMP_COMPILER_HAS_FINAL = _IMP_rmf.IMP_COMPILER_HAS_FINAL
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
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
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
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
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
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
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
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
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
321 _object_types.append(
"SaveOptimizerState")
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")
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")
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")
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")
348 def _object_cast_to_HierarchyLoadLink(*args):
349 """_object_cast_to_HierarchyLoadLink(Object o) -> HierarchyLoadLink"""
350 return _IMP_rmf._object_cast_to_HierarchyLoadLink(*args)
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)
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)
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)
371 def __init__(self, *args):
372 """__init__(IMP::rmf::LoadLink self, std::string name) -> LoadLink"""
373 if self.__class__ == LoadLink:
377 this = _IMP_rmf.new_LoadLink(_self, *args)
378 try: self.this.append(this)
379 except: self.this = this
380 if self.__class__ != LoadLink:
382 IMP.base._director_objects.register(self)
386 def load(self, *args):
387 """load(LoadLink self, FileConstHandle fh)"""
388 return _IMP_rmf.LoadLink_load(self, *args)
390 __swig_destroy__ = _IMP_rmf.delete_LoadLink
391 __del__ =
lambda self :
None;
393 """__str__(LoadLink self) -> std::string"""
394 return _IMP_rmf.LoadLink___str__(self)
397 """__repr__(LoadLink self) -> std::string"""
398 return _IMP_rmf.LoadLink___repr__(self)
401 return _object_cast_to_LoadLink(o)
402 get_from = staticmethod(get_from)
404 def get_type_name(self):
405 return self.__class__.__name__
406 def do_show(self, out):
408 def get_version_info(self):
409 if"IMP::rmf" ==
"IMP":
410 return VersionInfo(
"python",
"0")
412 return IMP.VersionInfo(
"python",
"0")
414 return _object_cast_to_LoadLink(o)
415 get_from = staticmethod(get_from)
417 def __disown__(self):
419 _IMP_rmf.disown_LoadLink(self)
420 return weakref_proxy(self)
421 LoadLink_swigregister = _IMP_rmf.LoadLink_swigregister
422 LoadLink_swigregister(LoadLink)
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)
436 def __init__(self, *args):
437 """__init__(IMP::rmf::SaveLink self, std::string name) -> SaveLink"""
438 if self.__class__ == SaveLink:
442 this = _IMP_rmf.new_SaveLink(_self, *args)
443 try: self.this.append(this)
444 except: self.this = this
445 if self.__class__ != SaveLink:
447 IMP.base._director_objects.register(self)
451 def save(self, *args):
452 """save(SaveLink self, FileHandle fh)"""
453 return _IMP_rmf.SaveLink_save(self, *args)
455 __swig_destroy__ = _IMP_rmf.delete_SaveLink
456 __del__ =
lambda self :
None;
458 """__str__(SaveLink self) -> std::string"""
459 return _IMP_rmf.SaveLink___str__(self)
462 """__repr__(SaveLink self) -> std::string"""
463 return _IMP_rmf.SaveLink___repr__(self)
466 return _object_cast_to_SaveLink(o)
467 get_from = staticmethod(get_from)
469 def get_type_name(self):
470 return self.__class__.__name__
471 def do_show(self, out):
473 def get_version_info(self):
474 if"IMP::rmf" ==
"IMP":
475 return VersionInfo(
"python",
"0")
477 return IMP.VersionInfo(
"python",
"0")
479 return _object_cast_to_SaveLink(o)
480 get_from = staticmethod(get_from)
482 def __disown__(self):
484 _IMP_rmf.disown_SaveLink(self)
485 return weakref_proxy(self)
486 SaveLink_swigregister = _IMP_rmf.SaveLink_swigregister
487 SaveLink_swigregister(SaveLink)
492 add_hierarchies(FileHandle fh, IMP::atom::Hierarchies const & hs)
493 add_hierarchies(NodeHandle fh, IMP::atom::Hierarchies const & hs)
495 return _IMP_rmf.add_hierarchies(*args)
498 """add_hierarchy(FileHandle fh, Hierarchy hs)"""
499 return _IMP_rmf.add_hierarchy(*args)
502 """create_hierarchies(FileConstHandle fh, Model m) -> IMP::atom::Hierarchies"""
503 return _IMP_rmf.create_hierarchies(*args)
506 """link_hierarchies(FileConstHandle fh, IMP::atom::Hierarchies const & hs)"""
507 return _IMP_rmf.link_hierarchies(*args)
510 """set_save_forces(FileHandle fh, bool tf)"""
511 return _IMP_rmf.set_save_forces(*args)
515 add_restraints(FileHandle fh, IMP::kernel::RestraintsTemp const & hs)
516 add_restraints(NodeHandle fh, IMP::kernel::RestraintsTemp const & hs)
518 return _IMP_rmf.add_restraints(*args)
521 """add_restraint(FileHandle fh, Restraint hs)"""
522 return _IMP_rmf.add_restraint(*args)
525 """create_restraints(FileConstHandle fh, Model m) -> IMP::kernel::Restraints"""
526 return _IMP_rmf.create_restraints(*args)
529 """link_restraints(FileConstHandle fh, IMP::kernel::Restraints const & hs)"""
530 return _IMP_rmf.link_restraints(*args)
533 """set_maximum_number_of_terms(FileHandle fh, unsigned int num)"""
534 return _IMP_rmf.set_maximum_number_of_terms(*args)
538 add_particles(FileHandle fh, IMP::kernel::ParticlesTemp const & hs)
539 add_particles(NodeHandle fh, IMP::kernel::ParticlesTemp const & hs)
541 return _IMP_rmf.add_particles(*args)
544 """add_particle(FileHandle fh, Particle hs)"""
545 return _IMP_rmf.add_particle(*args)
548 """create_particles(FileConstHandle fh, Model m) -> IMP::kernel::ParticlesTemp"""
549 return _IMP_rmf.create_particles(*args)
552 """link_particles(FileConstHandle fh, IMP::kernel::ParticlesTemp const & hs)"""
553 return _IMP_rmf.link_particles(*args)
557 add_geometries(FileHandle file, IMP::display::GeometriesTemp const & r)
558 add_geometries(NodeHandle parent, IMP::display::GeometriesTemp const & r)
560 return _IMP_rmf.add_geometries(*args)
563 """add_static_geometries(FileHandle parent, IMP::display::GeometriesTemp const & r)"""
564 return _IMP_rmf.add_static_geometries(*args)
566 def add_geometry(*args):
567 """add_geometry(FileHandle parent, Geometry r)"""
568 return _IMP_rmf.add_geometry(*args)
571 """create_geometries(FileConstHandle parent) -> IMP::display::Geometries"""
572 return _IMP_rmf.create_geometries(*args)
575 """link_geometries(FileConstHandle parent, IMP::display::GeometriesTemp const & r)"""
576 return _IMP_rmf.link_geometries(*args)
578 def set_association(*args):
580 set_association(NodeConstHandle nh, Object o, bool overwrite=False)
581 set_association(NodeConstHandle nh, Object o)
583 return _IMP_rmf.set_association(*args)
585 def get_node_from_association(*args):
587 get_node_from_association(FileConstHandle nh, Object oi) -> NodeConstHandle
588 get_node_from_association(FileHandle nh, Object oi) -> NodeHandle
590 return _IMP_rmf.get_node_from_association(*args)
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)
596 def get_has_linker(*args):
597 """get_has_linker(FileConstHandle nh, unsigned int id) -> bool"""
598 return _IMP_rmf.get_has_linker(*args)
600 """Proxy of C++ IMP::rmf::SaveOptimizerState class"""
601 __swig_setmethods__ = {}
603 __setattr__ =
lambda self, name, value: _swig_setattr(self, SaveOptimizerState, name, value)
604 __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)
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)
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)
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)
629 """add_hierarchy(SaveOptimizerState self, Particle obj) -> unsigned int"""
630 return _IMP_rmf.SaveOptimizerState_add_hierarchy(self, *args)
633 """add_hierarchies(SaveOptimizerState self, IMP::kernel::Particles const & objs)"""
634 return _IMP_rmf.SaveOptimizerState_add_hierarchies(self, *args)
636 def clear_hierarchies(self):
637 """clear_hierarchies(SaveOptimizerState self)"""
638 return _IMP_rmf.SaveOptimizerState_clear_hierarchies(self)
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)
644 def get_has_hierarchies(self):
645 """get_has_hierarchies(SaveOptimizerState self) -> bool"""
646 return _IMP_rmf.SaveOptimizerState_get_has_hierarchies(self)
648 def get_hierarchy(self, *args):
649 """get_hierarchy(SaveOptimizerState self, unsigned int i) -> Particle"""
650 return _IMP_rmf.SaveOptimizerState_get_hierarchy(self, *args)
652 def get_hierarchies(self):
653 """get_hierarchies(SaveOptimizerState self) -> IMP::kernel::Particles"""
654 return _IMP_rmf.SaveOptimizerState_get_hierarchies(self)
656 def reserve_hierarchies(self, *args):
657 """reserve_hierarchies(SaveOptimizerState self, unsigned int sz)"""
658 return _IMP_rmf.SaveOptimizerState_reserve_hierarchies(self, *args)
660 def remove_restraint(self, *args):
661 """remove_restraint(SaveOptimizerState self, Restraint d)"""
662 return _IMP_rmf.SaveOptimizerState_remove_restraint(self, *args)
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)
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)
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)
677 """add_restraint(SaveOptimizerState self, Restraint obj) -> unsigned int"""
678 return _IMP_rmf.SaveOptimizerState_add_restraint(self, *args)
681 """add_restraints(SaveOptimizerState self, IMP::kernel::Restraints const & objs)"""
682 return _IMP_rmf.SaveOptimizerState_add_restraints(self, *args)
684 def clear_restraints(self):
685 """clear_restraints(SaveOptimizerState self)"""
686 return _IMP_rmf.SaveOptimizerState_clear_restraints(self)
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)
692 def get_has_restraints(self):
693 """get_has_restraints(SaveOptimizerState self) -> bool"""
694 return _IMP_rmf.SaveOptimizerState_get_has_restraints(self)
696 def get_restraint(self, *args):
697 """get_restraint(SaveOptimizerState self, unsigned int i) -> Restraint"""
698 return _IMP_rmf.SaveOptimizerState_get_restraint(self, *args)
701 """get_restraints(SaveOptimizerState self) -> IMP::kernel::Restraints"""
702 return _IMP_rmf.SaveOptimizerState_get_restraints(self)
704 def reserve_restraints(self, *args):
705 """reserve_restraints(SaveOptimizerState self, unsigned int sz)"""
706 return _IMP_rmf.SaveOptimizerState_reserve_restraints(self, *args)
708 def remove_particle(self, *args):
709 """remove_particle(SaveOptimizerState self, Particle d)"""
710 return _IMP_rmf.SaveOptimizerState_remove_particle(self, *args)
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)
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)
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)
725 """add_particle(SaveOptimizerState self, Particle obj) -> unsigned int"""
726 return _IMP_rmf.SaveOptimizerState_add_particle(self, *args)
729 """add_particles(SaveOptimizerState self, IMP::kernel::Particles const & objs)"""
730 return _IMP_rmf.SaveOptimizerState_add_particles(self, *args)
732 def clear_particles(self):
733 """clear_particles(SaveOptimizerState self)"""
734 return _IMP_rmf.SaveOptimizerState_clear_particles(self)
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)
740 def get_has_particles(self):
741 """get_has_particles(SaveOptimizerState self) -> bool"""
742 return _IMP_rmf.SaveOptimizerState_get_has_particles(self)
744 def get_particle(self, *args):
745 """get_particle(SaveOptimizerState self, unsigned int i) -> Particle"""
746 return _IMP_rmf.SaveOptimizerState_get_particle(self, *args)
749 """get_particles(SaveOptimizerState self) -> IMP::kernel::Particles"""
750 return _IMP_rmf.SaveOptimizerState_get_particles(self)
752 def reserve_particles(self, *args):
753 """reserve_particles(SaveOptimizerState self, unsigned int sz)"""
754 return _IMP_rmf.SaveOptimizerState_reserve_particles(self, *args)
756 def remove_geometry(self, *args):
757 """remove_geometry(SaveOptimizerState self, Geometry d)"""
758 return _IMP_rmf.SaveOptimizerState_remove_geometry(self, *args)
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)
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)
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)
772 def add_geometry(self, *args):
773 """add_geometry(SaveOptimizerState self, Geometry obj) -> unsigned int"""
774 return _IMP_rmf.SaveOptimizerState_add_geometry(self, *args)
777 """add_geometries(SaveOptimizerState self, IMP::display::Geometries const & objs)"""
778 return _IMP_rmf.SaveOptimizerState_add_geometries(self, *args)
780 def clear_geometries(self):
781 """clear_geometries(SaveOptimizerState self)"""
782 return _IMP_rmf.SaveOptimizerState_clear_geometries(self)
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)
788 def get_has_geometries(self):
789 """get_has_geometries(SaveOptimizerState self) -> bool"""
790 return _IMP_rmf.SaveOptimizerState_get_has_geometries(self)
792 def get_geometry(self, *args):
793 """get_geometry(SaveOptimizerState self, unsigned int i) -> Geometry"""
794 return _IMP_rmf.SaveOptimizerState_get_geometry(self, *args)
796 def get_geometries(self):
797 """get_geometries(SaveOptimizerState self) -> IMP::display::Geometries"""
798 return _IMP_rmf.SaveOptimizerState_get_geometries(self)
800 def reserve_geometries(self, *args):
801 """reserve_geometries(SaveOptimizerState self, unsigned int sz)"""
802 return _IMP_rmf.SaveOptimizerState_reserve_geometries(self, *args)
804 def set_simulator(self, *args):
805 """set_simulator(SaveOptimizerState self, Simulator sim)"""
806 return _IMP_rmf.SaveOptimizerState_set_simulator(self, *args)
808 def update_always(self, *args):
810 update_always(SaveOptimizerState self, std::string name)
811 update_always(SaveOptimizerState self)
813 return _IMP_rmf.SaveOptimizerState_update_always(self, *args)
815 def do_update(self, *args):
816 """do_update(SaveOptimizerState self, unsigned int call_num)"""
817 return _IMP_rmf.SaveOptimizerState_do_update(self, *args)
819 def get_version_info(self):
820 """get_version_info(SaveOptimizerState self) -> VersionInfo"""
821 return _IMP_rmf.SaveOptimizerState_get_version_info(self)
823 __swig_destroy__ = _IMP_rmf.delete_SaveOptimizerState
824 __del__ =
lambda self :
None;
826 """__str__(SaveOptimizerState self) -> std::string"""
827 return _IMP_rmf.SaveOptimizerState___str__(self)
830 """__repr__(SaveOptimizerState self) -> std::string"""
831 return _IMP_rmf.SaveOptimizerState___repr__(self)
834 return _object_cast_to_SaveOptimizerState(o)
835 get_from = staticmethod(get_from)
837 SaveOptimizerState_swigregister = _IMP_rmf.SaveOptimizerState_swigregister
838 SaveOptimizerState_swigregister(SaveOptimizerState)
842 """load_frame(FileConstHandle file, int frame)"""
843 return _IMP_rmf.load_frame(*args)
847 save_frame(FileHandle file, int frame, std::string name="frame")
848 save_frame(FileHandle file, int frame)
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)
865 __swig_destroy__ = _IMP_rmf.delete__ParticleSaveLink
866 __del__ =
lambda self :
None;
867 _ParticleSaveLink_swigregister = _IMP_rmf._ParticleSaveLink_swigregister
868 _ParticleSaveLink_swigregister(_ParticleSaveLink)
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)
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)
888 def _add_link(self, *args):
889 """_add_link(_ParticleLoadLink self, Particle o, NodeConstHandle nh)"""
890 return _IMP_rmf._ParticleLoadLink__add_link(self, *args)
892 def _get_is(self, *args):
893 """_get_is(_ParticleLoadLink self, NodeConstHandle nh) -> bool"""
894 return _IMP_rmf._ParticleLoadLink__get_is(self, *args)
896 def _do_create(self, *args):
897 """_do_create(_ParticleLoadLink self, NodeConstHandle nh) -> Particle"""
898 return _IMP_rmf._ParticleLoadLink__do_create(self, *args)
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)
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)
908 __swig_destroy__ = _IMP_rmf.delete__ParticleLoadLink
909 __del__ =
lambda self :
None;
910 _ParticleLoadLink_swigregister = _IMP_rmf._ParticleLoadLink_swigregister
911 _ParticleLoadLink_swigregister(_ParticleLoadLink)
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)
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)
929 def _do_create_recursive(self, *args):
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
934 return _IMP_rmf.HierarchyLoadLink__do_create_recursive(self, *args)
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)
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)
949 __swig_destroy__ = _IMP_rmf.delete_HierarchyLoadLink
950 __del__ =
lambda self :
None;
952 """__str__(HierarchyLoadLink self) -> std::string"""
953 return _IMP_rmf.HierarchyLoadLink___str__(self)
956 """__repr__(HierarchyLoadLink self) -> std::string"""
957 return _IMP_rmf.HierarchyLoadLink___repr__(self)
960 return _object_cast_to_HierarchyLoadLink(o)
961 get_from = staticmethod(get_from)
963 HierarchyLoadLink_swigregister = _IMP_rmf.HierarchyLoadLink_swigregister
964 HierarchyLoadLink_swigregister(HierarchyLoadLink)
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)
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)
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)
991 __swig_destroy__ = _IMP_rmf.delete_HierarchySaveLink
992 __del__ =
lambda self :
None;
994 """set_save_forces(HierarchySaveLink self, bool tf)"""
995 return _IMP_rmf.HierarchySaveLink_set_save_forces(self, *args)
998 """__str__(HierarchySaveLink self) -> std::string"""
999 return _IMP_rmf.HierarchySaveLink___str__(self)
1002 """__repr__(HierarchySaveLink self) -> std::string"""
1003 return _IMP_rmf.HierarchySaveLink___repr__(self)
1006 return _object_cast_to_HierarchySaveLink(o)
1007 get_from = staticmethod(get_from)
1009 HierarchySaveLink_swigregister = _IMP_rmf.HierarchySaveLink_swigregister
1010 HierarchySaveLink_swigregister(HierarchySaveLink)
1013 def get_module_version():
1014 """get_module_version() -> std::string const"""
1015 return _IMP_rmf.get_module_version()
1018 """get_example_path(std::string fname) -> std::string"""
1019 return _IMP_rmf.get_example_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())