Inheritance diagram for oaWafer:
Public Methods | |
void | close () |
void | purge () |
void | save () |
void | saveAs (const oaScalarName &libName, const oaScalarName &cellName, const oaScalarName &viewName) |
void | reopen (oaChar mode) |
void | revert () |
void | getLibName (oaScalarName &libName) const |
void | getCellName (oaScalarName &cellName) const |
void | getViewName (oaScalarName &viewName) const |
void | getLibName (const oaNameSpace &ns, oaString &libStr) const |
void | getCellName (const oaNameSpace &ns, oaString &cellStr) const |
void | getViewName (const oaNameSpace &ns, oaString &viewStr) const |
oaTimeStamp | getTimeStamp (oaWaferDataType type) const |
oaTimeStamp | getTimeStamp (oaAppObjectDef *def) const |
oaChar | getMode () const |
oaUInt4 | getRefCount () const |
oaTime | getCreateTime () const |
oaTime | getReadInTime () const |
oaTime | getLastSavedTime () const |
oaUInt4 | getDBUPerWU () const |
oaWaferUnitsType | getWaferUnits () const |
oaWaferDesc * | getWaferDesc () const |
void | setDBUPerWU (oaUInt4 value) |
void | setWaferUnits (oaWaferUnitsType value) |
oaBoolean | isModified () const |
oaBoolean | isUndoEnabled () const |
void | enableUndo (oaBoolean value=true) |
void | undo () |
void | redo () |
void | setCp () |
oaUInt8 | calcVMSize () const |
void | getFeatures (oaUInt4 &dataModelRev, oaFeatureArray &features) |
oaCollection< oaReticle, oaWafer > | getReticles () const |
oaCollection< oaReticleRef, oaWafer > | getReticleRefs () const |
oaCollection< oaFrame, oaWafer > | getFrames () const |
oaCollection< oaImage, oaWafer > | getImages () const |
Static Public Methods | |
oaWafer * | open (const oaScalarName &libName, const oaScalarName &cellName, const oaScalarName &viewName, oaChar mode= 'r') |
oaWafer * | find (const oaScalarName &libName, const oaScalarName &cellName, const oaScalarName &viewName) |
oaBoolean | exists (const oaScalarName &libName, const oaScalarName &cellName, const oaScalarName &viewName) |
void | destroy (const oaScalarName &libName, const oaScalarName &cellName, const oaScalarName &viewName) |
oaUInt4 | getRevNumber () |
oaCollection< oaWafer, oaWafer > | getOpenWafers () |
Public Types | |
enum | { dtIndex = oacWaferWaferDataType } |
All oaWafers are implemented as a file in an oaView. They are all associated with a triplet of library, cell, and view names, and this set of names is used to identify them.
The oaWafer class can be observed by deriving from oaObserver<oaWafer>.
|
This function calculates and returns the amount of virtual memory this wafer is currently using. |
|
This function decrements the reference count of this wafer by one. If the count goes to zero, the wafer is purged from memory. If the wafer has never been saved, the last close that purges the wafer will also remove the database file, view directory, and cell directory if that cell was empty. |
|
This function attempts to remove the wafer from disk. An exception is thrown if the wafer is currently opened or if the wafer cannot be found on disk.
|
|
This function enables or disables undo functionality for this wafer. If enabled, all changes made to this wafer are logged so that undo() can restore the wafer to earlier states. If disabled, all undo information is discarded and changes are not logged.
|
|
This function returns a boolean indicating whether a wafer is currently open with the specified library, cell, and view names, or whether the wafer is found on disk. If the wafer is found on disk, it database file must have a non-zero size in order to be recognized.
|
|
This function attempts to find a wafer with the specified library, cell, and view names. If the specified view is open, it is returned, otherwise NULL is returned.
|
|
This function returns the name of the cell associated with this wafer in the nameSpace specified.
|
|
This function returns the name of the cell associated with this wafer in the form of an oaScalarName.
|
|
This function returns the time at which this wafer database was created. |
|
This function returns the number of database units per waferUnit currently set for this wafer. |
|
This function returns the data model revision number for the database, as well as an array of the features currently in the database. The application can iterate through the array to get the ID for each feature present. Each feature ID corresponds to an oaFeatureIDEnum value.
|
|
This function returns the collection of frames in this wafer. |
|
This function returns the collection of images in this wafer. |
|
This function returns the time at which this wafer was last saved. |
|
This function returns the name of the library associated with this wafer in the nameSpace specified.
|
|
This function returns the name of the library associated with this wafer in the form of an oaScalarName.
|
|
This function returns the mode in which this wafer is currently opened. |
|
This function returns a collection of open wafers. |
|
This function returns the time at which this wafer was read in from disk. |
|
This function returns the number of times this wafer is opened without being closed. This includes both internal and external opens. |
|
This function returns a collection of reticle references in this wafer. |
|
This function returns a collection of reticles in this wafer. |
|
This function returns the revision number of the internal format for the wafer database. |
|
This function returns the timeStamp value for the specified application object.
|
|
This function returns the timeStamp value for the specified wafer datatype.
|
|
This function returns the name of the view associated with this wafer in the nameSpace specified.
|
|
This function returns the name of the view associated with this wafer in the form of an oaScalarName.
|
|
This function returns a pointer to the wafer description associated with this wafer. NULL is returned if no wafer description has been created yet. |
|
This function returns the wafer-unit information for this wafer. |
|
This function returns a boolean indicating whether or not this wafer has been modified but not saved. |
|
This function returns a boolean indicating whether undo is enabled for this wafer. |
|
This function attempts to open the wafer with the specified library, cell, and view names with the specified access mode. If successful, the wafer is returned. The reference count of the wafer is incremented once for each successful open call, so it is important each call to open() is matched by a call to close().
|
|
This function closes and removes this wafer from memory, regardless of its reference count. |
|
This function redoes the changes that were most recently undone. This call has an affect only if undo is enabled, undo() is called for this wafer, and there are no changes since the last undo() was performed. |
|
This function attempts to reopen this wafer using the specified access mode. The contents of the wafer may be reset or even truncated depending upon the new access mode. The open mode of this wafer is changed to mode. Note: The refCount of the wafer is not affected.
|
|
This function reloads the contents of this wafer from disk. If the wafer is opened in write mode, it will simply be truncated. Note that the wafer's access mode is not affected. |
|
This function saves this wafer to disk. The wafer remains open and all of its in-memory data remains valid including its undo data.
|
|
This function saves this wafer to disk using the specified library, cell, and view names. The wafer remains open and all of its in-memory data remains valid including its undo data.
|
|
This function sets an undo checkpoint for this wafer. Each call to undo() restores the contents of the wafer to its state when undo is enabled or when a call to setCp() is made. |
|
This function changes the database units per wafer units for this wafer.
|
|
This function changes the wafer units used for this wafer.
|
|
This function undoes all changes made to this wafer since the last undo checkpoint was set. Note that only changes to managed objects in the oaWafer are undone. Utility objects that contain pointers to a managed object are not affected. |
|
|
Copyright © 2002 - 2010 Cadence Design Systems, Inc.
All Rights Reserved.