| Trees | Indices | Help |
|
|---|
|
|
Parameters are a kind of class attribute allowing special behavior, including dynamically generated parameter values, documentation strings, constant and read-only parameters, and type or range checking at assignment time.
Potentially useful for any large Python program that needs user-modifiable object attributes; see the parameterized.Parameter and parameterized.Parameterized classes for more information.
This file contains subclasses of Parameter, implementing specific parameter types (e.g. Number).
$Id: __init__.py 11322 2010-07-28 16:47:38Z ceball $
Version: $Revision$
|
|||
| |||
|
|||
|
Dynamic Parameter whose value can be generated dynamically by a callable object. |
|||
|
Number Number is a numeric parameter. |
|||
|
Integer Number is a numeric parameter. |
|||
|
Magnitude Number is a numeric parameter. |
|||
|
Boolean An attribute descriptor for declaring parameters. |
|||
|
NumericTuple An attribute descriptor for declaring parameters. |
|||
|
XYCoordinates An attribute descriptor for declaring parameters. |
|||
|
Callable Parameter holding a value that is a callable object, such as a function. |
|||
|
Composite A parameter that is in fact a composite of a set of other parameters or attributes of the class. |
|||
|
Selector Parameter whose value is set to some form of one of the possibilities in its range. |
|||
|
ObjectSelector Parameter whose value is set to an object from its list of possible objects. |
|||
|
ClassSelector Parameter whose value is an instance of the specified class. |
|||
|
List Parameter whose value is a list of objects, usually of a specified type. |
|||
|
HookList Parameter whose value is a list of callable objects. |
|||
|
Dict Parameter whose value is a dictionary. |
|||
|
resolve_path Find the path to an existing file, searching the paths specified in the search_paths parameter if the filename is not absolute, and converting a UNIX-style path to the current OS's format if necessary. |
|||
|
normalize_path Convert a UNIX-style path to the current OS's format, typically for creating a new file or directory. |
|||
|
Filename Parameter that can be set to a string specifying the path of a file (in unix style); returns it in the format of the user's operating system. |
|||
|
|||
|
|||
|
|||
|
|||
__package__ =
|
|||
|
|||
Return a dictionary containing all subclasses of the specified parentclass, including the parentclass. Only classes that are defined in scripts that have been run or modules that have been imported are included, so the caller will usually first do from package import *. If the class has an attribute abstract, and it is True, the class will not be included. |
| Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0.1 on Thu Aug 5 14:59:19 2010 | http://epydoc.sourceforge.net |