oaSimpleConstraintType Class Reference


Public Methods

 oaSimpleConstraintType (oaSimpleConstraintTypeEnum typeIn)
 oaSimpleConstraintType (const oaString &name)
 ~oaSimpleConstraintType ()
const oaStringgetName () const
 operator oaSimpleConstraintTypeEnum () const

Static Public Methods

void validate (oaSimpleConstraintTypeEnum typeIn)

Detailed Description

The oaSimpleConstraintType class is an enum wrapper class for oaSimpleConstraintTypeEnum values.

See Enum Wrappers in the Programmers Guide for a discussion of enum wrappers.

enum oaSimpleConstraintTypeEnum
 

Enumeration values:
oacValidRoutingLayers  "validRoutingLayers"
oacValidRoutingVias  "validRoutingVias"
oacCumMetalAntenna  "cumulativeMetalAntenna"
oacCumViaAntenna  "cumulativeViaAntenna"
oacViaStackLimit  "viaStackLimit"
oacHorizontalPlacementGridPitch  "horizontalPlacementGridPitch"
oacHorizontalPlacementGridOffset  "horizontalPlacementGridOffset"
oacVerticalPlacementGridPitch  "verticalPlacementGridPitch"
oacVerticalPlacementGridOffset  "verticalPlacementGridOffset"
oacDefaultHorizontalRouteGridPitch  "oaDefaultHorizontalRouteGridPitch"
oacDefaultVerticalRouteGridPitch  "oaDefaultVerticalRouteGridPitch"
oacDefault135RouteGridPitch  "oaDefault135RouteGridPitch"
oacDefault45RouteGridPitch  "oaDefault45RouteGridPitch"
oacDefaultHorizontalRouteGridOffset  "oaDefaultHorizontalRouteGridOffset"
oacDefaultVerticalRouteGridOffset  "oaDefaultVerticalRouteGridOffset"
oacDefault135RouteGridOffset  "oaDefault135RouteGridOffset"
oacDefault45RouteGridOffset  "oaDefault45RouteGridOffset"
oacTaperHalo  "oaTaperHalo"
oacShapeAngle  "oaShapeAngle"
oacUseNonOrthogonalRoutingRules  "oaUseNonOrthogonalRoutingRules"
oacMaxFloatingArea  "maxFloatingArea"


Constructor & Destructor Documentation

oaSimpleConstraintType::oaSimpleConstraintType oaSimpleConstraintTypeEnum    typeIn [inline]
 

This function constructs an instance of an oaSimpleConstraintType class using the specified oaSimpleConstraintTypeEnum value.

Parameters:
typeIn The simple constraint type.

oaSimpleConstraintType::oaSimpleConstraintType const oaString &    name
 

This function creates an instance of an oaSimpleConstraintType class using the oaSimpleConstraintTypeEnum associated with the specified string name. This name must be defined in the legal set of names associated with oaSimpleConstraintTypeEnum.

Parameters:
name The name of a simple constraint type.
Exceptions:
oacInvalidSimpleConstraintTypeName 

oaSimpleConstraintType::~oaSimpleConstraintType   [inline]
 

This function destroys this oaSimpleConstraintType instance.


Member Function Documentation

const oaString & oaSimpleConstraintType::getName   const
 

This function returns the name associated with the encapsulated oaSimpleConstraintTypeEnum object.

oaSimpleConstraintType::operator oaSimpleConstraintTypeEnum   const [inline]
 

This operator casts this oaSimpleConstraintType object into the corresponding oaSimpleConstraintTypeEnum.

void oaSimpleConstraintType::validate oaSimpleConstraintTypeEnum    typeIn [static]
 

This function validates typeIn, the constraint type passed to this static function. If the value is invalid (not in the range of valid oaSimpleConstraintTypeEnum values), an oacInvalidSimpleConstraintType exception is thrown.

Parameters:
typeIn an oaSimpleConstraintTypeEnum value
Exceptions:
oacInvalidSimpleConstraintType 


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

Return to top of page