Inheritance diagram for oaDMObject:
Public Methods | |
oaBoolean | isContainer () const |
oaLib * | getLib () const |
void | getTempFile (oaString &path, oaBoolean sameFileSystem=false) const |
oaUInt4 | getVCStatus (oaUInt4 mask=oacVCStatusAll) const |
oaVCVersionIter | getVersions () const |
void | update (const oaVCVersion &version, oaBoolean recurse=true, const oaChar *options=NULL) |
void | makeEditable (oaBoolean lock, oaBoolean recurse=true, const oaChar *options=NULL) |
void | cancelEdit (oaBoolean recurse=true, const oaChar *options=NULL) |
void | commitEdits (const oaChar *comment, oaBoolean recurse=true, oaBoolean keepEditable=false, const oaChar *options=NULL) |
void | setControlled (oaBoolean recurse=true, const oaChar *options=NULL) |
void | unsetControlled (oaBoolean recurse=true, oaBoolean keepLocalRep=true, const oaChar *options=NULL) |
Public Types | |
enum | { dbType = oacLibDBType } |
Note: The oaDMObject function descriptions indicate if access to the library associated with the object 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 is only active when a Version Control system is in place for the library this object is in. It will cancel the editable state of the object (and it's children if "recurse" is set to "true"). Note that in most VC systems this operation will cause the underlying file(s) to revert to what's currently in the repository. 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 is only active when a Version Control system is in place for the library this object is in. It will commit the current set of edits to this object to the version control system's repository. 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 library database associated with this object. 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 path to a new, unique, temporary file which is associated with this object. Temporary files are not DM objects, and the management of such files is left up to the application. Temporary files are expected to be process-specific. The user may specify the directory to create the temporary file in by using the writePath argument in oaLib::open(). If the library being used has been created in the process with oaLib::create(), then the library directory is assumed to be writeable and is used for temporary file creation. 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 is only active when a Version Control system is in place for the library this object is in. It gets the version control status of the object. This status only relates to the given object and is not hierarchical. 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 gets the versions that exist for this object in the form of an oaVCVersionIter. This information is for this object only and is not recursive. 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 true if this object is an oaDMContainer object implying that it is either an oaLib, oaCell, oaView or an oaCellView object. |
|
This function is only active when a Version Control system is in place for the library this object is in. It will set the version control access mode of the object (and it's children if "recurse" is "true") to be editable. On some version control systems this could result in a check-out of the underlying file(s). 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 is only active when a Version Control system is in place for the library this object is in. It adds the object to the version control system's repository. 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 is only active when a Version Control system is in place for the library this object is in. It will remove the object from the version control systems repository. if keepLocalRep is "false" the local file will also be removed. 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 is only active when a Version Control system is in place for the library this object is in. It will retrieve the given version of the object from the repository. If the object is current, it will be left unchanged; if it didn't previously exist in the local directory, it will be retrieved. 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.