Inheritance diagram for oaVectorName:
Public Methods | |
oaVectorName () | |
oaVectorName (const oaNameSpace &nSpace, const oaChar *in, oaUInt4 start, oaUInt4 stop, oaUInt4 step=1) | |
oaVectorName (const oaNameSpace &nSpace, const oaChar *in) | |
oaVectorName (const oaScalarName &in, oaUInt4 start, oaUInt4 stop, oaUInt4 step=1) | |
oaVectorName (const oaVectorName &in) | |
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 |
void | getBitName (const oaNameSpace &nSpace, oaUInt4 bit, oaString &out) const |
oaUInt4 | getNumBits () const |
oaUInt4 | getStart () const |
oaUInt4 | getStop () const |
oaUInt4 | getStep () const |
void | setStart (oaUInt4 val) |
void | setStop (oaUInt4 val) |
void | setStep (oaUInt4 val) |
oaVectorName & | operator= (const oaVectorName &name) |
oaBoolean | operator== (const oaVectorName &name) const |
oaBoolean | operator!= (const oaVectorName &name) const |
Friends | |
class | oaNameTbl |
In conjunction with the oaNameSpace objects, this class facilitates mapping names from one namespace to another. See the Name Mapping Section in the Programmers Guide for more information about mapping names between different namespaces.
An example of an oaVectorName in the oaVerilog namespace is test[3:0]
, where the base portion of this name is test
, and start index is 3, the stop index is 0, and the implied step value is 1.
|
This function constructs an empty oaVectorName object. |
|
This function constructs an oaVectorName object, evaluating the specified input string in the specified oaNameSpace. The input string is assumed to be the base portion of the name.
|
|
This function constructs an oaVectorName object, evaluating the specified input string in the specified oaNameSpace.
|
|
This function constructs an oaVectorName object using an oaScalarName that represents the base name of the vector, plus start, stop, and step values that represent the vector value of the name.
|
|
This function constructs a copy of the specified oaVectorName object.
|
|
This function returns this vector name, mapped into the oaNative nameSpace.
|
|
This function returns the vector name, mapped into the specified oaNameSpace. An oacVectorNameInvalid exception is thrown if the specified nameSpace does not support vectorNames. For information on the names supported in each nameSpace, see Details of OpenAccess Name Spaces.
|
|
This function returns the base portion of this name.
|
|
This function returns the base portion of this name, mapped into the oaNative nameSpace.
|
|
This function returns the base portion of this name, mapped into the specified oaNameSpace.
|
|
This function returns the bit value of this vector name, mapped into the specified oaNameSpace.
|
|
This function returns the number of bits this vector name represents. |
|
This function returns the start index for this oaVectorName. |
|
This function returns the step value for this oaVectorName. |
|
This function returns the stop index of this oaVectorName. |
|
This function allows reuse of the oaVectorName 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 vector name or as the entire name -- for example, with nSpace set to the oaVerilog namespace, baseOnly equal to true, and in specified as "abc[0:7:1]".
|
|
This function compares the specified oaVectorName object with this oaVectorName object. If the two oaVectorName objects are the same, this function returns false; otherwise, this function returns true.
|
|
This function is the assignment operator that copies the specified oaVectorName 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 oaVectorName object with this oaVectorName object. If the two oaVectorName objects are the same, this function returns true; otherwise, this function returns false.
|
|
This function sets the start index for this vector name to the specified value.
|
|
This function sets the step value for this vector name to the specified value.
|
|
This function sets the stop index for this vector name to the specified value.
|
|
Reimplemented from oaNameBase. |
Copyright © 2002 - 2010 Cadence Design Systems, Inc.
All Rights Reserved.