Inheritance diagram for oaLibDef:
Public Methods | |
void | getLibName (oaScalarName &libName) const |
void | getLibPath (oaString &path) const |
void | getLibWritePath (oaString &writePath) const |
void | setLibWritePath (const oaString &writePath) |
oaLibMode | getLibMode () const |
void | setLibMode (oaLibMode libMode) |
void | getLibAttributes (oaDMAttrArray &attrs) const |
void | addLibAttribute (const oaString &attrName, const oaString &attrVal) |
void | removeLibAttribute (const oaString &attrName) |
Static Public Methods | |
oaLibDef * | create (oaLibDefList *defList, const oaScalarName &libName, const oaString &libPath, const oaString &writePath="", oaLibMode libMode=oacSharedLibMode, const oaDMAttrArray *libAttrs=NULL, oaLibDefListMem *followingMem=NULL) |
oaLibDef * | find (const oaLibDefList *defList, const oaScalarName &libName) |
|
This function adds a new library attribute to this oaLibDef object. The attribute is a name/value pair. If an attribute with the provided name already exists, it is overwritten.
|
|
This function creates an oaLibDef object and places it in the specified defList with the specified parameters. The libDef will be positioned in the owning defList before the followingMem if it is specified; otherwise it will positioned at the end of defList. Note that the writePath and libMode parameters as well as any attributes contained in the optional libAttrs oaDMAttrArray will be written out to the top file associated with the owning defList when a save operation is performed on the oaLibDefList. Each attribute will be written in the file in a separate ASSIGN statement (see oaLibDefList for more information on the format of the ASSIGN statement used in library definition files).
|
|
This function finds the libDef object in the specified defList list with the given libName. Users can create only one library definition in a libDefList with a library name (see oaLibDef::create). Note also, if oaLibDefList::openLibs() finds library definitions library definition file hierarchy with the same logical library name, it will open the last of the multiply-defined libraries.
|
|
This function fills in the library attributes array of this libDef object. If there are no attributes in this definition, an empty array is returned.
|
|
This function returns the access mode of the library that this libDef object defines (see oaLibMode for further information). |
|
This function fills in the library name of the library that this libDef object defines.
|
|
This function fills in the library path of the library that this libDef object defines.
|
|
This function gets the write path of the library associated with this libDef object.
|
|
This function removes the specified attribute from this oaLibDef object. If the named attribute does not exist, the operation is ignored.
|
|
This function sets the mode for this oaLibDef object.
|
|
This function specifies the writePath for the library defined in this oaLibDef object. The writePath specifies the path to a directory that the oaLib can use to create temporary files.
|
Copyright © 2002 - 2010 Cadence Design Systems, Inc.
All Rights Reserved.