Package schrodinger :: Module structure :: Class _AtomBondContainer
[hide private]
[frames] | no frames]

Class _AtomBondContainer

The class to provide access to _StructureBond instances for each bond of an atom.

Instance Methods [hide private]
 
__init__(self, ct, atom_index)
Initialize with a Structure and an atom index.
 
__delitem__(self, index)
Delete the specified bond.
 
__getitem__(self, index)
Return the wrapper class for bond based properties.
 
__iter__(self)
Provide iteration access.
 
__len__(self)
Return the number of bonds by querying the Structure class.
Method Details [hide private]

__getitem__(self, index)
(Indexing operator)

 

Return the wrapper class for bond based properties. Note that as in _StructureAtomContainer the initial index is 1, as expected by the C mmlibraries, not 0 as is expected for python.