Trees | Indices | Help |
|
---|
|
object --+ | ModelParameter
Model parameter - keeps track of arguments to a model.
This object has a dual purpose, first to declare the parameters that are actually needed by a module and secondly to keep track of the values of that parameter. To switch between the two, a call to "withValue" creates a copy of the parameter, this time with a given value.
Note: this is a lot less screwy than it sounds.
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from |
|
|||
Inherited from |
|
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
|
Instantiates a copy of the model parameter with a given value. The setValue method will return a ValidationError if validation fails, so this method implicitly performs parameter verification. |
Converts an instance of this parameter (with value) into matlab code. This is used to inject copies of the parameters __directly__ into the Matlab namespace. |
Gives a value of this parameter does not exist (i.e. in a post request). This is mostly useful for the screwy way browsers handle "checkbox" parameters, by simply not sending the key when the checkbox is unchecked. |
Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Thu Jan 13 12:54:32 2011 | http://epydoc.sourceforge.net |