11 from sys
import version_info
12 if version_info >= (2,6,0):
13 def swig_import_helper():
14 from os.path
import dirname
18 fp, pathname, description = imp.find_module(
'_IMP_rmf', [dirname(__file__)])
24 _mod = imp.load_module(
'_IMP_rmf', fp, pathname, description)
28 _IMP_rmf = swig_import_helper()
29 del swig_import_helper
34 _swig_property = property
37 def _swig_setattr_nondynamic(self,class_type,name,value,static=1):
38 if (name ==
"thisown"):
return self.this.own(value)
40 if type(value).__name__ ==
'SwigPyObject':
41 self.__dict__[name] = value
43 method = class_type.__swig_setmethods__.get(name,
None)
44 if method:
return method(self,value)
46 self.__dict__[name] = value
48 raise AttributeError(
"You cannot add attributes to %s" % self)
50 def _swig_setattr(self,class_type,name,value):
51 return _swig_setattr_nondynamic(self,class_type,name,value,0)
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)
60 try: strthis =
"proxy of " + self.this.__repr__()
62 return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,)
67 except AttributeError:
74 weakref_proxy = weakref.proxy
76 weakref_proxy =
lambda x: x
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")
87 __swig_destroy__ = _IMP_rmf.delete_IMP_RMF_SwigPyIterator
88 __del__ =
lambda self :
None;
90 """value(IMP_RMF_SwigPyIterator self) -> PyObject *"""
91 return _IMP_rmf.IMP_RMF_SwigPyIterator_value(self)
95 incr(IMP_RMF_SwigPyIterator self, size_t n=1) -> IMP_RMF_SwigPyIterator
96 incr(IMP_RMF_SwigPyIterator self) -> IMP_RMF_SwigPyIterator
98 return _IMP_rmf.IMP_RMF_SwigPyIterator_incr(self, n)
102 decr(IMP_RMF_SwigPyIterator self, size_t n=1) -> IMP_RMF_SwigPyIterator
103 decr(IMP_RMF_SwigPyIterator self) -> IMP_RMF_SwigPyIterator
105 return _IMP_rmf.IMP_RMF_SwigPyIterator_decr(self, n)
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)
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)
116 """copy(IMP_RMF_SwigPyIterator self) -> IMP_RMF_SwigPyIterator"""
117 return _IMP_rmf.IMP_RMF_SwigPyIterator_copy(self)
120 """next(IMP_RMF_SwigPyIterator self) -> PyObject *"""
121 return _IMP_rmf.IMP_RMF_SwigPyIterator_next(self)
124 """__next__(IMP_RMF_SwigPyIterator self) -> PyObject *"""
125 return _IMP_rmf.IMP_RMF_SwigPyIterator___next__(self)
128 """previous(IMP_RMF_SwigPyIterator self) -> PyObject *"""
129 return _IMP_rmf.IMP_RMF_SwigPyIterator_previous(self)
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)
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)
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)
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)
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)
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)
155 def __sub__(self, *args):
157 __sub__(IMP_RMF_SwigPyIterator self, ptrdiff_t n) -> IMP_RMF_SwigPyIterator
158 __sub__(IMP_RMF_SwigPyIterator self, IMP_RMF_SwigPyIterator x) -> ptrdiff_t
160 return _IMP_rmf.IMP_RMF_SwigPyIterator___sub__(self, *args)
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)
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
190 class _DirectorObjects(object):
191 """@internal Simple class to keep references to director objects
192 to prevent premature deletion."""
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)
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]
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()
215 DEFAULT_CHECK = _IMP_rmf.DEFAULT_CHECK
217 USAGE = _IMP_rmf.USAGE
218 USAGE_AND_INTERNAL = _IMP_rmf.USAGE_AND_INTERNAL
221 """set_check_level(IMP::base::CheckLevel tf)"""
222 return _IMP_rmf.set_check_level(*args)
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)
239 _ostream_swigregister = _IMP_rmf._ostream_swigregister
240 _ostream_swigregister(_ostream)
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
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
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
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
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
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
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
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
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
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
338 _object_types.append(
"SaveOptimizerState")
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")
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")
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")
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")
365 def _object_cast_to_HierarchyLoadLink(*args):
366 """_object_cast_to_HierarchyLoadLink(Object o) -> HierarchyLoadLink"""
367 return _IMP_rmf._object_cast_to_HierarchyLoadLink(*args)
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)
380 def __init__(self, *args):
381 """__init__(IMP::rmf::LoadLink self, std::string name) -> LoadLink"""
382 if self.__class__ == LoadLink:
386 this = _IMP_rmf.new_LoadLink(_self, *args)
387 try: self.this.append(this)
388 except: self.this = this
389 if self.__class__ != LoadLink:
391 IMP.base._director_objects.register(self)
395 def load(self, *args):
396 """load(LoadLink self, FileConstHandle fh)"""
397 return _IMP_rmf.LoadLink_load(self, *args)
399 __swig_destroy__ = _IMP_rmf.delete_LoadLink
400 __del__ =
lambda self :
None;
402 """__str__(LoadLink self) -> std::string"""
403 return _IMP_rmf.LoadLink___str__(self)
406 """__repr__(LoadLink self) -> std::string"""
407 return _IMP_rmf.LoadLink___repr__(self)
410 return _object_cast_to_LoadLink(o)
411 get_from = staticmethod(get_from)
413 def get_type_name(self):
414 return self.__class__.__name__
415 def do_show(self, out):
417 def get_version_info(self):
418 if"IMP::rmf" ==
"IMP":
419 return VersionInfo(
"python",
"0")
421 return IMP.VersionInfo(
"python",
"0")
423 return _object_cast_to_LoadLink(o)
424 get_from = staticmethod(get_from)
426 def __disown__(self):
428 _IMP_rmf.disown_LoadLink(self)
429 return weakref_proxy(self)
430 LoadLink_swigregister = _IMP_rmf.LoadLink_swigregister
431 LoadLink_swigregister(LoadLink)
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)
445 def __init__(self, *args):
446 """__init__(IMP::rmf::SaveLink self, std::string name) -> SaveLink"""
447 if self.__class__ == SaveLink:
451 this = _IMP_rmf.new_SaveLink(_self, *args)
452 try: self.this.append(this)
453 except: self.this = this
454 if self.__class__ != SaveLink:
456 IMP.base._director_objects.register(self)
460 def save(self, *args):
461 """save(SaveLink self, FileHandle fh)"""
462 return _IMP_rmf.SaveLink_save(self, *args)
464 __swig_destroy__ = _IMP_rmf.delete_SaveLink
465 __del__ =
lambda self :
None;
467 """__str__(SaveLink self) -> std::string"""
468 return _IMP_rmf.SaveLink___str__(self)
471 """__repr__(SaveLink self) -> std::string"""
472 return _IMP_rmf.SaveLink___repr__(self)
475 return _object_cast_to_SaveLink(o)
476 get_from = staticmethod(get_from)
478 def get_type_name(self):
479 return self.__class__.__name__
480 def do_show(self, out):
482 def get_version_info(self):
483 if"IMP::rmf" ==
"IMP":
484 return VersionInfo(
"python",
"0")
486 return IMP.VersionInfo(
"python",
"0")
488 return _object_cast_to_SaveLink(o)
489 get_from = staticmethod(get_from)
491 def __disown__(self):
493 _IMP_rmf.disown_SaveLink(self)
494 return weakref_proxy(self)
495 SaveLink_swigregister = _IMP_rmf.SaveLink_swigregister
496 SaveLink_swigregister(SaveLink)
501 add_hierarchies(FileHandle fh, IMP::atom::Hierarchies const & hs)
502 add_hierarchies(NodeHandle fh, IMP::atom::Hierarchies const & hs)
504 return _IMP_rmf.add_hierarchies(*args)
507 """add_hierarchy(FileHandle fh, Hierarchy hs)"""
508 return _IMP_rmf.add_hierarchy(*args)
511 """create_hierarchies(FileConstHandle fh, Model m) -> IMP::atom::Hierarchies"""
512 return _IMP_rmf.create_hierarchies(*args)
515 """link_hierarchies(FileConstHandle fh, IMP::atom::Hierarchies const & hs)"""
516 return _IMP_rmf.link_hierarchies(*args)
520 add_restraints(FileHandle fh, IMP::kernel::Restraints const & hs)
521 add_restraints(NodeHandle fh, IMP::kernel::Restraints const & hs)
523 return _IMP_rmf.add_restraints(*args)
526 """add_restraint(FileHandle fh, Restraint hs)"""
527 return _IMP_rmf.add_restraint(*args)
530 """create_restraints(FileConstHandle fh, Model m) -> IMP::kernel::Restraints"""
531 return _IMP_rmf.create_restraints(*args)
534 """link_restraints(FileConstHandle fh, IMP::kernel::Restraints const & hs)"""
535 return _IMP_rmf.link_restraints(*args)
538 """add_restraints_as_bonds(FileHandle fh, IMP::kernel::Restraints const & rs)"""
539 return _IMP_rmf.add_restraints_as_bonds(*args)
542 """set_maximum_number_of_terms(FileHandle fh, unsigned int num)"""
543 return _IMP_rmf.set_maximum_number_of_terms(*args)
547 add_particles(FileHandle fh, IMP::kernel::ParticlesTemp const & hs)
548 add_particles(NodeHandle fh, IMP::kernel::ParticlesTemp const & hs)
550 return _IMP_rmf.add_particles(*args)
553 """add_particle(FileHandle fh, Particle hs)"""
554 return _IMP_rmf.add_particle(*args)
557 """create_particles(FileConstHandle fh, Model m) -> IMP::kernel::ParticlesTemp"""
558 return _IMP_rmf.create_particles(*args)
561 """link_particles(FileConstHandle fh, IMP::kernel::ParticlesTemp const & hs)"""
562 return _IMP_rmf.link_particles(*args)
566 add_geometries(FileHandle file, IMP::display::GeometriesTemp const & r)
567 add_geometries(NodeHandle parent, IMP::display::GeometriesTemp const & r)
569 return _IMP_rmf.add_geometries(*args)
572 """add_static_geometries(FileHandle parent, IMP::display::GeometriesTemp const & r)"""
573 return _IMP_rmf.add_static_geometries(*args)
575 def add_geometry(*args):
576 """add_geometry(FileHandle parent, Geometry r)"""
577 return _IMP_rmf.add_geometry(*args)
580 """create_geometries(FileConstHandle parent) -> IMP::display::Geometries"""
581 return _IMP_rmf.create_geometries(*args)
584 """link_geometries(FileConstHandle parent, IMP::display::GeometriesTemp const & r)"""
585 return _IMP_rmf.link_geometries(*args)
587 def set_association(*args):
589 set_association(NodeConstHandle nh, Object o, bool overwrite=False)
590 set_association(NodeConstHandle nh, Object o)
592 return _IMP_rmf.set_association(*args)
594 def get_node_from_association(*args):
596 get_node_from_association(FileConstHandle nh, Object oi) -> NodeConstHandle
597 get_node_from_association(FileHandle nh, Object oi) -> NodeHandle
599 return _IMP_rmf.get_node_from_association(*args)
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)
605 """Proxy of C++ IMP::rmf::SaveOptimizerState class"""
606 __swig_setmethods__ = {}
608 __setattr__ =
lambda self, name, value: _swig_setattr(self, SaveOptimizerState, name, value)
609 __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)
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)
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)
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)
634 """add_hierarchy(SaveOptimizerState self, Particle obj) -> unsigned int"""
635 return _IMP_rmf.SaveOptimizerState_add_hierarchy(self, *args)
638 """add_hierarchies(SaveOptimizerState self, IMP::kernel::Particles const & objs)"""
639 return _IMP_rmf.SaveOptimizerState_add_hierarchies(self, *args)
641 def clear_hierarchies(self):
642 """clear_hierarchies(SaveOptimizerState self)"""
643 return _IMP_rmf.SaveOptimizerState_clear_hierarchies(self)
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)
649 def get_has_hierarchies(self):
650 """get_has_hierarchies(SaveOptimizerState self) -> bool"""
651 return _IMP_rmf.SaveOptimizerState_get_has_hierarchies(self)
653 def get_hierarchy(self, *args):
654 """get_hierarchy(SaveOptimizerState self, unsigned int i) -> Particle"""
655 return _IMP_rmf.SaveOptimizerState_get_hierarchy(self, *args)
657 def get_hierarchies(self):
658 """get_hierarchies(SaveOptimizerState self) -> IMP::kernel::Particles"""
659 return _IMP_rmf.SaveOptimizerState_get_hierarchies(self)
661 def reserve_hierarchies(self, *args):
662 """reserve_hierarchies(SaveOptimizerState self, unsigned int sz)"""
663 return _IMP_rmf.SaveOptimizerState_reserve_hierarchies(self, *args)
665 def remove_restraint(self, *args):
666 """remove_restraint(SaveOptimizerState self, Restraint d)"""
667 return _IMP_rmf.SaveOptimizerState_remove_restraint(self, *args)
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)
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)
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)
682 """add_restraint(SaveOptimizerState self, Restraint obj) -> unsigned int"""
683 return _IMP_rmf.SaveOptimizerState_add_restraint(self, *args)
686 """add_restraints(SaveOptimizerState self, IMP::kernel::Restraints const & objs)"""
687 return _IMP_rmf.SaveOptimizerState_add_restraints(self, *args)
689 def clear_restraints(self):
690 """clear_restraints(SaveOptimizerState self)"""
691 return _IMP_rmf.SaveOptimizerState_clear_restraints(self)
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)
697 def get_has_restraints(self):
698 """get_has_restraints(SaveOptimizerState self) -> bool"""
699 return _IMP_rmf.SaveOptimizerState_get_has_restraints(self)
701 def get_restraint(self, *args):
702 """get_restraint(SaveOptimizerState self, unsigned int i) -> Restraint"""
703 return _IMP_rmf.SaveOptimizerState_get_restraint(self, *args)
706 """get_restraints(SaveOptimizerState self) -> IMP::kernel::Restraints"""
707 return _IMP_rmf.SaveOptimizerState_get_restraints(self)
709 def reserve_restraints(self, *args):
710 """reserve_restraints(SaveOptimizerState self, unsigned int sz)"""
711 return _IMP_rmf.SaveOptimizerState_reserve_restraints(self, *args)
713 def remove_particle(self, *args):
714 """remove_particle(SaveOptimizerState self, Particle d)"""
715 return _IMP_rmf.SaveOptimizerState_remove_particle(self, *args)
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)
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)
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)
730 """add_particle(SaveOptimizerState self, Particle obj) -> unsigned int"""
731 return _IMP_rmf.SaveOptimizerState_add_particle(self, *args)
734 """add_particles(SaveOptimizerState self, IMP::kernel::Particles const & objs)"""
735 return _IMP_rmf.SaveOptimizerState_add_particles(self, *args)
737 def clear_particles(self):
738 """clear_particles(SaveOptimizerState self)"""
739 return _IMP_rmf.SaveOptimizerState_clear_particles(self)
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)
745 def get_has_particles(self):
746 """get_has_particles(SaveOptimizerState self) -> bool"""
747 return _IMP_rmf.SaveOptimizerState_get_has_particles(self)
749 def get_particle(self, *args):
750 """get_particle(SaveOptimizerState self, unsigned int i) -> Particle"""
751 return _IMP_rmf.SaveOptimizerState_get_particle(self, *args)
754 """get_particles(SaveOptimizerState self) -> IMP::kernel::Particles"""
755 return _IMP_rmf.SaveOptimizerState_get_particles(self)
757 def reserve_particles(self, *args):
758 """reserve_particles(SaveOptimizerState self, unsigned int sz)"""
759 return _IMP_rmf.SaveOptimizerState_reserve_particles(self, *args)
761 def remove_geometry(self, *args):
762 """remove_geometry(SaveOptimizerState self, Geometry d)"""
763 return _IMP_rmf.SaveOptimizerState_remove_geometry(self, *args)
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)
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)
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)
777 def add_geometry(self, *args):
778 """add_geometry(SaveOptimizerState self, Geometry obj) -> unsigned int"""
779 return _IMP_rmf.SaveOptimizerState_add_geometry(self, *args)
782 """add_geometries(SaveOptimizerState self, IMP::display::Geometries const & objs)"""
783 return _IMP_rmf.SaveOptimizerState_add_geometries(self, *args)
785 def clear_geometries(self):
786 """clear_geometries(SaveOptimizerState self)"""
787 return _IMP_rmf.SaveOptimizerState_clear_geometries(self)
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)
793 def get_has_geometries(self):
794 """get_has_geometries(SaveOptimizerState self) -> bool"""
795 return _IMP_rmf.SaveOptimizerState_get_has_geometries(self)
797 def get_geometry(self, *args):
798 """get_geometry(SaveOptimizerState self, unsigned int i) -> Geometry"""
799 return _IMP_rmf.SaveOptimizerState_get_geometry(self, *args)
801 def get_geometries(self):
802 """get_geometries(SaveOptimizerState self) -> IMP::display::Geometries"""
803 return _IMP_rmf.SaveOptimizerState_get_geometries(self)
805 def reserve_geometries(self, *args):
806 """reserve_geometries(SaveOptimizerState self, unsigned int sz)"""
807 return _IMP_rmf.SaveOptimizerState_reserve_geometries(self, *args)
809 def set_simulator(self, *args):
810 """set_simulator(SaveOptimizerState self, Simulator sim)"""
811 return _IMP_rmf.SaveOptimizerState_set_simulator(self, *args)
813 def update_always(self, *args):
815 update_always(SaveOptimizerState self, std::string name)
816 update_always(SaveOptimizerState self)
818 return _IMP_rmf.SaveOptimizerState_update_always(self, *args)
820 def do_update(self, *args):
821 """do_update(SaveOptimizerState self, unsigned int call_num)"""
822 return _IMP_rmf.SaveOptimizerState_do_update(self, *args)
824 def get_version_info(self):
825 """get_version_info(SaveOptimizerState self) -> VersionInfo"""
826 return _IMP_rmf.SaveOptimizerState_get_version_info(self)
829 """__str__(SaveOptimizerState self) -> std::string"""
830 return _IMP_rmf.SaveOptimizerState___str__(self)
833 """__repr__(SaveOptimizerState self) -> std::string"""
834 return _IMP_rmf.SaveOptimizerState___repr__(self)
837 return _object_cast_to_SaveOptimizerState(o)
838 get_from = staticmethod(get_from)
840 SaveOptimizerState_swigregister = _IMP_rmf.SaveOptimizerState_swigregister
841 SaveOptimizerState_swigregister(SaveOptimizerState)
846 load_frame(FileConstHandle file, FrameID frame)
847 load_frame(FileConstHandle file, unsigned int frame)
849 return _IMP_rmf.load_frame(*args)
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)
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)
873 __swig_destroy__ = _IMP_rmf.delete__ParticleSaveLink
874 __del__ =
lambda self :
None;
875 _ParticleSaveLink_swigregister = _IMP_rmf._ParticleSaveLink_swigregister
876 _ParticleSaveLink_swigregister(_ParticleSaveLink)
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):
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 > >
893 return _IMP_rmf._ParticleLoadLink_create(self, *args)
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)
899 __swig_destroy__ = _IMP_rmf.delete__ParticleLoadLink
900 __del__ =
lambda self :
None;
901 _ParticleLoadLink_swigregister = _IMP_rmf._ParticleLoadLink_swigregister
902 _ParticleLoadLink_swigregister(_ParticleLoadLink)
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
918 """get_name() -> char const *"""
919 return _IMP_rmf.HierarchyLoadLink_get_name()
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)
928 """__str__(HierarchyLoadLink self) -> std::string"""
929 return _IMP_rmf.HierarchyLoadLink___str__(self)
932 """__repr__(HierarchyLoadLink self) -> std::string"""
933 return _IMP_rmf.HierarchyLoadLink___repr__(self)
936 return _object_cast_to_HierarchyLoadLink(o)
937 get_from = staticmethod(get_from)
939 HierarchyLoadLink_swigregister = _IMP_rmf.HierarchyLoadLink_swigregister
940 HierarchyLoadLink_swigregister(HierarchyLoadLink)
942 def HierarchyLoadLink_get_name():
943 """HierarchyLoadLink_get_name() -> char const *"""
944 return _IMP_rmf.HierarchyLoadLink_get_name()
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
960 """get_name() -> char const *"""
961 return _IMP_rmf.HierarchySaveLink_get_name()
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)
970 """__str__(HierarchySaveLink self) -> std::string"""
971 return _IMP_rmf.HierarchySaveLink___str__(self)
974 """__repr__(HierarchySaveLink self) -> std::string"""
975 return _IMP_rmf.HierarchySaveLink___repr__(self)
978 return _object_cast_to_HierarchySaveLink(o)
979 get_from = staticmethod(get_from)
981 HierarchySaveLink_swigregister = _IMP_rmf.HierarchySaveLink_swigregister
982 HierarchySaveLink_swigregister(HierarchySaveLink)
984 def HierarchySaveLink_get_name():
985 """HierarchySaveLink_get_name() -> char const *"""
986 return _IMP_rmf.HierarchySaveLink_get_name()
988 suffixes = [
".rmf",
".rmfz"]
991 def get_module_version():
992 """get_module_version() -> std::string const"""
993 return _IMP_rmf.get_module_version()
996 """get_example_path(std::string fname) -> std::string"""
997 return _IMP_rmf.get_example_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())
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.
void set_check_level(CheckLevel tf)
Control runtime checks in the code.
See IMP.base for more information.
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.
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.
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.
CheckLevel get_check_level()
Get the current audit mode.
See IMP.atom for more information.
void add_restraint(RMF::FileHandle fh, kernel::Restraint *hs)