oaNetAttrType Class Reference

Inheritance diagram for oaNetAttrType:

oaAttrType


Public Methods

 oaNetAttrType (oaNetAttrTypeEnum valueIn)
 oaNetAttrType (const oaString &name)
 oaNetAttrType (oaAttrType attr)
virtual const oaStringgetName () const
oaNetAttrTypeEnum getValue () const

Detailed Description

The oaNetAttrType class is an enum wrapper class that represents the different attributes of an oaNet object that can be displayed by an oaAttrDisplay object associated with a net.

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

enum oaNetAttrTypeEnum
 

Enumeration values:
oacNameNetAttrType  "name"
oacSigTypeNetAttrType  "sigType"
oacIsGlobalNetAttrType  "isGlobal"
oacIsImplicitNetAttrType  "isImplicit"
oacIsEmptyNetAttrType  "isEmpty"
oacNumBitsNetAttrType  "numBits"


Constructor & Destructor Documentation

oaNetAttrType::oaNetAttrType oaNetAttrTypeEnum    valueIn [inline]
 

This function constructs an instance of an oaNetAttrType class using the specified enum value. The enum values are defined in oaNetAttrTypeEnum.

oaNetAttrType::oaNetAttrType const oaString &    name
 

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

Exceptions:
oacInvalidNetAttrTypeName 

oaNetAttrType::oaNetAttrType oaAttrType    attr
 

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

Parameters:
attr The attribute type to use


Member Function Documentation

const oaString & oaNetAttrType::getName   const [virtual]
 

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

oaNetAttrTypeEnum oaNetAttrType::getValue   const [inline]
 

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


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

Return to top of page