oaModAssignAssignment Class Reference

Inheritance diagram for oaModAssignAssignment:

oaModAssignment oaModObject oaDesignObject oaObject


Public Methods

void getAssignmentDef (oaAssignmentDef &aDef) const
void setAssignmentDef (const oaAssignmentDef &aDef)

Static Public Methods

oaModAssignAssignment * create (const oaModInst *inst, const oaString &name, const oaAssignmentDef &aDef)

Detailed Description

The oaModAssignAssignment class implements a connection assignment that specifies assignment definition values to replace those specified in a corresponding oaModConnectDef or a previously encountered oaModAssignAssignment. Applications interpreting the connectivity continue searching up the design hierarchy for a connection assignment with the name specified in the oaModAssignAssignment. If none is found, the assignment value is the default net name.

This type of connection assignment is useful for integrating a block of intellectual property that contain connection definition. An oaModAssignAssignment can be used to insure that connectivity traversal applications search for connection assignments consistently in the entire design hierarchy.


Member Function Documentation

oaModAssignAssignment * oaModAssignAssignment::create const oaModInst *    inst,
const oaString &    name,
const oaAssignmentDef &    assignmentDef
[static]
 

This function creates an oaModAssignAssignment with the specified attributes on the given instance.

Parameters:
inst The instance on which to create the connection assignment
name The name to give to this assignment. This name should correspond to the lookup name specified in the assignment definition of an oaModNetConnectDef or oaModTermConnectDef object.
assignmentDef Specifies the assignment definition values to replace those of a corresponding oaModNetConnectDef or oaModTermConnectDef object.
Exceptions:
oacInstHasAssignment 
oacInvalidAssignmentDef 

void oaModAssignAssignment::getAssignmentDef oaAssignmentDef &    assignmentDef const
 

This function retrieves the data associated with this assignment and returns it in the assignmentDef argument.

void oaModAssignAssignment::setAssignmentDef const oaAssignmentDef &    assignmentDef
 

This function sets the data for this assignment from the specified assignmentDef.

Exceptions:
oacInvalidAssignmentDef 


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

Return to top of page