Inheritance diagram for IVersionControl:
Public Methods | |
virtual void | getVCSystem (IVCSystem *&system)=0 |
virtual void | addObserver (IVCMessageObserver *observer)=0 |
virtual void | removeObserver (IVCMessageObserver *observer)=0 |
virtual oa::oaUInt4 | getStatus (IDMObject *object, oa::oaUInt4 mask=IDMObjectStatus::cAllStatus)=0 |
virtual void | getStatus (IDMObjectStatusIter *&info, IDMContainer *cont, oa::oaUInt4 depth=oacCellViewFileVCQueryDepth, oa::oaUInt4 mask=IDMObjectStatus::cAllStatus)=0 |
virtual void | getControlledObjects (IDMObjectIter *&objects, oa::oaUInt4 depth=oacCellViewFileVCQueryDepth, IDMObject *top=NULL, bool localOnly=false)=0 |
virtual void | getVersions (IVersionIter *&versions, IDMObject *object)=0 |
virtual void | getWorkingVersion (IVersion *&version, IDMObject *object)=0 |
virtual void | getWorkingVersions (IDMObjectVersionIter *&objects, IDMContainer *cont, oa::oaUInt4 depth=oacCellViewFileVCQueryDepth)=0 |
virtual void | update (IVersion *version, IDMObject *object, bool recurse=true, const char *options=NULL)=0 |
virtual void | makeEditable (IDMObject *object, bool lock, bool recurse=true, const char *options=NULL)=0 |
virtual void | cancelEdit (IDMObject *object, bool recurse=true, const char *options=NULL)=0 |
virtual void | commitEdits (IDMObject *object, const char *comment, bool recurse=true, bool keepEditable=false, const char *options=NULL)=0 |
virtual void | setControlled (IDMObject *object, bool recurse=true, const char *options=NULL)=0 |
virtual void | unsetControlled (IDMObject *object, bool recurse=true, bool keepLocal=true, const char *options=NULL)=0 |
|
This function is used to add a client-implemented message observer (see IVCMessageObserver).
|
|
This function cancels the editable state of the objects. It also cancels the editable state of the object's descendents if recurse is set to "true". Note that in most version control systems, this operation causes the underlying files to revert to what is currently in the repository. If any of the files involved are locked for edits with the DM system, this operation will release that lock.
|
|
This function commits any pending *saved* changes of the file to the VC system repository. If recurse is "true", it also commits the pending changes to this object's descendents.
|
|
This function returns an iterator for the objects in this library that the version control system reports as being controlled.
|
|
This function gets the status of all the files belonging to the given container.
|
|
This function gets the version control status of the object. The return value is a bit-field that's composed of the values found in IDMObjectStatus::StatusEnum.
|
|
This function returns the version control system interface for this plug-in.
|
|
This function is used to retrieve all of the version information for a single object. For example, if "object" has been modified and committed to the repository three times, creating versions "1", "2", and "3", then the iterator will represent a collection with three elements. The display name from the IVersion for each element will contain the user readable string representing each of these versions. The versions should, in general, be iterated from earliest to latest, but it's up to the implementation of the VC system to determine how situations such as branches are handled.
|
|
This function retrieves the version information of the specified object. The version information reported back is the version of the file that is currently visible in the users workspace. The object must be versionable and belong to this library.
|
|
This function retrieves the version information of the specified objects. The version information reported back is the version of the file that is currently visible in the users workspace. The objects in the array must all be versionable and belong to this library.
|
|
This function sets the version control access mode of the specified object to be editable. If recurse is "true", the object's descendents are also made editable. On some version control systems this may involve a check-out of underlying files.
|
|
This function is used to remove a client-implemented message observer that has been previously added via IVersionControl::addObserver().
|
|
This function sets the object (and its descendents if recurse is "true") to be controlled by the version control system. This is often referred to as an "add" operation. Note that the timing of the file actually appearing in the central repository is dependent on the implementation of the VC system.
|
|
This function removes the object (and its descendents if recurse is "true") from the version control system repository. Note that the timing of the file actually disappearing from the central repository is dependent on the implementation of the VC system.
|
|
This function updates object (and the object's children if recurse is "true") from the VC systems repository. This function can be used to populate a library by passing a newly created library that has been associated with an existing library repository and setting "recurse" to "true". Files in the local workspace that have been modified will, in general, be merged with the current changes in the repository (if any).
|
Copyright © 2002 - 2010 Cadence Design Systems, Inc.
All Rights Reserved.