Inheritance diagram for oaNameBase:
Public Methods | |
oaNameBase () | |
~oaNameBase () | |
oaBoolean | isHier () const |
oaBoolean | isEmpty () const |
oaUInt4 | getNumMembers () const |
const oaNameMem & | operator[] (oaUInt4 i) const |
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) |
Protected Methods | |
oaUInt4 | getSize () const |
void | resize (oaUInt4 newSize) |
void | truncate () |
Friends | |
class | oaNameTbl |
|
This function creates an empty oaNameBase object. |
|
This function destroys this oaNameBase object and all of its associated data. |
|
This function adds a hierarchical member to this name, inserting a copy of in after the existing members that represent a partial hierarchical path, and before the last member, which represents the local name. An exception is thrown if this name is empty.
|
|
This function adds the given string as a member of the hierarchical portion of this name. An exception is thrown if this name is empty. 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 this name. An exception is thrown if this name is empty.
|
|
This function prepends a hierarchical path to this name. An exception is thrown if this name is empty.
|
|
This function returns the number of members in this oaNameBase object. A name will have more than one member if it has hierarchical delimiters. |
|
This function returns the number of oaNameMem objects allocated for this oaNameBase object. |
|
This function returns a boolean value that indicates if this oaNameBase object is empty. |
|
This function returns a boolean value that indicates if this oaNameBase object is hierarchical (has more than one name member). |
|
This function implements the index operator for this oaNameBase object, returning the name member at position i. You cannot modify the name member. |
|
This function resizes the size of the storage in this oaNameBase object to newSize oaNameMembers. |
|
This function sets the number of name members to zero, truncating the name. |
|
Reimplemented in oaScalarName, oaVectorBitName, and oaVectorName. |
Copyright © 2002 - 2010 Cadence Design Systems, Inc.
All Rights Reserved.