Inheritance diagram for oaCellView:
Public Methods | |
void | destroy () |
oaCell * | getCell () const |
oaView * | getView () const |
oaDMFile * | getPrimary () const |
void | setView (const oaView *view) |
void | setView (const oaView *view, oaBoolean mustExist) |
Static Public Methods | |
oaCellView * | find (const oaCell *cell, const oaView *view) |
oaCellView * | find (const oaLib *lib, const oaScalarName &cellName, const oaScalarName &viewName) |
oaCellView * | get (const oaCell *cell, const oaView *view) |
oaCellView * | get (const oaLib *lib, const oaScalarName &cellName, const oaScalarName &viewName, const oaViewType *viewType) |
Public Types | |
enum | { dtIndex = oacCellViewDataType } |
The oaCellView class can be observed by deriving from oaObserver<oaCellView>.
Note: The oaCellView function descriptions indicate if library access is required for the called function. If the access type must be write access, this requirement also is noted.
For more information on library access, see Library Access in the detailed description for oaLib and OpenAccess 2.2 Libraries and Design Management in the Programmers Guide.
|
This function destroys the this oaCellView. Note: If you want to destroy a cellView and its related design, first purge the design to remove it from memory. This function requires write access to the library associated with this object (through a call to oaLib::getAccess). An oacLibAccessDenied exception is thrown if write access to the library does not exist. For more information on library access, see Library Access in the detailed description for oaLib and OpenAccess 2.2 Libraries and Design Management in the Programmers Guide.
|
|
This functions finds and returns a pointer to the cellView specified by the cell and view names. If not found, NULL is returned. This function requires access to the library associated with this object (through a call to oaLib::getAccess). An oacLibAccessDenied exception is thrown if access to the library does not exist. For more information on library access, see Library Access in the detailed description for oaLib and OpenAccess 2.2 Libraries and Design Management in the Programmers Guide.
|
|
This function finds and returns a pointer to the specified cellView. An exception is thrown if the specified cell and view are not in the same library. If not found, NULL is returned. This function requires access to the library associated with this object (through a call to oaLib::getAccess). An oacLibAccessDenied exception is thrown if access to the library does not exist. For more information on library access, see Library Access in the detailed description for oaLib and OpenAccess 2.2 Libraries and Design Management in the Programmers Guide.
|
|
This function attempts to find and return the cellView specified by lib, cellName, viewName and viewType. If it cannot be found, an attempt is made to create the cellView while creating any missing cell and view owners. Proper library write access is required for the creation to be successful and an exception is thrown if this is not the case. If successful, a pointer to an oaCellView object is returned.
|
|
This function finds and returns the cellView with the specified cell and view if it exists. If not found, it is created, and a pointer to the new cellView is returned. An exception is thrown if the specified cell and view are not in the same library. When a new cellview is created, a new dmFile as the primary of that cellview will be automatically created after that cellview itself is created. The users will get the postCreate callback on the cellview, followed by the postCreate callback on the primary file. This function requires write access to the library associated with this object (through a call to oaLib::getAccess). An oacLibAccessDenied exception is thrown if the write access to the library does not exist. For more information on library access, see Library Access in the detailed description for oaLib and OpenAccess 2.2 Libraries and Design Management in the Programmers Guide.
|
|
This function returns a pointer to the cell for this cellView. This function requires access to the library associated with this object (through a call to oaLib::getAccess). An oacLibAccessDenied exception is thrown if access to the library does not exist. For more information on library access, see Library Access in the detailed description for oaLib and OpenAccess 2.2 Libraries and Design Management in the Programmers Guide.
|
|
This function returns the primary file for this cellView. This function requires access to the library associated with this object (through a call to oaLib::getAccess). An oacLibAccessDenied exception is thrown if access to the library does not exist. For more information on library access, see Library Access in the detailed description for oaLib and OpenAccess 2.2 Libraries and Design Management in the Programmers Guide.
|
|
This function returns a pointer to the view for this cellView. This function requires access to the library associated with this object (through a call to oaLib::getAccess). An oacLibAccessDenied exception is thrown if access to the library does not exist. For more information on library access, see Library Access in the detailed description for oaLib and OpenAccess 2.2 Libraries and Design Management in the Programmers Guide.
|
|
This function modifies this cellView by associating it with the specified view. If mustExist is false, this version of the function operates the same as the version of this function that does not include the mustExist argument - the view is changed, and the primary data is renamed (see oaCellView::setView). If the mustExist is true, this version of the function assumes that the cellView already contains the appropriate type of data but that it is not currently marked as the primary data for the cellView. This function makes this data the primary data. The original data is left in the cellView as non-primary data. Note: Two setView functions (with and without the mustExist argument) have been implemented in the current release to maintain drop-in compatibility. These two functions will be merged together at a later date. An oacCVSetViewPrimaryFileLocked exception is thrown if the primary file cannot be write-locked by the current process -- for example, because it is locked by another process. New: An oacCVSetViewPrimaryFileDoesNotExist exception is thrown if the file that corresponds to the new viewType does not exist in the cellView. This function requires write access to the library associated with this object (through a call to oaLib::getAccess). An oacLibAccessDenied exception is thrown if write access to the library does not exist. For more information on library access, see Library Access in the detailed description for oaLib and OpenAccess 2.2 Libraries and Design Management in the Programmers Guide.
|
|
This function modifies this cellView by associating it with the specified view. When using this version of the function, the existing primary data will be renamed to be of the appropriate type. An oacCVSetViewPrimaryFileExists exception will be thrown if the non-primary data of the specified type already exists in the cellView. Note: Two setView functions (with and without the mustExist argument) have been implemented in the current release to maintain drop-in compatibility. These two functions will be merged together at a later date. An oacCVExists exception is thrown if another cellView (a cellView other than this cellView) already exists with the cellName and viewName that this function is to set on this cellView. An oacCVSetViewPrimaryFileExists exception is thrown if a file already exists in the cellView with the same name to which the primary file is to be renamed. An oacCVSetViewPrimaryFileLocked exception is thrown if the primary file cannot be write-locked by the current process -- for example, because it is locked by another process. This function requires write access to the library associated with this object (through a call to oaLib::getAccess). An oacLibAccessDenied exception is thrown if write access to the library does not exist. For more information on library access, see Library Access in the detailed description for oaLib and OpenAccess 2.2 Libraries and Design Management in the Programmers Guide.
|
|
|
Copyright © 2002 - 2010 Cadence Design Systems, Inc.
All Rights Reserved.