is the base class for all attribute definitions.
See above.
The data attribute names have all an underscore added to avoid name
clashes -- structures should have about the same attributes and may want
to have managed attributes called name or description.
When constructing AttributeDefs, you should only use keyword
arguments, except for name (the first argument).
Note that an AttributeDef might be embedded by many instances. So,
you must *never* store any instance data in an AttributeDef (unless it's
really a singleton, of course).
|
__init__(self,
name,
default=None,
description=' Undocumented ' ,
copyable=False,
aliases=None,
callbacks=None,
before=None)
x.__init__(...) initializes x; see help(type(x)) for signature |
source code
|
|
|
doCallbacks(self,
instance,
value)
should be called after feedObject has done its work. |
source code
|
|
|
|
|
|
|
|
|
iterParentMethods(self)
returns an iterator over (name, method) pairs that should be inserted
in the parent class. |
source code
|
|
|
|
Inherited from object :
__delattr__ ,
__format__ ,
__getattribute__ ,
__hash__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__repr__ ,
__setattr__ ,
__sizeof__ ,
__str__ ,
__subclasshook__
|