All Frameworks Class Hierarchy This Framework Indexes
VPMSTEPExchanges Interface VPMIExUEVersionToUpdate
Usage: you can freely reimplement this interface.
interface VPMIExUEVersionToUpdate
Used to import data into ENOVIA V5.
If an Object Version exists already in ENOVIA V5,
this User Exit allows to declare if the ENOVIA Object Version can be updated or not
from the ENOV_DATAX Object Version.
Role: This interface must be re-implemented when we want to manage the
capability of an Object Version to updated or not.
You must update your dictionary with the following Late Type UEVersionToUpdate.
Method Index
- o
GenerateTheNextV_Version(CATUnicodeString,int,CATUnicodeString&)
- From a V_version and a V_order, allow to deduce the V_version of the next Object Version.
- o
RightToUpdate(CATIAVPMObjectVersion*)
- For an existing Object Version returns if this one can updated from the
ENOV_DATAX object.
Methods
o GenerateTheNextV_Version
| public virtual GenerateTheNextV_Version( | const | iCurrentV_Version, |
| const | iCurrentV_order, |
| | oNextV_Version) |
-
From a V_version and a V_order, allow to deduce the V_version of the next Object Version.
Role: Deduce a V_version of an Object Version.
- Returns:
- Returns S_OK if no error else returns E_ABORT
- Parameters:
-
- iCurrentV_Version
- The V_version of the Object Version N.
- iCurrentV_order
- The V_order of the Object Version N.
- oNextV_Version
- The V_version of the Object Version N+1.
o RightToUpdate
| public virtual RightToUpdate( | const | iObjectVersion) |
-
For an existing Object Version returns if this one can updated from the
ENOV_DATAX object.
Role: Decide if an Object Version can be modified (according to the status,...).
- Returns:
- Returns S_OK if the ENOVIA Object Version can be updated else returns S_FALSE
- Parameters:
-
- iObjectVersion
- The ENOVIA Object Version, mapped with ENOV_DATAX Object Version.
This object is included in the file: VPMIExUEVersionToUpdate.h
If needed, your Imakefile.mk should include the module: GUIDVPMSTEPExchanges