oaConnFig Class Reference

Inheritance diagram for oaConnFig:

oaFig oaBlockObject oaDesignObject oaObject oaGuide oaPinFig oaRoute oaSteiner oaRef oaShape oaInst oaVia oaArc oaDonut oaDot oaEllipse oaLine oaPath oaPathSeg oaPolygon oaRect oaText oaTextDisplay


Public Methods

oaBoolean hasNet () const
oaNetgetNet () const
void addToNet (oaNet *net)
void removeFromNet ()

Detailed Description

The oaConnFig class is an abstract class that is the base for all OpenAccess database figures that can represent connectivity, including pinFigs, guides and routes.


Member Function Documentation

void oaConnFig::addToNet oaNet *    net
 

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

Parameters:
net The net to attach to the figure
Exceptions:
oacNetFigNotInSameBlock 
oacCannotAddFigToImplicitNet 
oacCannotAddPinFigToNet 
oacCannotAddRouteFigToNet 
oacCannotAddViaToNonBitNet 
oacCannotAddSteinerToNonBitNet 

oaNet * oaConnFig::getNet   const
 

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

Note that this function returns a net if the shape is directly assigned to a net or if the shape is in a route that is assigned to a net. If the shape belongs to a pin, it does not return a net but returns NULL .

oaBoolean oaConnFig::hasNet   const
 

This function returns a boolean value that indicates whether this figure implements a net.

void oaConnFig::removeFromNet  
 

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

Exceptions:
oacCannotRemoveRouteFigFromNet 


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

Return to top of page