A general class for ASL expression support.
Marked as private because it will probably be moved or removed.
|
|
__init__(self,
st,
asl_expr='all')
x.__init__(...) initializes x; see help(type(x)) for signature |
|
|
|
|
updateSelection(self)
A method to allow updating the selection for a modified structure. |
|
|
|
|
_setSelection(self)
Set the current selection atoms. |
|
|
|
|
_setAslExpr(self,
asl_expr)
Set the ASL expression and update the selection. |
|
|
|
|
|
|
|
__iter__(self)
Iterate over selected atoms, returning _StructureAtom instances. |
|
|
|
|
__getitem__(self,
n)
Get item 'n' (as a _StructureAtom instance) from the selected atoms. |
|
|
|
|
__len__(self)
Return the number of atoms in the selection. |
|
|
|
Inherited from object:
__delattr__,
__format__,
__getattribute__,
__hash__,
__new__,
__reduce__,
__reduce_ex__,
__repr__,
__setattr__,
__sizeof__,
__str__,
__subclasshook__
|