Inheritance diagram for oaVectorBitName:
Public Methods | |
oaVectorBitName () | |
oaVectorBitName (const oaNameSpace &nSpace, const oaChar *in) | |
oaVectorBitName (const oaNameSpace &nSpace, const oaChar *in, oaUInt4 index) | |
oaVectorBitName (const oaScalarName &in, oaUInt4 index) | |
oaVectorBitName (const oaVectorBitName &name) | |
void | init (const oaNameSpace &nSpace, const oaChar *in, oaBoolean baseOnly=false) |
void | get (const oaNameSpace &nSpace, oaString &out) const |
void | get (oaString &out) const |
void | getBaseName (const oaNameSpace &nSpace, oaString &out) const |
void | getBaseName (oaString &out) const |
void | getBaseName (oaScalarName &out) const |
oaUInt4 | getIndex () const |
oaUInt4 | getNumBits () const |
void | setIndex (oaUInt4 val) |
oaVectorBitName & | operator= (const oaVectorBitName &name) |
oaBoolean | operator== (const oaVectorBitName &name) const |
oaBoolean | operator!= (const oaVectorBitName &name) const |
Friends | |
class | oaNameTbl |
A vector bit name has a base name and an index. An example of an oaVectorBitName in the Verilog namespace is test[3]
, where the base name is test
and the index is 3
.
|
This function constructs an empty oaVectorBitName object. |
|
This function constructs an oaVectorBitName object, evaluating the specified input string in the specified nameSpace.
|
|
This function constructs an oaVectorBitName object, evaluating the specified input string in the specified nameSpace. The input string is assumed to be the base portion of the name.
|
|
This function constructs an oaVectorBitName object by accepting an oaScalarName that represents the base name of the vector bit, plus an index that represents the bit value of the name.
|
|
This function constructs a copy of the specified oaVectorBitName object. |
|
This function returns this name mapped into the oaNative nameSpace.
|
|
This function returns this name mapped into the specified nameSpace.
|
|
This function returns the base value of this name.
|
|
This function returns the base value of this name mapped into the oaNative nameSpace.
|
|
This function returns the base value of this name mapped into the specified nameSpace.
|
|
This function returns the bit index of this vectorbit name. |
|
This function returns the number of bits this name represents. |
|
This function allows reuse of the oaVectorBitName object in order to improve application performance and capacity. This function initializes the name by clearing any previously stored name data, then re-initializing its value to the string specified by in, evaluating the string in the specified namespace. The optional boolean argument baseOnly indicates if the input name is interpreted as the base portion of the vectorbit name or as the entire name -- for example, with nSpace set to the oaVerilog namespace, baseOnly equal to true, and in specified as "abc[3]".
|
|
This function compares the specified oaVectorBitName object with this oaVectorBitName object. If the two oaVectorBitName objects are the same, this function returns false; otherwise, this function returns true.
|
|
This function is the assignment operator that copies the specified oaVectorBitName object and returns it. The function copies all member data so the duplicate does not rely on information from the original. |
|
This function compares the specified oaVectorBitName object with this oaVectorBitName object. If the two oaVectorBitName objects are the same, this function returns true; otherwise, this function returns false.
|
|
This function sets the bit value for this oaVectorBitName to the specified value. |
|
Reimplemented from oaNameBase. |
Copyright © 2002 - 2010 Cadence Design Systems, Inc.
All Rights Reserved.