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

Class _OtherBlock

Instance Methods [hide private]
 
__init__(self, handle, block_num)
 
_getIndex(self)
 
_get_name_method(self, block_num)
 
_set_name_method(self, block_num, value)
 
_num_elements_method(self, block_num)
 
_add_elements_method(handle, block_num, num_elements)
 
_delete_element_method(handle, block_num, element_num)
 
_getName(self)
 
_setName(self, value)
 
__getitem__(self, index)
Return the wrapper class for ffio constraint based properties.
 
__iter__(self)
Provide iteration access.
 
__len__(self)
Return the number of elements in this block
 
addElement(self)
Add a new element to this block and return it.
 
addElements(self, num_elements)
Add the specified number of other elements to this block.
 
deleteElements(self, indices)
Delete multiple elements from this block.
Class Variables [hide private]
  index = property(_getIndex, doc= "The block number. I{Read onl...
  _element_class = None
hash(x)
  name = property(_getName, _setName, doc= "other block name.")
Method Details [hide private]

__getitem__(self, index)
(Indexing operator)

 

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

deleteElements(self, indices)

 

Delete multiple elements from this block. The argument indices must be a sequence or an iterable, and able to be interpreted as ints.

After deletion, indices are renumbered from 1 to len(self).


Class Variable Details [hide private]

index

Value:
property(_getIndex, doc= "The block number. I{Read only.}")