footprints.priorities¶
Footprint utilities to handle the priority footprint’s attribute.
Module Attributes¶
- footprints.priorities.top = <footprints.priorities.PrioritySet object>
Predefined ordered object.
Functions¶
Classes¶
- class footprints.priorities.PriorityLevel(tagname, pset)[source]¶
Bases:
objectSingle level to be used inside footprints.
- property rank¶
Actual order level in the current set of priorities.
- class footprints.priorities.PrioritySet(levels=None)[source]¶
Bases:
objectIterable class for handling unsortable priority levels.
- extend(*levels)[source]¶
Extends the set of logical names for priorities. Existing levels are reranked at top priority as well as new one.
- insert(tag=None, after=None, before=None)[source]¶
Insert a new priority after or before an other one (which the tag name is given).
- level(tag)[source]¶
Return the
PriorityLevelobject of this set associated to the specifiedtagname.
- remove(tag)[source]¶
Remove the
PriorityLevelitem associated to the specifiedtagname.