oaRef Class Reference

Inheritance diagram for oaRef:

oaPinFig oaConnFig oaFig oaBlockObject oaDesignObject oaObject oaInst oaVia oaBitInst oaVectorInst oaCustomVia oaStdVia oaArrayInst oaScalarInst oaVectorInstBit


Public Methods

oaRefHeadergetHeader () const
oaDesigngetMaster () const
void getOrigin (oaPoint &origin) const
oaOrient getOrient () const
void getTransform (oaTransform &xform) const
oaBoolean isBound () const
void setOrigin (const oaPoint &origin)
void setOrient (oaOrient orient)
void setTransform (const oaTransform &xform)

Detailed Description

This file contains the definition for the oaRef class. This is an abstract base for all types of instances and vias. It implements the functionality common to the two derived classes: oaInst and oaVia.


Member Function Documentation

oaRefHeader * oaRef::getHeader   const
 

This function returns the header for this reference.

Reimplemented in oaInst, oaVia, oaStdVia, and oaCustomVia.

oaDesign * oaRef::getMaster   const
 

This function returns the master for this reference. If the reference cannot be bound to a master, a NULL pointer is returned.

oaOrient oaRef::getOrient   const
 

This function returns the orientation of this reference.

void oaRef::getOrigin oaPoint &    origin const
 

This function fills out 'origin' with the origin of this reference.

Parameters:
origin The origin of this ref object

void oaRef::getTransform oaTransform &    xform const
 

This function fills out 'xform' with the transform of this reference.

Parameters:
xform The transform of this ref object

oaBoolean oaRef::isBound   const
 

This function returns a boolean indicating whether or not this reference is bound.

void oaRef::setOrient oaOrient    orient
 

This function sets the orientation for this ref object.

Parameters:
orient The orientation to be set to this ref object

void oaRef::setOrigin const oaPoint &    origin
 

This function sets the origin value for this ref object.

Parameters:
origin The origin to be set to this ref object

void oaRef::setTransform const oaTransform &    xform
 

This function sets the transform for this ref object.

Parameters:
xform The transform value to be set for this ref object


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

Return to top of page