oaInstAttrType Class Reference

Inheritance diagram for oaInstAttrType:

oaAttrType


Public Methods

 oaInstAttrType (oaInstAttrTypeEnum valueIn)
 oaInstAttrType (const oaString &name)
 oaInstAttrType (oaAttrType attr)
virtual const oaStringgetName () const
oaInstAttrTypeEnum getValue () const

Detailed Description

The oaInstAttrType class is an enum wrapper that specifies the various attributes of an instance that can be displayed by an oaAttrDisplay associated with an instance.

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

enum oaInstAttrTypeEnum
 

Enumeration values:
oacLibNameInstAttrType  "libName"
oacCellNameInstAttrType  "cellName"
oacViewNameInstAttrType  "viewName"
oacNameInstAttrType  "name"
oacNumBitsInstAttrType  "numBits"
oacIsBoundInstAttrType  "isBound"


Constructor & Destructor Documentation

oaInstAttrType::oaInstAttrType oaInstAttrTypeEnum    valueIn
 

This function constructs an instance of an oaInstAttrType class using the specified oaInstAttrTypeEnum value.

oaInstAttrType::oaInstAttrType const oaString &    name
 

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

Exceptions:
oacInvalidInstAttrTypeName 

oaInstAttrType::oaInstAttrType oaAttrType    attr
 

This function constructs an oaInstAttrType class using the oaAttrType as input to support the class down-cast.

Parameters:
attr The attribute type to use


Member Function Documentation

const oaString & oaInstAttrType::getName   const [virtual]
 

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

oaInstAttrTypeEnum oaInstAttrType::getValue   const [inline]
 

This function returns the value string of this instance attribute type.


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

Return to top of page