Package gavo :: Package base :: Module complexattrs :: Class MultiStructListAttribute
[frames] | no frames]

Class MultiStructListAttribute

source code

          object --+            
                   |            
attrdef.AttributeDef --+        
                       |        
         StructAttribute --+    
                           |    
         StructListAttribute --+
                               |
          object --+           |
                   |           |
attrdef.AttributeDef --+       |
                       |       |
         StructAttribute --+   |
                           |   |
        MultiStructAttribute --+
                               |
                              MultiStructListAttribute

describes a list of polymorphous children.

See rscdesc cores as to why one could want this; the arguments are as for MultiStructAttribute.

Instance Methods
 
__init__(self, name, childFactory, childNames, **kwargs)
x.__init__(...) initializes x; see help(type(x)) for signature
source code
 
create(self, structure, ctx, name) source code
 
makeUserDoc(self) source code

Inherited from StructListAttribute: addStruct, feedObject, getCopy, iterChildren, iterEvents, onParentComplete, remove, replace

Inherited from StructAttribute: feed

Inherited from attrdef.AttributeDef: doCallbacks, iterParentMethods

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

Properties
  typeDesc_

Inherited from StructListAttribute: default_

Inherited from object: __class__

Method Details

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

source code 

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

Overrides: object.__init__
(inherited documentation)

create(self, structure, ctx, name)

source code 
Overrides: StructAttribute.create

makeUserDoc(self)

source code 
Overrides: attrdef.AttributeDef.makeUserDoc

Property Details

typeDesc_

Get Method:
unreachable.typeDesc_(self)