Inheritance diagram for IVCPlugIn:
Public Methods | |
virtual bool | init (const char *dmSystemName, const char *libName, IDMAccess *dmAccess, IAttrIter *attrs)=0 |
virtual bool | setAttributes (IAttrIter *attrs)=0 |
virtual void | getAttributes (IAttrIter *&attrs)=0 |
virtual void | newVersionObject (IVersion *&version, const char *displayName=NULL)=0 |
Note: Both IVCPlugIn and IVersionControl would be implemented by the same object in a standalone version control system. An instance of this component would be created for each instance of a DM plug-in component. This implies that there is one instance of this component per library that is controlled by this system. The library name for this instance is passed in through the init call. This information can be gathered by the VC system in order to be able to respond to the "getControlledLibs" function on the IVCSystem interface.
|
This function is called to get the collection of the attributes and their values that are in effect for this instance of the VC system. It is typically called by the aggregating DM plug-in in its ILib::getAttributes() call, and the results are merged with its own set of attributes. Note that even attributes that are set to their default values should be reported.
|
|
|
|
|
|
This function is used to change *mutable* attributes of the VC system. It will be called by the DM system that's aggregating this instance, when the ILib::setAttributes() function is called. The DM plug-in may pass along the same iterator without filtering the DM specific attributes, so the VC plug-in should ignore any attributes that it doesn't recognize. If an attempt is made to change any *non-mutable* attributes, this function should throw an exception (which must derive from IException).
|
Copyright © 2002 - 2010 Cadence Design Systems, Inc.
All Rights Reserved.