oaMaterial Class Reference


Public Methods

 oaMaterial (oaMaterialEnum valueIn)
 oaMaterial (const oaString &name)
 ~oaMaterial ()
const oaStringgetName () const
 operator oaMaterialEnum () const

Detailed Description

The oaMaterial class is an enum wrapper class that classifies the types of physical layers on a chip by what fundamental electrical purpose they serve. See oaPhysicalLayer::create for its usage.

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

enum oaMaterialEnum
 

Enumeration values:
oacOtherMaterial  "other"   The material for this layer is not specified
oacNWellMaterial  "nWell"
oacPWellMaterial  "pWell"
oacNDiffMaterial  "nDiff"
oacPDiffMaterial  "pDiff"
oacNImplantMaterial  "nImplant"
oacPImplantMaterial  "pImplant"
oacPolyMaterial  "poly"
oacCutMaterial  "cut"
oacMetalMaterial  "metal"
oacContactlessMetalMaterial  "contactlessMetal"   Local interconnect layer on the poly level that connects to poly and diffusion without a contact.
oacDiffMaterial  "diffusion"
oacRecognitionMaterial  "recognition"
oacPassivationCutMaterial  "passivationCut"


Constructor & Destructor Documentation

oaMaterial::oaMaterial oaMaterialEnum    valueIn [inline]
 

This function constructs an instance of an oaMaterial class using the specified oaMaterialEnum value.

oaMaterial::oaMaterial const oaString &    name
 

This function constructs an instance of an oaMaterial class using the oaMaterialEnum associated with the specified string name. This name must be defined in the legal set of names associated with oaMaterialEnum.

Exceptions:
oacInvalidMaterialName 

oaMaterial::~oaMaterial   [inline]
 

This function destroys this oaMaterial instance.


Member Function Documentation

const oaString & oaMaterial::getName   const
 

This function returns the name string associated with the encapsulated oaMaterialEnum object.

oaMaterial::operator oaMaterialEnum   const [inline]
 

This operator casts this oaMaterial object into the corresponding oaMaterialEnum value.


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

Return to top of page