type _CollectionFacet_mixin
source code
object --+
|
cscRoot --+
|
_CollectionFacet_mixin
- Known Subclasses:
-
Mix-in to handle facets whose values are collections, not scalars.
For example, the enumeration and pattern facets maintain a list of
enumeration values and patterns, respectively, as their value space.
Subclasses must define a class variable _CollectionFacet_itemType
which is a reference to a class that is used to construct members of the
collection.
|
|
|
_items(self)
The members of the collection, as a reference. |
source code
|
|
|
items(self)
The members of the collection, as a copy. |
source code
|
|
|
iteritems(self)
The members of the collection as an iterator |
source code
|
|
Inherited from cscRoot :
__init__
|
|
__items = None
|
|
_CollectionFacet_mixin__items = None
|
Extend base class.
- Parameters:
_constructor - If False or absent, the object being set is a member
of the collection. If True , the object being set is
the collection itself.
|