Public Member Functions | |
def | __init__ |
def | get_all_attributes |
Returns the appropriate attribute values on this pin. More... | |
def | get_attribute |
Return the value associated with attribute name on the pin. More... | |
def | error |
def | warn |
Public Attributes | |
package | |
number | |
cpins | |
Definition at line 160 of file package.py.
def xorn.geda.netlist.package.PackagePin.__init__ | ( | self, | |
package, | |||
number | |||
) |
Definition at line 161 of file package.py.
def xorn.geda.netlist.package.PackagePin.error | ( | self, | |
msg | |||
) |
Definition at line 238 of file package.py.
def xorn.geda.netlist.package.PackagePin.get_all_attributes | ( | self, | |
name | |||
) |
Returns the appropriate attribute values on this pin.
This function returns the values of a specific attribute type attached to the instances of this pin. For each instance, the found attribute value is added to the return list. None
is added if the instance has no such attribute.
None
Definition at line 179 of file package.py.
def xorn.geda.netlist.package.PackagePin.get_attribute | ( | self, | |
name, | |||
default = KeyError |
|||
) |
Return the value associated with attribute name on the pin.
It actually computes a single value from the full list of values produced by get_all_attributes.
If all instances do not have the same value for name, raises an error.
Definition at line 201 of file package.py.
def xorn.geda.netlist.package.PackagePin.warn | ( | self, | |
msg | |||
) |
Definition at line 243 of file package.py.
xorn.geda.netlist.package.PackagePin.cpins |
Definition at line 164 of file package.py.
xorn.geda.netlist.package.PackagePin.number |
Definition at line 163 of file package.py.
xorn.geda.netlist.package.PackagePin.package |
Definition at line 162 of file package.py.