oaSizedLayer Class Reference

Inheritance diagram for oaSizedLayer:

oaLayer oaTechObject oaObject


Public Methods

oaLayergetLayer () const
oaSizeOp getOperation () const
oaDist getValue () const

Static Public Methods

oaSizedLayer * create (oaLayer *layer, oaSizeOp operation, oaDist value, const oaString &name, oaLayerNum number)
oaSizedLayer * find (const oaTech *tech, const oaString &name)
oaSizedLayer * find (const oaTech *tech, oaLayerNum number)
oaSizedLayer * find (const oaLayer *layer, oaSizeOp operation, oaDist value)

Detailed Description

The functionality provided by oaSizedLayer is now available using oaDerivedLayer. Specifically, in OpenAccess 2.2.0, to create a derived layer that represents layer metal1 sized up by .001 um you created an oaSizedLayer with an operation of oacGrowSizeOp and an oaValue of 1 (assuming 1000 DBU per UU and user units of microns). With the availability of the more flexible mechanism provided by oaDerivedLayerParams, an oaDerivedLayer can be used to represent oaSIzedLayers. Using the example cited above, you create an oaDerivedLayer with the following attributes:

New applications should use oaDerivedLayers to represent sizing operations rather than use oaSizedLayer.


Member Function Documentation

oaSizedLayer * oaSizedLayer::create oaLayer *    layer,
oaSizeOp    operation,
oaDist    value,
const oaString &    name,
oaLayerNum    number
[static]
 

This functions creates a sized layer with the specified number, name, layer, operation and value. The combination must be unique.

Parameters:
layer The layer to size
operation The sizing operation (grow, shrink)
value The amount to size the layer
name The name of the layer to create
number The number of the layer to create
Exceptions:
oacLayerNumberExists 
oacLayerNameExists 
oacSizedLayerExists 

oaSizedLayer * oaSizedLayer::find const oaLayer *    layer,
oaSizeOp    operation,
oaDist    value
[static]
 

This function searches the technology database associated with the given layer looking for a sized layer with the specified layer derivation. For this variant of find function, the given layer must be in the same technology database, and the oaSizedLayer lookup is local to that database.

If the sized layer is found, a pointer to the sized layer object is returned. Otherwise, NULL is returned.

Parameters:
layer The layer that was sized
operation The sizing operation (grow, shrink)
value The amount that the layer was sized

oaSizedLayer * oaSizedLayer::find const oaTech *    tech,
oaLayerNum    number
[static]
 

This function searches the specified tech looking for a sized layer with the specified number. If the layer is found, a pointer to the sized layer object is returned; otherwise NULL is returned.

Parameters:
tech The technology database to search
number The layer number to find

Reimplemented from oaLayer.

oaSizedLayer * oaSizedLayer::find const oaTech *    tech,
const oaString &    name
[static]
 

This function searches the specified tech looking for a sized layer with the specified name. If the layer is found, a pointer to the sized layer object is returned; otherwise NULL is returned.

Parameters:
tech The technology database to search
name The layer name to find

Reimplemented from oaLayer.

oaLayer * oaSizedLayer::getLayer   const
 

This function returns a pointer to the layer from which the sized layer was created.

oaSizeOp oaSizedLayer::getOperation   const
 

This function returns the sizeOp used to create this SizedLayer.

oaUInt4 oaSizedLayer::getValue   const
 

This function returns the value used to create this SizedLayer.


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

Return to top of page