Package gavo :: Package rscdef :: Module regtest :: Class DynamicOpenVocAttribute
[frames] | no frames]

Class DynamicOpenVocAttribute

source code

               object --+    
                        |    
base.attrdef.AttributeDef --+
                            |
                           DynamicOpenVocAttribute

an attribute that collects arbitrary attributes in a sequence of pairs.

The finished sequence is available as a freeAttrs attribute on the embedding instance. No parsing is done, everything is handled as a string.

Instance Methods
 
__init__(self, name, **kwargs)
x.__init__(...) initializes x; see help(type(x)) for signature
source code
 
feedObject(self, instance, value) source code
 
feed(self, ctx, instance, value) source code
 
getCopy(self, instance, newParent) source code
 
makeUserDoc(self) source code
 
iterParentMethods(self)
returns an iterator over (name, method) pairs that should be inserted in the parent class.
source code

Inherited from base.attrdef.AttributeDef: doCallbacks

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Variables
  typeDesc_ = 'any attribute not otherwise used'
Properties

Inherited from object: __class__

Method Details

__init__(self, name, **kwargs)
(Constructor)

source code 

x.__init__(...) initializes x; see help(type(x)) for signature

Overrides: object.__init__
(inherited documentation)

feedObject(self, instance, value)

source code 
Overrides: base.attrdef.AttributeDef.feedObject

feed(self, ctx, instance, value)

source code 
Overrides: base.attrdef.AttributeDef.feed

getCopy(self, instance, newParent)

source code 
Overrides: base.attrdef.AttributeDef.getCopy

makeUserDoc(self)

source code 
Overrides: base.attrdef.AttributeDef.makeUserDoc

iterParentMethods(self)

source code 

returns an iterator over (name, method) pairs that should be inserted in the parent class.

Overrides: base.attrdef.AttributeDef.iterParentMethods
(inherited documentation)