oaPinFig Class Reference

Inheritance diagram for oaPinFig:

oaConnFig oaFig oaBlockObject oaDesignObject oaObject oaRef oaShape oaInst oaVia oaArc oaDonut oaDot oaEllipse oaLine oaPath oaPathSeg oaPolygon oaRect oaText oaTextDisplay


Public Methods

oaBoolean hasPin () const
oaPingetPin () const
void addToPin (oaPin *pin)
void removeFromPin ()

Detailed Description

The oaPinFig class is an abstract class that is the base for all OpenAccess database figures that can represent pins, including instances, shapes and vias.


Member Function Documentation

void oaPinFig::addToPin oaPin *    pin
 

This function adds this figure to the specified pin. If this figure is already connected to another pin, it is detached from the other pin first.

Parameters:
pin The pin to attach the figure to
Exceptions:
oacCannotAddNetFigToPin 
oacCannotAddRouteFigToPin 
oacPinAndFigNotInSameBlock 

oaPin * oaPinFig::getPin   const
 

This function returns the pin this figure implements. If this figure does not implement a pin, NULL is returned.

oaBoolean oaPinFig::hasPin   const
 

This function returns a boolean value that indicates if this figure implements a pin.

void oaPinFig::removeFromPin  
 

This function removes this figure from the pin to which it is attached. If this figure is not attached to a pin, this function does nothing.


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

Return to top of page