| Trees | Indices | Help |
|
|---|
|
|
Generic support for objects with full-featured Parameters and messaging.
$Id: parameterized.py 11321 2010-07-28 16:47:04Z ceball $
Version: $Revision$
|
|||
|
bothmethod 'optional @classmethod' |
|||
|
ParameterMetaclass Metaclass allowing control over creation of Parameter classes. |
|||
|
Parameter An attribute descriptor for declaring parameters. |
|||
|
String An attribute descriptor for declaring parameters. |
|||
|
ParameterizedMetaclass The metaclass of Parameterized (and all its descendents). |
|||
|
Parameterized Base class for named objects that support Parameters and message formatting. |
|||
|
PicklableClassAttributes Supports pickling of Parameterized class attributes for a given module. |
|||
|
ParamOverrides A dictionary that returns the attribute of a specified object if that attribute is not present in itself. |
|||
|
ParameterizedFunction Acts like a Python function, but with arguments that are Parameters. |
|||
| OptionalSingleton | |||
|
overridable_property The same as Python's "property" attribute, but allows the accessor methods to be overridden in subclasses. |
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Return a list of the class hierarchy above (and including) the given class. Same as inspect.getmro(class_)[::-1] |
Return a list of the class hierarchy below (and including) the given class. The list is ordered from least- to most-specific. Can be useful for printing the contents of an entire class hierarchy. |
Variant of repr() designed for generating a runnable script. Instances of types that require special handling can use the script_repr_reg dictionary. Using the type as a key, add a function that returns a suitable representation of instances of that type, and adds the required import statement. |
Decorator: call fn with the parameterized_instance's initialization flag set to False, then revert the flag. (Used to decorate Parameterized methods that must alter a constant Parameter.) |
| Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0.1 on Thu Aug 5 14:59:19 2010 | http://epydoc.sourceforge.net |