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

Class _AtomBondContainer

object --+
         |
        _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.

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, ct, atom_index)
(Constructor)

 

Initialize with a Structure and an atom index.

Overrides: object.__init__

__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.