Package schrodinger :: Package application :: Package desmond :: Module ffiostructure :: Class _FFIOSubBlockContainer
[hide private]
[frames] | no frames]

Class _FFIOSubBlockContainer

object --+
         |
        _FFIOSubBlockContainer
Known Subclasses:

Instance Methods [hide private]
 
__init__(self, ff)
Initialize the container.
 
_item_count_method(self)
 
_delete_method(self, index)
 
__delitem__(self, index)
Delete a ffio sub-block item from the CT.
 
__getitem__(self, index)
Return the wrapper class for ffio sub-block item based properties.
 
__iter__(self)
Provide iteration access.
 
__len__(self)
Return the number of items.

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

Class Variables [hide private]
  _item_class = None
hash(x)
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, ff)
(Constructor)

 

Initialize the container.

Overrides: object.__init__

__delitem__(self, index)
(Index deletion operator)

 

Delete a ffio sub-block item from the CT. Note that this immediately updates the CT and therefore renumbers any items following the one deleted.

__getitem__(self, index)
(Indexing operator)

 

Return the wrapper class for ffio sub-block item based properties. Note that the initial index is 1, as per the underlying mmffio library, not 0 as is expected for python.