oaOccArrayInst Class Reference

Inheritance diagram for oaOccArrayInst:

oaOccBitInst oaOccDesignInst oaOccInst oaOccObject oaDesignObject oaObject


Public Methods

void getName (oaScalarName &name) const
void getPathName (oaScalarName &pathName) const
oaArrayInstgetInst () const
void getName (oaSimpleName &name) const
void getName (const oaNameSpace &ns, oaString &name) const
void getPathName (oaSimpleName &pathName) const
void getPathName (const oaNameSpace &ns, oaString &pathName) const

Static Public Methods

oaOccArrayInst * find (const oaOccurrence *occurrence, const oaScalarName &name)

Detailed Description

The oaOccArrayInst class implements an occurrence of an oaArrayInst database object that represents an array of instances of one master design in the occurrence domain.


Member Function Documentation

oaOccArrayInst * oaOccArrayInst::find const oaOccurrence *    occurrence,
const oaScalarName &    name
[static]
 

This function searches the specified occurrence for an arrayInst with the specified name. If name is hierarchical, then this function will descend into lower levels of occurrence hierarchy, expanding the hierarchy and binding the master designs as needed. The arrayInst is returned if found, otherwise NULL is returned.

Parameters:
occurrence The occurrence in which to search
name The name of the arrayInst to find
Returns:
A pointer to the oaOccArrayInst

oaArrayInst* oaOccArrayInst::getInst   const
 

This function returns the corresponding instance in the block domain. NULL will be returned if the master design for this instance does not have a top block.

Returns:
A pointer to an oaInst

Reimplemented from oaOccInst.

void oaOccInst::getName const oaNameSpace &    ns,
oaString &    name
const
 

This function fills out name with the name of this instance. The name is mapped according to the specified nameSpace.

Parameters:
ns The nameSpace used to map the name
name The returned instance name

void oaOccInst::getName oaSimpleName &    name const
 

This function fills out name with the name of this instance.

Parameters:
name The returned instance name

void oaOccArrayInst::getName oaScalarName &    name const
 

This function returns the local name of this arrayInst in the specified name object. The name is relative to the parent occurrence of this arrayInst.

Parameters:
name The returned instance name

void oaOccInst::getPathName const oaNameSpace &    ns,
oaString &    pathName
const
 

This function returns the full path name of this instance in the specified nameSpace in the specified pathName string. The pathName is relative to the top occurrence in the occurrence hierarchy containing this instance.

Parameters:
ns The nameSpace in which to return the name
pathName The path name of the instance

void oaOccInst::getPathName oaSimpleName &    pathName const
 

This function fills out pathName with the full path name of this instance, relative to the top occurrence in the occurrence hierarchy containing this instance.

Parameters:
pathName The path name of the instance

void oaOccArrayInst::getPathName oaScalarName &    pathName const
 

This function returns the full path name of this arrayInst, relative to the top occurrence in the occurrence hierarchy containing this arrayInst.

Parameters:
pathName The returned path name


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

Return to top of page