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 def do_destroy(self):
431 """do_destroy(LoadLink self)"""
432 return _IMP_rmf.LoadLink_do_destroy(self)
434 LoadLink_swigregister = _IMP_rmf.LoadLink_swigregister
435 LoadLink_swigregister(LoadLink)
438 """Proxy of C++ IMP::rmf::SaveLink class"""
439 __swig_setmethods__ = {}
440 for _s
in [
IMP.base.Object]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
441 __setattr__ =
lambda self, name, value: _swig_setattr(self, SaveLink, name, value)
442 __swig_getmethods__ = {}
443 for _s
in [
IMP.base.Object]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
444 __getattr__ =
lambda self, name: _swig_getattr(self, SaveLink, name)
445 def do_save(self, *args):
446 """do_save(SaveLink self, FileHandle hf)"""
447 return _IMP_rmf.SaveLink_do_save(self, *args)
449 def __init__(self, *args):
450 """__init__(IMP::rmf::SaveLink self, std::string name) -> SaveLink"""
451 if self.__class__ == SaveLink:
455 this = _IMP_rmf.new_SaveLink(_self, *args)
456 try: self.this.append(this)
457 except: self.this = this
458 if self.__class__ != SaveLink:
460 IMP.base._director_objects.register(self)
464 def save(self, *args):
465 """save(SaveLink self, FileHandle fh)"""
466 return _IMP_rmf.SaveLink_save(self, *args)
468 __swig_destroy__ = _IMP_rmf.delete_SaveLink
469 __del__ =
lambda self :
None;
471 """__str__(SaveLink self) -> std::string"""
472 return _IMP_rmf.SaveLink___str__(self)
475 """__repr__(SaveLink self) -> std::string"""
476 return _IMP_rmf.SaveLink___repr__(self)
479 return _object_cast_to_SaveLink(o)
480 get_from = staticmethod(get_from)
482 def get_type_name(self):
483 return self.__class__.__name__
484 def do_show(self, out):
486 def get_version_info(self):
487 if"IMP::rmf" ==
"IMP":
488 return VersionInfo(
"python",
"0")
490 return IMP.VersionInfo(
"python",
"0")
492 return _object_cast_to_SaveLink(o)
493 get_from = staticmethod(get_from)
495 def __disown__(self):
497 _IMP_rmf.disown_SaveLink(self)
498 return weakref_proxy(self)
499 def do_destroy(self):
500 """do_destroy(SaveLink self)"""
501 return _IMP_rmf.SaveLink_do_destroy(self)
503 SaveLink_swigregister = _IMP_rmf.SaveLink_swigregister
504 SaveLink_swigregister(SaveLink)
509 add_hierarchies(FileHandle fh, IMP::atom::Hierarchies const & hs)
510 add_hierarchies(NodeHandle fh, IMP::atom::Hierarchies const & hs)
512 return _IMP_rmf.add_hierarchies(*args)
515 """add_hierarchy(FileHandle fh, Hierarchy hs)"""
516 return _IMP_rmf.add_hierarchy(*args)
519 """create_hierarchies(FileConstHandle fh, Model m) -> IMP::atom::Hierarchies"""
520 return _IMP_rmf.create_hierarchies(*args)
523 """link_hierarchies(FileConstHandle fh, IMP::atom::Hierarchies const & hs)"""
524 return _IMP_rmf.link_hierarchies(*args)
528 add_restraints(FileHandle fh, IMP::kernel::Restraints const & hs)
529 add_restraints(NodeHandle fh, IMP::kernel::Restraints const & hs)
531 return _IMP_rmf.add_restraints(*args)
534 """add_restraint(FileHandle fh, Restraint hs)"""
535 return _IMP_rmf.add_restraint(*args)
538 """create_restraints(FileConstHandle fh, Model m) -> IMP::kernel::Restraints"""
539 return _IMP_rmf.create_restraints(*args)
542 """link_restraints(FileConstHandle fh, IMP::kernel::Restraints const & hs)"""
543 return _IMP_rmf.link_restraints(*args)
546 """add_restraints_as_bonds(FileHandle fh, IMP::kernel::Restraints const & rs)"""
547 return _IMP_rmf.add_restraints_as_bonds(*args)
550 """set_maximum_number_of_terms(FileHandle fh, unsigned int num)"""
551 return _IMP_rmf.set_maximum_number_of_terms(*args)
555 add_particles(FileHandle fh, IMP::kernel::ParticlesTemp const & hs)
556 add_particles(NodeHandle fh, IMP::kernel::ParticlesTemp const & hs)
558 return _IMP_rmf.add_particles(*args)
561 """add_particle(FileHandle fh, Particle hs)"""
562 return _IMP_rmf.add_particle(*args)
565 """create_particles(FileConstHandle fh, Model m) -> IMP::kernel::ParticlesTemp"""
566 return _IMP_rmf.create_particles(*args)
569 """link_particles(FileConstHandle fh, IMP::kernel::ParticlesTemp const & hs)"""
570 return _IMP_rmf.link_particles(*args)
574 add_geometries(FileHandle file, IMP::display::GeometriesTemp const & r)
575 add_geometries(NodeHandle parent, IMP::display::GeometriesTemp const & r)
577 return _IMP_rmf.add_geometries(*args)
580 """add_static_geometries(FileHandle parent, IMP::display::GeometriesTemp const & r)"""
581 return _IMP_rmf.add_static_geometries(*args)
583 def add_geometry(*args):
584 """add_geometry(FileHandle parent, Geometry r)"""
585 return _IMP_rmf.add_geometry(*args)
588 """create_geometries(FileConstHandle parent) -> IMP::display::Geometries"""
589 return _IMP_rmf.create_geometries(*args)
592 """link_geometries(FileConstHandle parent, IMP::display::GeometriesTemp const & r)"""
593 return _IMP_rmf.link_geometries(*args)
595 def set_association(*args):
597 set_association(NodeConstHandle nh, Object o, bool overwrite=False)
598 set_association(NodeConstHandle nh, Object o)
600 return _IMP_rmf.set_association(*args)
602 def get_node_from_association(*args):
604 get_node_from_association(FileConstHandle nh, Object oi) -> NodeConstHandle
605 get_node_from_association(FileHandle nh, Object oi) -> NodeHandle
607 return _IMP_rmf.get_node_from_association(*args)
609 def get_has_associated_node(*args):
610 """get_has_associated_node(FileConstHandle nh, Object oi) -> bool"""
611 return _IMP_rmf.get_has_associated_node(*args)
613 """Proxy of C++ IMP::rmf::SaveOptimizerState class"""
614 __swig_setmethods__ = {}
616 __setattr__ =
lambda self, name, value: _swig_setattr(self, SaveOptimizerState, name, value)
617 __swig_getmethods__ = {}
619 __getattr__ =
lambda self, name: _swig_getattr(self, SaveOptimizerState, name)
620 def __init__(self, *args):
621 """__init__(IMP::rmf::SaveOptimizerState self, Model m, FileHandle fh) -> SaveOptimizerState"""
622 this = _IMP_rmf.new_SaveOptimizerState(*args)
623 try: self.this.append(this)
624 except: self.this = this
625 def remove_hierarchy(self, *args):
626 """remove_hierarchy(SaveOptimizerState self, Particle d)"""
627 return _IMP_rmf.SaveOptimizerState_remove_hierarchy(self, *args)
629 def remove_hierarchies(self, *args):
630 """remove_hierarchies(SaveOptimizerState self, IMP::kernel::Particles const & d)"""
631 return _IMP_rmf.SaveOptimizerState_remove_hierarchies(self, *args)
633 def set_hierarchies(self, *args):
634 """set_hierarchies(SaveOptimizerState self, IMP::kernel::Particles const & ps)"""
635 return _IMP_rmf.SaveOptimizerState_set_hierarchies(self, *args)
637 def set_hierarchies_order(self, *args):
638 """set_hierarchies_order(SaveOptimizerState self, IMP::kernel::Particles const & objs)"""
639 return _IMP_rmf.SaveOptimizerState_set_hierarchies_order(self, *args)
642 """add_hierarchy(SaveOptimizerState self, Particle obj) -> unsigned int"""
643 return _IMP_rmf.SaveOptimizerState_add_hierarchy(self, *args)
646 """add_hierarchies(SaveOptimizerState self, IMP::kernel::Particles const & objs)"""
647 return _IMP_rmf.SaveOptimizerState_add_hierarchies(self, *args)
649 def clear_hierarchies(self):
650 """clear_hierarchies(SaveOptimizerState self)"""
651 return _IMP_rmf.SaveOptimizerState_clear_hierarchies(self)
653 def get_number_of_hierarchies(self):
654 """get_number_of_hierarchies(SaveOptimizerState self) -> unsigned int"""
655 return _IMP_rmf.SaveOptimizerState_get_number_of_hierarchies(self)
657 def get_has_hierarchies(self):
658 """get_has_hierarchies(SaveOptimizerState self) -> bool"""
659 return _IMP_rmf.SaveOptimizerState_get_has_hierarchies(self)
661 def get_hierarchy(self, *args):
662 """get_hierarchy(SaveOptimizerState self, unsigned int i) -> Particle"""
663 return _IMP_rmf.SaveOptimizerState_get_hierarchy(self, *args)
665 def get_hierarchies(self):
666 """get_hierarchies(SaveOptimizerState self) -> IMP::kernel::Particles"""
667 return _IMP_rmf.SaveOptimizerState_get_hierarchies(self)
669 def reserve_hierarchies(self, *args):
670 """reserve_hierarchies(SaveOptimizerState self, unsigned int sz)"""
671 return _IMP_rmf.SaveOptimizerState_reserve_hierarchies(self, *args)
673 def remove_restraint(self, *args):
674 """remove_restraint(SaveOptimizerState self, Restraint d)"""
675 return _IMP_rmf.SaveOptimizerState_remove_restraint(self, *args)
677 def remove_restraints(self, *args):
678 """remove_restraints(SaveOptimizerState self, IMP::kernel::Restraints const & d)"""
679 return _IMP_rmf.SaveOptimizerState_remove_restraints(self, *args)
681 def set_restraints(self, *args):
682 """set_restraints(SaveOptimizerState self, IMP::kernel::Restraints const & ps)"""
683 return _IMP_rmf.SaveOptimizerState_set_restraints(self, *args)
685 def set_restraints_order(self, *args):
686 """set_restraints_order(SaveOptimizerState self, IMP::kernel::Restraints const & objs)"""
687 return _IMP_rmf.SaveOptimizerState_set_restraints_order(self, *args)
690 """add_restraint(SaveOptimizerState self, Restraint obj) -> unsigned int"""
691 return _IMP_rmf.SaveOptimizerState_add_restraint(self, *args)
694 """add_restraints(SaveOptimizerState self, IMP::kernel::Restraints const & objs)"""
695 return _IMP_rmf.SaveOptimizerState_add_restraints(self, *args)
697 def clear_restraints(self):
698 """clear_restraints(SaveOptimizerState self)"""
699 return _IMP_rmf.SaveOptimizerState_clear_restraints(self)
701 def get_number_of_restraints(self):
702 """get_number_of_restraints(SaveOptimizerState self) -> unsigned int"""
703 return _IMP_rmf.SaveOptimizerState_get_number_of_restraints(self)
705 def get_has_restraints(self):
706 """get_has_restraints(SaveOptimizerState self) -> bool"""
707 return _IMP_rmf.SaveOptimizerState_get_has_restraints(self)
709 def get_restraint(self, *args):
710 """get_restraint(SaveOptimizerState self, unsigned int i) -> Restraint"""
711 return _IMP_rmf.SaveOptimizerState_get_restraint(self, *args)
714 """get_restraints(SaveOptimizerState self) -> IMP::kernel::Restraints"""
715 return _IMP_rmf.SaveOptimizerState_get_restraints(self)
717 def reserve_restraints(self, *args):
718 """reserve_restraints(SaveOptimizerState self, unsigned int sz)"""
719 return _IMP_rmf.SaveOptimizerState_reserve_restraints(self, *args)
721 def remove_particle(self, *args):
722 """remove_particle(SaveOptimizerState self, Particle d)"""
723 return _IMP_rmf.SaveOptimizerState_remove_particle(self, *args)
725 def remove_particles(self, *args):
726 """remove_particles(SaveOptimizerState self, IMP::kernel::Particles const & d)"""
727 return _IMP_rmf.SaveOptimizerState_remove_particles(self, *args)
729 def set_particles(self, *args):
730 """set_particles(SaveOptimizerState self, IMP::kernel::Particles const & ps)"""
731 return _IMP_rmf.SaveOptimizerState_set_particles(self, *args)
733 def set_particles_order(self, *args):
734 """set_particles_order(SaveOptimizerState self, IMP::kernel::Particles const & objs)"""
735 return _IMP_rmf.SaveOptimizerState_set_particles_order(self, *args)
738 """add_particle(SaveOptimizerState self, Particle obj) -> unsigned int"""
739 return _IMP_rmf.SaveOptimizerState_add_particle(self, *args)
742 """add_particles(SaveOptimizerState self, IMP::kernel::Particles const & objs)"""
743 return _IMP_rmf.SaveOptimizerState_add_particles(self, *args)
745 def clear_particles(self):
746 """clear_particles(SaveOptimizerState self)"""
747 return _IMP_rmf.SaveOptimizerState_clear_particles(self)
749 def get_number_of_particles(self):
750 """get_number_of_particles(SaveOptimizerState self) -> unsigned int"""
751 return _IMP_rmf.SaveOptimizerState_get_number_of_particles(self)
753 def get_has_particles(self):
754 """get_has_particles(SaveOptimizerState self) -> bool"""
755 return _IMP_rmf.SaveOptimizerState_get_has_particles(self)
757 def get_particle(self, *args):
758 """get_particle(SaveOptimizerState self, unsigned int i) -> Particle"""
759 return _IMP_rmf.SaveOptimizerState_get_particle(self, *args)
762 """get_particles(SaveOptimizerState self) -> IMP::kernel::Particles"""
763 return _IMP_rmf.SaveOptimizerState_get_particles(self)
765 def reserve_particles(self, *args):
766 """reserve_particles(SaveOptimizerState self, unsigned int sz)"""
767 return _IMP_rmf.SaveOptimizerState_reserve_particles(self, *args)
769 def remove_geometry(self, *args):
770 """remove_geometry(SaveOptimizerState self, Geometry d)"""
771 return _IMP_rmf.SaveOptimizerState_remove_geometry(self, *args)
773 def remove_geometries(self, *args):
774 """remove_geometries(SaveOptimizerState self, IMP::display::Geometries const & d)"""
775 return _IMP_rmf.SaveOptimizerState_remove_geometries(self, *args)
777 def set_geometries(self, *args):
778 """set_geometries(SaveOptimizerState self, IMP::display::Geometries const & ps)"""
779 return _IMP_rmf.SaveOptimizerState_set_geometries(self, *args)
781 def set_geometries_order(self, *args):
782 """set_geometries_order(SaveOptimizerState self, IMP::display::Geometries const & objs)"""
783 return _IMP_rmf.SaveOptimizerState_set_geometries_order(self, *args)
785 def add_geometry(self, *args):
786 """add_geometry(SaveOptimizerState self, Geometry obj) -> unsigned int"""
787 return _IMP_rmf.SaveOptimizerState_add_geometry(self, *args)
790 """add_geometries(SaveOptimizerState self, IMP::display::Geometries const & objs)"""
791 return _IMP_rmf.SaveOptimizerState_add_geometries(self, *args)
793 def clear_geometries(self):
794 """clear_geometries(SaveOptimizerState self)"""
795 return _IMP_rmf.SaveOptimizerState_clear_geometries(self)
797 def get_number_of_geometries(self):
798 """get_number_of_geometries(SaveOptimizerState self) -> unsigned int"""
799 return _IMP_rmf.SaveOptimizerState_get_number_of_geometries(self)
801 def get_has_geometries(self):
802 """get_has_geometries(SaveOptimizerState self) -> bool"""
803 return _IMP_rmf.SaveOptimizerState_get_has_geometries(self)
805 def get_geometry(self, *args):
806 """get_geometry(SaveOptimizerState self, unsigned int i) -> Geometry"""
807 return _IMP_rmf.SaveOptimizerState_get_geometry(self, *args)
809 def get_geometries(self):
810 """get_geometries(SaveOptimizerState self) -> IMP::display::Geometries"""
811 return _IMP_rmf.SaveOptimizerState_get_geometries(self)
813 def reserve_geometries(self, *args):
814 """reserve_geometries(SaveOptimizerState self, unsigned int sz)"""
815 return _IMP_rmf.SaveOptimizerState_reserve_geometries(self, *args)
817 def set_simulator(self, *args):
818 """set_simulator(SaveOptimizerState self, Simulator sim)"""
819 return _IMP_rmf.SaveOptimizerState_set_simulator(self, *args)
821 def update_always(self, *args):
823 update_always(SaveOptimizerState self, std::string name)
824 update_always(SaveOptimizerState self)
826 return _IMP_rmf.SaveOptimizerState_update_always(self, *args)
828 def do_update(self, *args):
829 """do_update(SaveOptimizerState self, unsigned int call_num)"""
830 return _IMP_rmf.SaveOptimizerState_do_update(self, *args)
832 def get_version_info(self):
833 """get_version_info(SaveOptimizerState self) -> VersionInfo"""
834 return _IMP_rmf.SaveOptimizerState_get_version_info(self)
837 """__str__(SaveOptimizerState self) -> std::string"""
838 return _IMP_rmf.SaveOptimizerState___str__(self)
841 """__repr__(SaveOptimizerState self) -> std::string"""
842 return _IMP_rmf.SaveOptimizerState___repr__(self)
845 return _object_cast_to_SaveOptimizerState(o)
846 get_from = staticmethod(get_from)
848 SaveOptimizerState_swigregister = _IMP_rmf.SaveOptimizerState_swigregister
849 SaveOptimizerState_swigregister(SaveOptimizerState)
854 load_frame(FileConstHandle file, FrameID frame)
855 load_frame(FileConstHandle file, unsigned int frame)
857 return _IMP_rmf.load_frame(*args)
861 save_frame(FileHandle file, std::string name="") -> FrameID
862 save_frame(FileHandle file) -> FrameID
863 save_frame(FileHandle file, unsigned int arg2, std::string name="")
864 save_frame(FileHandle file, unsigned int arg2)
866 return _IMP_rmf.save_frame(*args)
867 class _ParticleSaveLink(SaveLink):
868 """Proxy of C++ IMP::rmf::SimpleSaveLink<(IMP::kernel::Particle)> class"""
869 __swig_setmethods__ = {}
870 for _s
in [SaveLink]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
871 __setattr__ =
lambda self, name, value: _swig_setattr(self, _ParticleSaveLink, name, value)
872 __swig_getmethods__ = {}
873 for _s
in [SaveLink]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
874 __getattr__ =
lambda self, name: _swig_getattr(self, _ParticleSaveLink, name)
875 def __init__(self, *args, **kwargs):
raise AttributeError(
"No constructor defined - class is abstract")
876 __repr__ = _swig_repr
877 def add(self, *args):
878 """add(_ParticleSaveLink self, NodeHandle parent, IMP::base::Vector< IMP::base::Pointer< IMP::kernel::Particle > > const & os)"""
879 return _IMP_rmf._ParticleSaveLink_add(self, *args)
881 __swig_destroy__ = _IMP_rmf.delete__ParticleSaveLink
882 __del__ =
lambda self :
None;
883 _ParticleSaveLink_swigregister = _IMP_rmf._ParticleSaveLink_swigregister
884 _ParticleSaveLink_swigregister(_ParticleSaveLink)
886 class _ParticleLoadLink(LoadLink):
887 """Proxy of C++ IMP::rmf::SimpleLoadLink<(IMP::kernel::Particle)> class"""
888 __swig_setmethods__ = {}
889 for _s
in [LoadLink]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
890 __setattr__ =
lambda self, name, value: _swig_setattr(self, _ParticleLoadLink, name, value)
891 __swig_getmethods__ = {}
892 for _s
in [LoadLink]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
893 __getattr__ =
lambda self, name: _swig_getattr(self, _ParticleLoadLink, name)
894 def __init__(self, *args, **kwargs):
raise AttributeError(
"No constructor defined - class is abstract")
895 __repr__ = _swig_repr
896 def create(self, *args):
898 create(_ParticleLoadLink self, NodeConstHandle rt) -> IMP::base::Vector< IMP::base::Pointer< IMP::kernel::Particle > >
899 create(_ParticleLoadLink self, NodeConstHandle rt, Model m) -> IMP::base::Vector< IMP::base::Pointer< IMP::kernel::Particle > >
901 return _IMP_rmf._ParticleLoadLink_create(self, *args)
903 def link(self, *args):
904 """link(_ParticleLoadLink self, NodeConstHandle rt, IMP::base::Vector< IMP::base::Pointer< IMP::kernel::Particle > > const & ps)"""
905 return _IMP_rmf._ParticleLoadLink_link(self, *args)
907 __swig_destroy__ = _IMP_rmf.delete__ParticleLoadLink
908 __del__ =
lambda self :
None;
909 _ParticleLoadLink_swigregister = _IMP_rmf._ParticleLoadLink_swigregister
910 _ParticleLoadLink_swigregister(_ParticleLoadLink)
912 class HierarchyLoadLink(_ParticleLoadLink):
913 """Proxy of C++ IMP::rmf::HierarchyLoadLink class"""
914 __swig_setmethods__ = {}
915 for _s
in [_ParticleLoadLink]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
916 __setattr__ =
lambda self, name, value: _swig_setattr(self, HierarchyLoadLink, name, value)
917 __swig_getmethods__ = {}
918 for _s
in [_ParticleLoadLink]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
919 __getattr__ =
lambda self, name: _swig_getattr(self, HierarchyLoadLink, name)
920 def __init__(self, *args):
921 """__init__(IMP::rmf::HierarchyLoadLink self, FileConstHandle fh) -> HierarchyLoadLink"""
922 this = _IMP_rmf.new_HierarchyLoadLink(*args)
923 try: self.this.append(this)
924 except: self.this = this
926 """get_name() -> char const *"""
927 return _IMP_rmf.HierarchyLoadLink_get_name()
929 if _newclass:get_name = staticmethod(get_name)
930 __swig_getmethods__[
"get_name"] =
lambda x: get_name
931 def get_version_info(self):
932 """get_version_info(HierarchyLoadLink self) -> VersionInfo"""
933 return _IMP_rmf.HierarchyLoadLink_get_version_info(self)
936 """__str__(HierarchyLoadLink self) -> std::string"""
937 return _IMP_rmf.HierarchyLoadLink___str__(self)
940 """__repr__(HierarchyLoadLink self) -> std::string"""
941 return _IMP_rmf.HierarchyLoadLink___repr__(self)
944 return _object_cast_to_HierarchyLoadLink(o)
945 get_from = staticmethod(get_from)
947 HierarchyLoadLink_swigregister = _IMP_rmf.HierarchyLoadLink_swigregister
948 HierarchyLoadLink_swigregister(HierarchyLoadLink)
950 def HierarchyLoadLink_get_name():
951 """HierarchyLoadLink_get_name() -> char const *"""
952 return _IMP_rmf.HierarchyLoadLink_get_name()
954 class HierarchySaveLink(_ParticleSaveLink):
955 """Proxy of C++ IMP::rmf::HierarchySaveLink class"""
956 __swig_setmethods__ = {}
957 for _s
in [_ParticleSaveLink]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
958 __setattr__ =
lambda self, name, value: _swig_setattr(self, HierarchySaveLink, name, value)
959 __swig_getmethods__ = {}
960 for _s
in [_ParticleSaveLink]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
961 __getattr__ =
lambda self, name: _swig_getattr(self, HierarchySaveLink, name)
962 def __init__(self, *args):
963 """__init__(IMP::rmf::HierarchySaveLink self, FileHandle fh) -> HierarchySaveLink"""
964 this = _IMP_rmf.new_HierarchySaveLink(*args)
965 try: self.this.append(this)
966 except: self.this = this
968 """get_name() -> char const *"""
969 return _IMP_rmf.HierarchySaveLink_get_name()
971 if _newclass:get_name = staticmethod(get_name)
972 __swig_getmethods__[
"get_name"] =
lambda x: get_name
973 def get_version_info(self):
974 """get_version_info(HierarchySaveLink self) -> VersionInfo"""
975 return _IMP_rmf.HierarchySaveLink_get_version_info(self)
978 """__str__(HierarchySaveLink self) -> std::string"""
979 return _IMP_rmf.HierarchySaveLink___str__(self)
982 """__repr__(HierarchySaveLink self) -> std::string"""
983 return _IMP_rmf.HierarchySaveLink___repr__(self)
986 return _object_cast_to_HierarchySaveLink(o)
987 get_from = staticmethod(get_from)
989 HierarchySaveLink_swigregister = _IMP_rmf.HierarchySaveLink_swigregister
990 HierarchySaveLink_swigregister(HierarchySaveLink)
992 def HierarchySaveLink_get_name():
993 """HierarchySaveLink_get_name() -> char const *"""
994 return _IMP_rmf.HierarchySaveLink_get_name()
996 suffixes = [
".rmf",
".rmfz"]
999 def get_module_version():
1000 """get_module_version() -> std::string const"""
1001 return _IMP_rmf.get_module_version()
1004 """get_example_path(std::string fname) -> std::string"""
1005 return _IMP_rmf.get_example_path(*args)
1008 """get_data_path(std::string fname) -> std::string"""
1009 return _IMP_rmf.get_data_path(*args)
1010 import _version_check
1011 _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="")
Various classes to hold sets of particles.
kernel::Restraints create_restraints(RMF::FileConstHandle fh, kernel::Model *m)
void add_restraints(RMF::FileHandle fh, const kernel::Restraints &hs)
Shared optimizer state that is invoked upon commitment of new coordinates.
ParticlesTemp get_particles(kernel::Model *m, const ParticleIndexes &ps)
Make CGAL functionality available to IMP.
void set_check_level(CheckLevel tf)
Control runtime checks in the code.
Low level functionality (logging, error handling, profiling, command line flags etc) that is used by ...
kernel::RestraintsTemp get_restraints(const Subset &s, const ParticleStatesTable *pst, const DependencyGraph &dg, kernel::RestraintSet *rs)
void add_hierarchies(RMF::FileHandle fh, const atom::Hierarchies &hs)
Composable functors to implement scores via compile-time composition.
void add_hierarchy(RMF::FileHandle fh, atom::Hierarchy hs)
kernel::ParticlesTemp create_particles(RMF::FileConstHandle fh, kernel::Model *m)
void add_particles(RMF::FileHandle fh, const kernel::ParticlesTemp &hs)
Base functionality and abstract base classes for representation, scoring and sampling.
void link_geometries(RMF::FileConstHandle parent, const display::GeometriesTemp &r)
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)
Basic functionality that is expected to be used by a wide variety of IMP users.
General purpose algebraic and geometric methods that are expected to be used by a wide variety of IMP...
void link_hierarchies(RMF::FileConstHandle fh, const atom::Hierarchies &hs)
void add_static_geometries(RMF::FileHandle parent, const display::GeometriesTemp &r)
void add_geometries(RMF::FileHandle file, const display::GeometriesTemp &r)
void add_particle(RMF::FileHandle fh, kernel::Particle *hs)
Output IMP model data in various file formats.
CheckLevel get_check_level()
Get the current audit mode.
Functionality for loading, creating, manipulating and scoring atomic structures.
void add_restraint(RMF::FileHandle fh, kernel::Restraint *hs)