oaSource Class Reference


Public Methods

 oaSource (oaSourceEnum valueIn)
 oaSource (const oaString &name)
 ~oaSource ()
const oaStringgetName () const
 operator oaSourceEnum () const

Detailed Description

The oaSource class encapsulates the enumerated values that describe the different sources you can assign to an instance or a net.

enum oaSourceEnum
 

Enumeration values:
oacNetlistSource  "netlist"
oacTimingSource  "timing"
oacDistSource  "dist"
oacTestSource  "test"
oacUserSource  "user"


Constructor & Destructor Documentation

oaSource::oaSource oaSourceEnum    valueIn [inline]
 

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

oaSource::oaSource const oaString &    name
 

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

Exceptions:
oacInvalidSourceName 

oaSource::~oaSource   [inline]
 

This function destroys this oaSource class.


Member Function Documentation

const oaString & oaSource::getName   const
 

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

oaSource::operator oaSourceEnum   const [inline]
 

This operator casts this oaSource object into the corresponding oaSourceEnum value.


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

Return to top of page