Package schrodinger :: Package application :: Package desmond :: Package packages :: Package msys :: Class ParamTable
[hide private]
[frames] | no frames]

Class ParamTable

object --+
         |
        ParamTable

Instance Methods [hide private]
 
__init__(self, _ptr)
x.__init__(...) initializes x; see help(type(x)) for signature
 
__eq__(self, x)
 
__ne__(self, x)
 
__hash__(self)
hash(x)
 
addParam(self, **kwds)
add and return a new Param().
 
addProp(self, name, type)
add a new property of the given type, which must be int, float, or str.
 
props(self)
names of the properties
 
nprops(self)
number of properties
 
propType(self, name)
type of the property with the given name
 
delProp(self, name)
removes the property with the given name.
 
param(self, id)
fetch the Param with the given id
 
nparams(self)
number of Params
 
params(self)
list of all Params in table
 
find(self, name, value)
return the Params with the given value for name

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

Instance Variables [hide private]
  _ptr
Construct from ParamTablePtr.
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, _ptr)
(Constructor)

 

x.__init__(...) initializes x; see help(type(x)) for signature

Overrides: object.__init__
(inherited documentation)

__hash__(self)
(Hashing function)

 

hash(x)

Overrides: object.__hash__
(inherited documentation)

addParam(self, **kwds)

 

add and return a new Param().

If keyword arguments are supplied, they will be assigned to the newly created Param before returning it.

props(self)

 

names of the properties

Decorators:
  • @property

nprops(self)

 

number of properties

Decorators:
  • @property

nparams(self)

 

number of Params

Decorators:
  • @property

params(self)

 

list of all Params in table

Decorators:
  • @property

Instance Variable Details [hide private]

_ptr

Construct from ParamTablePtr. Do not invoke directly; use CreateParamTable() instead.