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

Module complexattrs

source code

Attributes with structure (i.e., containing structures or more than one atom).

These come with parsers of their own, in some way or other.

Structure attributes, which do not have string literals and have some sort of internal structure, add methods

Classes
  ListOfAtomsAttribute
is an attribute definition for an item containing many elements of the same type.
  SetOfAtomsAttribute
is an attribute definition for an item containing many elements of the same type, when order doesn't matter but lookup times do.
  DictAttribute
an attribute containing a mapping.
  PropertyAttribute
adds the property protocol to the parent instance.
  StructAttribute
describes an attribute containing a Structure
  MultiStructAttribute
describes an attribute containing one of a class of Structures.
  StructListAttribute
describes an attribute containing a homogeneous list of structures.
  UniquedStructListAttribute
A StructListAttribute that will only admit one child per value of uniqueAttribute, overwriting existing entries if existing.
  MultiStructListAttribute
describes a list of polymorphous children.