oaConnectivityType Class Reference


Public Methods

 oaConnectivityType (oaConnectivityTypeEnum typeIn)
 oaConnectivityType (const oaString &name)
 ~oaConnectivityType ()
const oaStringgetName () const
 operator oaConnectivityTypeEnum () const

Detailed Description

The oaConnectivityType class is an enum wrapper class for oaConnectivityTypeEnum values.

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

enum oaConnectivityTypeEnum
 

Enumeration values:
oacAnyConnectivityType  "anyConnectivityType"
oacSameNetConnectivityType  "sameNetConnectivityType"
oacContiguousShapesConnectivityType  "contiguousShapesConnectivityType"
oacDirectShapesConnectivityType  "directShapesConnectivityType"
oacSameViaConnectivityType  "sameViaConnectivityType"


Constructor & Destructor Documentation

oaConnectivityType::oaConnectivityType oaConnectivityTypeEnum    typeIn [inline]
 

This function constructs an oaConnectivityType object taking an oaConnectivityTypeEnum as input.

Parameters:
typeIn an oaConnectivityTypeEnum

oaConnectivityType::oaConnectivityType const oaString &    name
 

This function constructs an oaConnectivityType object taking a string name as input. The name must be in the legal set of names associated with an oaConnectivityTypeEnum.

Parameters:
name Name of an oaConnectivityTypeEnum
Exceptions:
oacInvalidConnectivityTypeName 

oaConnectivityType::~oaConnectivityType   [inline]
 

This function destroys this oaConnectivityType object.


Member Function Documentation

const oaString & oaConnectivityType::getName   const
 

This function returns the string name of the oaConnectivityTypeEnum value associated with this oaConnectivityType object.

oaConnectivityType::operator oaConnectivityTypeEnum   const [inline]
 

This function casts this oaConnectivityType object into the corresponding oaConnectivityTypeEnum value.


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

Return to top of page