Package schrodinger :: Package trajectory :: Module ffstructure :: Class _FFPairProperty
[hide private]
[frames] | no frames]

Class _FFPairProperty

UserDict.DictMixin --+
                     |
                    _FFPairProperty

A dictionary to hold pair force field parameters.

Instance Methods [hide private]
 
__init__(self, ffpair, ffhandle, _index)
 
__getitem__(self, item)
Return the given item if it is a valid force field parameter for this pair, None if not.
 
__setitem__(self, item, value)
Set a force field parameter for the pair.
 
keys(self)
Returns a list of the property names for this pair.

Inherited from UserDict.DictMixin: __cmp__, __contains__, __iter__, __len__, __repr__, clear, get, has_key, items, iteritems, iterkeys, itervalues, pop, popitem, setdefault, update, values

Method Details [hide private]

__getitem__(self, item)
(Indexing operator)

 

Return the given item if it is a valid force field parameter for this pair, None if not.

Parameters:
  • item (string) - The property name.

__setitem__(self, item, value)
(Index assignment operator)

 

Set a force field parameter for the pair.

Parameters:
  • item (string) - The property name.
  • value - The value to be set.