oaAssignAssignment Class Reference

Inheritance diagram for oaAssignAssignment:

oaAssignment oaBlockObject oaDesignObject oaObject


Public Methods

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

Static Public Methods

oaAssignAssignment * create (const oaInst *inst, const oaString &name, const oaAssignmentDef &aDef)

Detailed Description

The oaAssignAssignment class implements a connection assignment that specifies assignment definition values to replace those specified in a corresponding oaConnectDef or a previously encountered oaAssignAssignment. Applications interpreting the connectivity continue searching up the design hierarchy for a connection assignment with the name specified in the oaAssignAssignment. 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 oaAssignAssignment can be used to insure that connectivity traversal applications search for connection assignments consistently in the entire design hierarchy.


Member Function Documentation

oaAssignAssignment * oaAssignAssignment::create const oaInst *    inst,
const oaString &    name,
const oaAssignmentDef &    assignmentDef
[static]
 

This function creates an oaAssignAssignment 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 oaNetConnectDef or oaTermConnectDef object.
assignmentDef Specifies the assignment definition values to replace those of a corresponding oaNetConnectDef or oaTermConnectDef object.
Exceptions:
oacInstHasAssignment 
oacInvalidAssignmentDef 

void oaAssignAssignment::getAssignmentDef oaAssignmentDef &    assignmentDef const
 

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

void oaAssignAssignment::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