Public Methods | |
oaBundleName () | |
oaBundleName (const oaNameSpace &nSpace, const oaChar *in) | |
oaBundleName (const oaScalarName &in, oaUInt4 repeat=1) | |
oaBundleName (const oaVectorName &in, oaUInt4 repeat=1) | |
oaBundleName (const oaVectorBitName &in, oaUInt4 repeat=1) | |
oaBundleName (const oaSimpleName &in, oaUInt4 repeat=1) | |
oaBundleName (const oaBundleName &in) | |
~oaBundleName () | |
void | init (const oaNameSpace &nSpace, const oaChar *in) |
void | get (const oaNameSpace &nSpace, oaString &out) const |
void | get (oaString &out) const |
void | getBitName (const oaNameSpace &nSpace, oaUInt4 bit, oaString &out) const |
void | append (const oaScalarName &name, oaUInt4 repeat=1) |
void | append (const oaVectorName &name, oaUInt4 repeat=1) |
void | append (const oaVectorBitName &name, oaUInt4 repeat=1) |
void | append (const oaSimpleName &name, oaUInt4 repeat=1) |
void | addHierPath (const oaScalarName &path) |
void | addHierPath (const oaVectorBitName &path) |
void | addHierMem (const oaNameSpace &nSpace, const oaChar *in, oaUInt4 len) |
void | addHierMem (const oaNameMem &in) |
oaBoolean | isEmpty () const |
oaUInt4 | getNumMembers () const |
oaUInt4 | getNumBits () const |
oaUInt4 | getSize () const |
void | resize (oaUInt4 newSize) |
oaBundleName & | operator= (const oaBundleName &name) |
const oaSimpleName & | operator[] (oaUInt4 i) const |
oaBoolean | operator== (const oaBundleName &name) const |
oaBoolean | operator!= (const oaBundleName &name) const |
Friends | |
class | oaNameTbl |
class | oaCdbaNS |
Only oaNets and oaTerminals can have bundle names. Only the CDBA and Native namespaces have a syntax for representing bundle names.
A repeat operator used in a bundle name indicates the number of times to repeat the following name. An example of a bundled name in the CDBA name space is: <*2>A,B<1:0>,C
which expands to A,A,B<1>,B<0>,C
|
This function constructs an empty oaBundleName object. |
|
This function constructs an oaBundleName object, evaluating the specified input string in the specified name space.
|
|
This function constructs an oaBundleName object that contains the specified oaScalarName as the first bundle member. The optional repeat argument indicates the initial repeat value for the input member. The default value for the repeat argument is one.
|
|
This function constructs an oaBundleName object that contains the specified oaVectorName as the first bundle member. The optional repeat argument indicates the initial repeat value for the input member. The default value for the repeat argument is one.
|
|
This function constructs an oaBundleName object that contains the specified oaVectorBitName as the first bundle member. The optional repeat argument indicates the initial repeat value for the input member. The default value for the repeat argument is one.
|
|
This function constructs an oaBundleName object that contains the specified oaSimpleName as the first bundle member. The optional repeat argument indicates the initial repeat value for the input member. The default value for the repeat argument is one.
|
|
This function creates a copy of the specified oaBundleName object. |
|
This function destroys this oaBundleName object and all associated data. |
|
This function adds a hierarchical nameMem to each of the bundle members of this name. For each bundle member, this function inserts a copy of in after the existing nameMems that represent the hierarchical path for the bundle member, and before the last nameMem, which represents the local name. An exception is thrown if this name is empty.
|
|
This function adds the given string as a nameMem to the hierarchical portion of the name for each of the members of this bundle name. For each bundle member, the nameMem is inserted after the existing hierarchical nameMems and before the last nameMem, which represents the local name of the bundle member. The in string must not contain any hierarchy delimiters. Only len characters of in are considered. An exception is thrown if this name is empty.
|
|
This function prepends a hierarchical path to each of the bundle members of this name. An exception is thrown if this name is empty.
|
|
This function prepends a hierarchical path to each of the bundle members of this name. An exception is thrown if this name is empty.
|
|
This function appends the specified oaSimpleName object to this oaBundleName object. The optional repeat argument indicates the initial repeat value for the input member. The default value for the repeat argument is one. If the current size of the bundle name object is not large enough to fit the additional member, this function will resize the bundle name object as needed.
If you plan to append to a bundle name object using a member of the same bundle name object, you must first check to make sure that the size of the bundle name is large enough to fit the additional member. If not, you must resize the bundle name before calling append(). Otherwise, the result of append() may be incorrect. For example, you may want to call append with
|
|
This function appends the specified oaVectorBitName object to this oaBundleName object. The optional repeat argument indicates the initial repeat value for the input member. The default value for the repeat argument is one. If the current size of the bundle name object is not large enough to fit the additional member, this function will resize the bundle name object as needed.
If you plan to append to a bundle name object using a member of the same bundle name object, you must first check to make sure that the size of the bundle name is large enough to fit the additional member. If not, you must resize the bundle name before calling append(). Otherwise, the result of append() may be incorrect. For example, you may want to call append with
|
|
This function appends the specified oaVectorName object to this oaBundleName object. The optional repeat argument indicates the initial repeat value for the input member. The default value for the repeat argument is one. If the current size of the bundle name object is not large enough to fit the additional member, this function will resize the bundle name object as needed.
If you plan to append to a bundle name object using a member of the same bundle name object, you must first check to make sure that the size of the bundle name is large enough to fit the additional member. If not, you must resize the bundle name before calling append(). Otherwise, the result of append() may be incorrect. For example, you may want to call append with
|
|
This function appends the specified oaScalarName object to this oaBundleName object. The optional repeat argument indicates the initial repeat value for the input member. The default value for the repeat argument is one.
If you plan to append to a bundle name object using a member of the same bundle name object, you must first check the size of the bundle name and resize the bundle name if necessary, before calling append(). For example, you may want to call append with
|
|
This function returns this name mapped into the oaNative name space.
|
|
This function returns this name mapped into the specified name space. An oacBundleNameInvalid exception is thrown if the specified nameSpace does not support bundleNames. For information on the names supported in each nameSpace, see Details of OpenAccess Name Spaces.
|
|
This function returns the bit name of this oaBundleName, mapped into the specified oaNameSpace.
|
|
This function returns the number of bits this name represents. Example: Assume an oaBundlename constructed with the oaNativeNS string "2*U,V[2],V[4:5]". oaBundleName::getNumBits will return 5. |
|
This function returns the number of bundle members in this oaBundleName object. Example: Assume an oaBundlename constructed with the oaCdbaNS string "a,2*b,c<5:0>". oaBundleName::getNumMembers will return 3. |
|
This function returns the size of this oaBundleName object, which indicates the number of oaSimpleName objects. |
|
This function clears old name data, then initializes its value to the string in, evaluated in the specified name space.
|
|
This function returns an boolean value that indicates if this oaBundleName object contains any bundle members. |
|
This function compares the specified oaBundleName object with this oaBundleName object. If the two oaBundleName objects are the same, this function returns false; otherwise, this function returns true.
|
|
This function is the assignment operator that copies the specified oaBundleName 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 oaBundleName object with this oaBundleName object. If the two oaBundleName objects are the same, this function returns true; otherwise, this function returns false.
|
|
This function returns an oaSimpleName object that represents the specified bundle member of this oaBundleName.
|
|
This function resizes the size of the storage in this bundle to newSize, which is the number of oaSimpleName objects. |
|
|
|
|
Copyright © 2002 - 2010 Cadence Design Systems, Inc.
All Rights Reserved.