Inheritance diagram for oaDerivedLayer:
Public Methods | |
oaLayer * | getLayer1 () const |
oaLayer * | getLayer2 () const |
oaLayerNum | getLayer1Num () const |
oaLayerNum | getLayer2Num () const |
oaLayerOp | getOperation () const |
oaDerivedLayerDef * | getDef () const |
void | getParams (oaDerivedLayerParamArray ¶ms) const |
oaBoolean | hasParams () const |
void | setParams (const oaDerivedLayerParamArray ¶ms) |
Static Public Methods | |
oaDerivedLayer * | create (oaLayer *layer1, oaLayer *layer2, oaLayerOp operation, const oaString &name, oaLayerNum number) |
oaDerivedLayer * | create (oaTech *tech, oaLayer *layer1, oaLayer *layer2, oaLayerOp operation, const oaString &name, oaLayerNum number) |
oaDerivedLayer * | create (oaTech *tech, const oaLayer *layer, const oaDerivedLayerDef *def, const oaString &name, oaLayerNum number, const oaDerivedLayerParamArray *params=NULL) |
oaDerivedLayer * | create (oaTech *tech, const oaLayer *layer1, const oaLayer *layer2, const oaDerivedLayerDef *def, const oaString &name, oaLayerNum number, const oaDerivedLayerParamArray *params=NULL) |
oaDerivedLayer * | find (const oaTech *tech, const oaString &name) |
oaDerivedLayer * | find (const oaTech *tech, const oaString &name, oaBoolean local) |
oaDerivedLayer * | find (const oaTech *tech, oaLayerNum number) |
oaDerivedLayer * | find (const oaTech *tech, oaLayerNum number, oaBoolean local) |
oaDerivedLayer * | find (const oaTech *tech, oaLayerNum layerNum, const oaDerivedLayerDef *def, const oaDerivedLayerParamArray *params=NULL, oaBoolean local=false) |
oaDerivedLayer * | find (const oaTech *tech, oaLayerNum layer1Num, oaLayerNum layer2Num, const oaDerivedLayerDef *def, const oaDerivedLayerParamArray *params=NULL, oaBoolean local=false) |
oaDerivedLayer * | find (const oaLayer *layer1, const oaLayer *layer2, oaLayerOp operation) |
The derived layer definition is associated with a layer operation (oaLayerOp) and specifies the number of parent layers for the corresponding derived layer. Built-in derived layer definitions each have their own unique oaLayerOpEnum value, but all user-defined definitions have the same layer operation, oacUserDefinedLayerOp.
Important: The oaDerivedLayer class is only a repository. OpenAccess does not provide built-in layer operation functionality. The application is responsible for performing the layer manipulations and associating the results with the appropriate oaDerivedLayer.
Note that for backward compatibility, oaDerivedLayer::create member functions are still supported, and they allow creating a derived layer by directly specifying the layer operation and not specifying the database. Also, an oaDerivedLayer::find member function allows immediate searching for a derived layer by layer operation as opposed to layer definition. However, these functions are deprecated.
Some layer operations require one or more parameters, such as shrink or grow. In such cases, an oaDerivedLayerParamArray can be associated with the derived layer.
Refer to Deriving Layers and Performing Layer Operations in the Programmers Guide for information about working with derived layers.
|
This function creates a derived layer with the specified name, number, and derivation in the specified tech. The derived layer is based on a derived layer definition. The number and name must be unique for the specified layer1 and layer2 combination. layer1 and layer2 can be in the specified tech, or in one or two databases in the graph of referenced technology databases rooted at the specified tech. Refer to Incremental Technology Databases in the Using Technology Databases section of the Programmers Guide for more information about referenced tech databases. Note: This function will bind any layer headers or LPPHeaders in open designs that reference the specified layer number.
|
|
This function creates a derived layer with the specified name, number, and derivation. The derived layer is based on a derived layer definition. The function creates the derived layer in the specified tech database. The oaLayer can be in the same technology database as the derived layer being created, or it can be in any of the referenced technology databases in the graph of databases rooted at the tech that will contain the derived layer. Refer to Incremental Technology Databases in the Using Technology Databases section of the Programmers Guide for more information about referenced tech databases. Note: This function will bind any layer headers or LPPHeaders in open designs that reference the specified layer number.
|
|
This function is deprecated and is retained to ensure compatibility with previous versions of OpenAccess. Use the create function overload that takes an oaDerivedLayerDef argument instead of the oaLayerOp argument. The number, name, and operation must all be unique for the specified layer1 and layer2 combination. The function creates the derived layer in the specified tech database. The databases in which either of layer1 and layer2 are residing must be referenced from the technology database in which the derived layer is to be created. Only layer operations for two layers are supported through this interface. Note: This function will bind any layer headers or LPPHeaders in open designs that reference the specified layer number. Refer to Incremental Technology Databases in the Using Technology Databases section of the Programmers Guide for more information about referenced tech databases.
|
|
This function is deprecated and is retained to ensure compatibility with previous versions of OpenAccess. Use the create function overload that takes an oaDerivedLayerDef argument instead of the oaLayerOp argument. The number, name, and operation must all be unique for the specified layer1 and layer2 combination. Both layer1 and layer2 must be defined in the same technology database, and neither value may be NULL. The two layers must also be in the same technology database as the derivedLayer that is being created. Only layer operations for two layers are supported through this interface. Note: This function will bind any layer headers or LPPHeaders in open designs that reference the specified layer number.
|
|
This function searches the technology database associated with the given layers looking for a derived layer with the specified layer derivation. For this variant of find function, the given layers must be in the same technology database, and the oaDerivedLayer lookup is local to that database. If the derived layer is found, a pointer to the derived layer object is returned. Otherwise, NULL is returned. Only binary layer operations are supported through this interface.
|
|
This function searches for a derived layer based on the specified layer1Num, layer2Num, and derived layer definition. The local argument specifies whether (if true) to look only in the specified technology database (if false) to look in the specified technology database and all of its referenced databases. If found, a pointer to the derived layer object is returned, otherwise NULL is returned. Refer to Incremental Technology Databases in the Using Technology Databases section of the Programmers Guide for more information about referenced tech databases.
|
|
This function searches for a derived layer based on the specified layerNum and derived layer definition. The local argument specifies whether (if true) to look only in the specified technology database (if false) to look in the specified technology database and all of its referenced databases. If found, a pointer to the derived layer object is returned, otherwise NULL is returned. Refer to Incremental Technology Databases in the Using Technology Databases section of the Programmers Guide for more information about referenced tech databases.
|
|
This function searches for a derived layer with the specified number. referenced databases looking for a derived layer with the specified number. The local argument specifies whether (if true) to look only in the specified technology database (if false) to look in the specified technology database and all of its referenced databases. If found, a pointer to the derived layer object is returned, otherwise NULL is returned. Refer to Incremental Technology Databases in the Using Technology Databases section of the Programmers Guide for more information about referenced tech databases.
Reimplemented from oaLayer. |
|
This function searches the specified technology database for an oaDerivedLayer object with the specified number. If the specified technology database references other technology databases, those are searched as well and the first matching derived layer is returned. To find a derived layer in the current technology database only, refer to the find function that accepts the local argument. If found, a pointer to the derived layer object is returned. Otherwise, NULL is returned. Refer to Incremental Technology Databases in the Using Technology Databases section of the Programmers Guide for more information about referenced tech databases.
Reimplemented from oaLayer. |
|
This function searches for a derived layer with the specified name. The local argument specifies whether (if true) to look only in the specified technology database (if false) to look in the specified technology database and all of its referenced databases. If found, a pointer to the derived layer object is returned, otherwise NULL is returned. Refer to Incremental Technology Databases in the Using Technology Databases section of the Programmers Guide for more information about referenced tech databases.
Reimplemented from oaLayer. |
|
This function searches the specified technology database for an oaDerivedLayer object with the specified name. If the specified technology database references other technology databases, those are searched as well and the first matching derived layer is returned. To find a derived layer in the current technology database only, refer to the find function that accepts the local argument. If found, a pointer to the derived layer object is returned. Otherwise, NULL is returned. Refer to Incremental Technology Databases in the Using Technology Databases section of the Programmers Guide for more information about referenced tech databases.
Reimplemented from oaLayer. |
|
This function returns the derived layer def used to create this derivedLayer. |
|
This function returns a pointer to layer1, from which the derived layer was created. NULL is returned if the layer comes from an unbound technology database referenced by the owning database of this derived layer. If the layer is not bound, you can use the getLayer1Num to get the number of the layer. Refer to Incremental Technology Databases in the Using Technology Databases section of the Programmers Guide for more information about referenced tech databases. |
|
This function returns the number of the layer1 from which this derived layer was created even if the tech database containing the layer is unbound. |
|
This function returns a pointer to layer2, from which the derived layer was created. For unary layer operations, this returns the same layer as oaDerivedLayer::getLayer1(). NULL may be returned if the layer referenced comes from an unbound technology database referenced by the owning database of this derived layer. If the layer is not bound, you can use the getLayer2Num to get the number of the layer. Refer to Incremental Technology Databases in the Using Technology Databases section of the Programmers Guide for more information about referenced tech databases. |
|
This function returns the number of the layer2 from which this derived layer was created even if the tech database containing the layer is unbound. For unary layer operations, this returns the same layer number as getlayer1Num(). |
|
This function returns the built-in layerOp used to create this derivedLayer, or it returns oacUserDefinedLayerOp for user-defined derived layer definitions. |
|
This function retrieves the parameters of this derived layer.
|
|
This function returns a boolean that indicates whether this derived layer has any parameters. |
|
This function sets the parameters of this derived layer to the given parameter array.
|
Copyright © 2002 - 2010 Cadence Design Systems, Inc.
All Rights Reserved.