This class shall serve as a representation of a parameter.
It might be useful if a little more information than the pure parameter
value is required (or even only useful).
Each parameter must have a value. However additional property can be
passed to the constructor and will be stored in the object.
cls.parameter1[:] = ...
|
|
__init__(self,
default,
name=None,
doc=None,
index=None,
**kwargs)
Specify a parameter by its default value and optionally an arbitrary
number of additional parameters. |
source code
|
|
|
|
|
|
|
doc(self,
indent=" ",
width=70)
Docstring for the parameter to be used in lists of parameters |
source code
|
|
|
|
resetvalue(self)
Reset value to the default |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Inherited from state.CollectableAttribute:
isSet,
reset
Inherited from object:
__delattr__,
__getattribute__,
__hash__,
__new__,
__reduce__,
__reduce_ex__,
__repr__,
__setattr__
|