oaOccModuleScalarInst Class Reference

Inheritance diagram for oaOccModuleScalarInst:

oaOccModuleBitInst oaOccModuleInst oaOccInst oaOccObject oaDesignObject oaObject


Public Methods

oaModModuleScalarInstgetModInst () const
void getName (oaScalarName &name) const
void getPathName (oaScalarName &pathName) 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

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

Detailed Description

The oaOccModuleScalarInst class implements a occurence scalar (single-bit) instance. oaOccScalarInst objects refer to master module and are always in the occurrence domain.


Member Function Documentation

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

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

Returns:
A pointer to an oaOccModuleScalarInst

oaModModuleScalarInst * oaOccModuleScalarInst::getModInst   const
 

This function returns the corresponding module instance in the module domain.

Returns:
The oaModModuleScalarInst pointer

Reimplemented from oaOccModuleInst.

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 oaOccModuleScalarInst::getName oaScalarName &    name const
 

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

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 oaOccModuleScalarInst::getPathName oaScalarName &    pathName const
 

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

Parameters:
pathName The returned path name


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

Return to top of page