Inheritance diagram for oaDMData:
Public Methods | |
void | close () |
void | purge () |
void | save () |
void | save (oaSaveRecoverType saveRecoverType) |
void | reopen (oaChar mode) |
void | revert () |
void | getLibName (oaScalarName &libName) const |
void | getLibName (const oaNameSpace &ns, oaString &libName) const |
oaLib * | getLib () const |
oaChar | getMode () const |
oaUInt4 | getRefCount () const |
oaTimeStamp | getTimeStamp (oaDMDataType type) const |
oaBoolean | isModified () const |
oaBoolean | isRecovered () const |
void | getFeatures (oaUInt4 &dataModelRev, oaFeatureArray &features) |
oaCollection< oaGroup, oaDMData > | getGroups () const |
oaCollection< oaGroup, oaDMData > | getGroups (oaGroupDef *def) const |
oaCollection< oaGroup, oaDMData > | getGroupsByName (const oaString &name) const |
oaCollection< oaAppDef, oaDMData > | getAppDefsByDataType (oaDMDataType dataType) const |
oaCollection< oaAppObject, oaDMData > | getAppObjects (const oaAppObjectDef *def) const |
oaCollection< oaAppObjectDef, oaDMData > | getAppObjectDefs () const |
Static Public Methods | |
oaDMData * | open (const oaDMContainer *container, oaChar mode) |
oaDMData * | recover (const oaDMContainer *container, oaSaveRecoverType saveRecoverType) |
oaDMData * | find (const oaDMContainer *container) |
oaBoolean | exists (const oaDMContainer *container) |
oaBoolean | exists (const oaDMContainer *container, oaSaveRecoverType saveRecoverType) |
void | destroy (const oaDMContainer *container) |
void | destroy (const oaDMContainer *container, oaSaveRecoverType saveRecoverType) |
oaUInt4 | getRevNumber () |
oaCollection< oaDMData, oaDMData > | getOpenDMDataObjs () |
Public Types | |
enum | { dtIndex = oacDMDataDataType } |
enum | { domain = oacNoDomain } |
The oaDMData class provides the behavior that is common to oaLibDMData, oaCellDMData, oaViewDMData and oaCellViewDMData.
|
This function decrements the reference count of this DMData by one. If the count goes to zero, this database is purged from memory.
|
|
This function attempts to remove the specified oaSaveRecoverType file from disk. It throws an exception if this file cannot be found on disk.
|
|
This function attempts to remove this oaDMData database from disk. It throws an exception if the DMData is currently open or if the DMData cannot be found on disk.
|
|
This function returns a boolean that indicates whether the specified oaSaveRecoverType file exists on-disk.
|
|
This function checks whether there is a DMData open that has the specified dmObj container (owner) or whether a DMData file exists on disk with a non-zero size. This function returns if either condition is true; otherwise, it returns false.
|
|
This function attempts to find an open DM data with the specified dmObj container (owner). If successful, a pointer to the DMData database is returned. If unsuccessful, NULL is returned.
|
|
This function returns a collection of oaAppDefs of the specified dataType set on oaDMObjects in this oaDMData database.
|
|
This function returns a collection of oaAppObjectDefs extension definitions set on oaAppObjects in this oaDMData database. |
|
This function returns a collection of oaAppObjects with the specified def oaAppObjectDef extension definition set on them in this oaDMData database.
|
|
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.
|
|
These functions return collections of objects in or associated with this dmData.
|
|
This function returns the collection of groups in or associated with this oaDMData database. |
|
This function returns a collection of groups in or associated with this oaDMData database with the specified name.
|
|
This function returns a pointer to the lib object that this dmData database is in. |
|
This function returns the library name for this DMData object in the specified ns namespace.
|
|
These functions returns the library name for this DMData object.
|
|
This function returns the mode ('r'ead-only, 'w'rite, or 'a'ppend) with which this DMData database is currently opened. |
|
This function returns a collection of open DM data databases. |
|
This function returns the number of times this DMData has been opened without being closed. |
|
This function returns the revision number for this DMData database. |
|
This function returns the timeStamp value for the specified DM data dataType.
|
|
This function returns a boolean indicating whether or not this oaDMData database has been modified but not saved. |
|
This function returns a boolean indicating whether or not this oaDMData database has been recovered. |
|
This function attempts to open a DM data database with the specified dmObj (container) owner in the given mode. If successful, a pointer to the DM Data is returned.
|
|
This function closes and removes this DMData from memory, regardless of its reference count. Applications sometimes inadvertently attempt to recursively purge databases, so set an exception is thrown to catch this.
|
|
This function attempts to recover the DM data for the given DM object with the specified oaSaveRecoverType. If successful, a pointer to the DMData object is returned.
|
|
This function attempts to reopen this oaDMData using the specified access mode. The contents of the DMData may be reset or even truncated depending on the new access mode. Note that the oaDMData's refCount is not affected.
|
|
This function reloads the contents of this oaDMData from disk. If the oaDMData is opened in write mode, it will be truncated. Note that the oaDMData's access mode is not affected. |
|
This function attempts to save this oaSaveRecoverType database.
|
|
This function attempts to save this oaDMdata database.
|
|
|
|
|
Copyright © 2002 - 2010 Cadence Design Systems, Inc.
All Rights Reserved.