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

Pin in a single schematic's netlist. More...

Public Member Functions

def __init__
def get_attributes
 Get all attribute values for a given attribute name. More...
def get_attribute
 Get the value of an attribute. More...
def error
def warn

Public Attributes

 The "identifier" of the pin. More...

Detailed Description

Pin in a single schematic's netlist.

Definition at line 265 of file blueprint.py.

Constructor & Destructor Documentation

def xorn.geda.netlist.blueprint.Pin.__init__ (   self,

Definition at line 266 of file blueprint.py.

Member Function Documentation

def xorn.geda.netlist.blueprint.Pin.error (   self,

Definition at line 331 of file blueprint.py.

def xorn.geda.netlist.blueprint.Pin.get_attribute (   self,
  default = KeyError 

Get the value of an attribute.

Returns the value of the attribute with the name name, or raises a KeyError if the attribute doesn't exist. If default is given, returns that value instead.

It is an error for the pin to contain multiple attributes with the same name and different values.

An attribute with the value unknown isn't treated specially in any way. Since pin attributes can't be overridden, there wouldn't be a use case for this.

Definition at line 305 of file blueprint.py.

def xorn.geda.netlist.blueprint.Pin.get_attributes (   self,

Get all attribute values for a given attribute name.

Searches the attributes attached to this pin for attributes with the name name and returns a list with their values.

Definition at line 287 of file blueprint.py.

def xorn.geda.netlist.blueprint.Pin.warn (   self,

Definition at line 342 of file blueprint.py.

Member Data Documentation


Definition at line 267 of file blueprint.py.


Definition at line 278 of file blueprint.py.


Definition at line 268 of file blueprint.py.


The "identifier" of the pin.

set by xorn.geda.netlist.pp_slotting and xorn.geda.netlist.pp_netattrib

Definition at line 275 of file blueprint.py.


Definition at line 269 of file blueprint.py.

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