oaViaQuery Class Reference

Inheritance diagram for oaViaQuery:

oaRegionQuery


Public Methods

 oaViaQuery ()
oaLayerNum getLayerNum1 () const
oaLayerNum getLayerNum2 () const
void query (oaDesign *topDesign, const oaBox &region, oaDist filterSize=0, oaUInt4 startLevel=0, oaUInt4 stopLevel=100)
void query (oaDesign *topDesign, oaLayerNum layerNum, const oaBox &region, oaDist filterSize=0, oaUInt4 startLevel=0, oaUInt4 stopLevel=100)
void query (oaDesign *topDesign, oaLayerNum layerNum1, oaLayerNum layerNum2, const oaBox &region, oaDist filterSize=0, oaUInt4 startLevel=0, oaUInt4 stopLevel=100)
void query (oaDesign *topDesign, const oaBox &region, const oaTransform &xform, oaDist filterSize=0, oaUInt4 startLevel=0, oaUInt4 stopLevel=100)
void query (oaDesign *topDesign, oaLayerNum layerNum, const oaBox &region, const oaTransform &xform, oaDist filterSize=0, oaUInt4 startLevel=0, oaUInt4 stopLevel=100)
void query (oaDesign *topDesign, oaLayerNum layerNum1, oaLayerNum layerNum2, const oaBox &region, const oaTransform &xform, oaDist filterSize=0, oaUInt4 startLevel=0, oaUInt4 stopLevel=100)
virtual void queryVia (oaVia *via)=0

Detailed Description

The oaViaQuery class implements functionality to query a specified region in a design hierarchy and quickly return all oaVia that overlap the region.


Constructor & Destructor Documentation

oaViaQuery::oaViaQuery  
 

This is the constructor for the oaViaQuery class.


Member Function Documentation

oaLayerNum oaViaQuery::getLayerNum1   const
 

This function returns the first layer number associated with this via query.

oaLayerNum oaViaQuery::getLayerNum2   const
 

This function returns the second layer number associated with this via query.

void oaViaQuery::query oaDesign *    topDesign,
oaLayerNum    layerNum1,
oaLayerNum    layerNum2,
const oaBox &    region,
const oaTransform &    xform,
oaDist    filterSize = 0,
oaUInt4    startLevel = 0,
oaUInt4    stopLevel = 100
 

This function begins the query process to start generating vias in the specified region of the specified design hierarchy.

Parameters:
topDesign Pointer to the top design in which to perform the query.
layerNum1 Only query objects that have both of the specified layer numbers.
layerNum2 Only query objects that have both of the specified layer numbers.
region The region of interest.
xform The current transform that is applied to the design.
filterSize Only query objects whose size is equal to or larger than filterSize.
startLevel The level of block hierarchy to start the querying.
stopLevel The level of block hierarchy to stop the querying.

void oaViaQuery::query oaDesign *    topDesign,
oaLayerNum    layerNum,
const oaBox &    region,
const oaTransform &    xform,
oaDist    filterSize = 0,
oaUInt4    startLevel = 0,
oaUInt4    stopLevel = 100
 

This function begins the query process to start generating vias in the specified region of the specified design hierarchy.

Parameters:
topDesign Pointer to the top design in which to perform the query.
layerNum Only query objects that have this layer number.
region The region of interest.
xform The current transform that is applied to the design.
filterSize Only query objects whose size is equal to or larger than filterSize.
startLevel The level of block hierarchy to start the querying.
stopLevel The level of block hierarchy to stop the querying.

void oaViaQuery::query oaDesign *    topDesign,
const oaBox &    region,
const oaTransform &    xform,
oaDist    filterSize = 0,
oaUInt4    startLevel = 0,
oaUInt4    stopLevel = 100
 

This function begins the query process to start generating vias in the specified region of the specified design hierarchy.

Parameters:
topDesign Pointer to the top design in which to perform the query.
region The region of interest.
xform The transform that is currently applied to the design.
filterSize Only query objects whose size is equal to or larger than filterSize.
startLevel The level of block hierarchy to start the querying.
stopLevel The level of block hierarchy to end the querying.

void oaViaQuery::query oaDesign *    topDesign,
oaLayerNum    layerNum1,
oaLayerNum    layerNum2,
const oaBox &    region,
oaDist    filterSize = 0,
oaUInt4    startLevel = 0,
oaUInt4    stopLevel = 100
 

This function begins the query process to start generating vias in the specified region of the specified design hierarchy.

Parameters:
topDesign Pointer to the top design in which to perform the query.
layerNum1 Only query objects that have both of the specified layer numbers.
layerNum2 Only query objects that have both of the specified layer numbers.
region The region of interest.
filterSize Only query objects whose size is equal to or larger than filterSize.
startLevel The level of block hierarchy to start the querying.
stopLevel The level of block hierarchy to stop the querying.

void oaViaQuery::query oaDesign *    topDesign,
oaLayerNum    layerNum,
const oaBox &    region,
oaDist    filterSize = 0,
oaUInt4    startLevel = 0,
oaUInt4    stopLevel = 100
 

This function begins the query process to start generating vias in the specified region of the specified design hierarchy.

Parameters:
topDesign Pointer to the top design in which to perform the query.
layerNum Only query objects that have this layer number.
region The region of interest.
filterSize Only query objects whose size is equal to or larger than filterSize.
startLevel The level of block hierarchy to start the querying.
stopLevel The level of block hierarchy to stop the querying.

void oaViaQuery::query oaDesign *    topDesign,
const oaBox &    region,
oaDist    filterSize = 0,
oaUInt4    startLevel = 0,
oaUInt4    stopLevel = 100
 

This function begins the query process to start generating vias in the specified region of the specified design hierarchy.

Parameters:
topDesign Pointer to the top design in which to perform the query.
region The region of interest.
filterSize Only query objects whose size is equal to or larger than filterSize.
startLevel The level of block hierarchy to start the querying.
stopLevel The level of block hierarchy to end the querying.

void oaViaQuery::queryVia oaVia *    via [pure virtual]
 

This function processes each result of the via query.

Parameters:
via Pointer to an oaVia found during querying.


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

Return to top of page