oaScalarSiteDef Class Reference

Inheritance diagram for oaScalarSiteDef:

oaSiteDef oaTechObject oaObject


Public Methods

void setWidth (oaUInt4 width)
void setHeight (oaUInt4 height)

Static Public Methods

oaScalarSiteDef * create (oaTech *tech, const oaString &name, oaSiteDefType type, oaUInt4 width, oaUInt4 height, oaBoolean isSymmetricInX=false, oaBoolean isSymmetricInY=false, oaBoolean isSymmetricInRot=false)

Detailed Description

The oaScalarSiteDef class defines a site where you can place cells in a row. A site A scalar site has width and height information, as well as the type and symmetry information inherited from oaSiteDef.


Member Function Documentation

oaScalarSiteDef * oaScalarSiteDef::create oaTech *    tech,
const oaString &    name,
oaSiteDefType    type,
oaUInt4    width,
oaUInt4    height,
oaBoolean    isSymmetricInX = false,
oaBoolean    isSymmetricInY = false,
oaBoolean    isSymmetricInRot = false
[static]
 

This function creates an oaScalarSiteDef object in the specified technology database with the specified attributes.

Parameters:
tech The technology database in which to create the siteDef
name The name of the siteDef to create
type The type of siteDef to create
width The width of the siteDef to create
height The height of the siteDef to create
isSymmetricInX The X symmetry of the siteDef to create
isSymmetricInY The Y symmetry of the siteDef to create
isSymmetricInRot The rotation symmetry of the siteDef to create
Exceptions:
oacSiteDefExists 

void oaScalarSiteDef::setHeight oaUInt4    height
 

This function sets the height of the siteDef.

void oaScalarSiteDef::setWidth oaUInt4    width
 

This function sets the width of the siteDef.


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

Return to top of page