All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Pages
Public Member Functions | Public Attributes | List of all members
xorn.geda.netlist.package.PackagePin Class Reference

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


Detailed Description

Definition at line 160 of file package.py.

Constructor & Destructor Documentation

def xorn.geda.netlist.package.PackagePin.__init__ (   self,

Definition at line 161 of file package.py.

Member Function Documentation

def xorn.geda.netlist.package.PackagePin.error (   self,

Definition at line 238 of file package.py.

def xorn.geda.netlist.package.PackagePin.get_all_attributes (   self,

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.

The order of the values in the return list is the order of pin instances within the netlist (the first element is the value associated with the first pin instance).
a list of attribute values as strings and None

Definition at line 179 of file package.py.

def xorn.geda.netlist.package.PackagePin.get_attribute (   self,
  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,

Definition at line 243 of file package.py.

Member Data Documentation


Definition at line 164 of file package.py.


Definition at line 163 of file package.py.


Definition at line 162 of file package.py.

The documentation for this class was generated from the following file: