oaDesignAttrType Class Reference

Inheritance diagram for oaDesignAttrType:

oaAttrType


Public Methods

 oaDesignAttrType (oaDesignAttrTypeEnum valueIn)
 oaDesignAttrType (const oaString &name)
 oaDesignAttrType (oaAttrType attr)
virtual const oaStringgetName () const
oaDesignAttrTypeEnum getValue () const

Detailed Description

The oaDesignAttrType class is an enum wrapper class for the different attributes of an oaDesign object that can be referenced by an oaAttrDisplay associated with an oaDesign or oaInstAttrDisplay.

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

enum oaDesignAttrTypeEnum
 

Enumeration values:
oacLibNameDesignAttrType  "libName"
oacCellNameDesignAttrType  "cellName"
oacViewNameDesignAttrType  "viewName"
oacCellTypeDesignAttrType  "cellType"
oacLastSavedTimeDesignAttrType  "lastSavedTime"


Constructor & Destructor Documentation

oaDesignAttrType::oaDesignAttrType oaDesignAttrTypeEnum    valueIn
 

This function constructs an instance of an oaDesignAttrType class using the specified oaDesignAttrTypeEnum value.

oaDesignAttrType::oaDesignAttrType const oaString &    name
 

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

Exceptions:
oacInvalidDesignAttrTypeName 

oaDesignAttrType::oaDesignAttrType oaAttrType    attr
 

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


Member Function Documentation

const oaString & oaDesignAttrType::getName   const [virtual]
 

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

oaDesignAttrTypeEnum oaDesignAttrType::getValue   const [inline]
 

This operator casts this oaDesignAttrType object into the corresponding oaDesignAttrTypeEnum value.


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

Return to top of page