All Frameworks Class Hierarchy This Framework Previous Next Indexes
VPMInterfaces Interface CATIAVPMUEVersionning
System.IUnknown
|
+---System.IDispatch
|
+---System.CATBaseUnknown
|
+---CATIAVPMUEVersionning
Usage: you can freely reimplement this interface.
interface CATIAVPMUEVersionning
Represents the Versionning possibilities User Exit.
There is a User Exit for each case :
- GetNewVersion
- GetPreferedVersion
Method Index
- o
GetNewVersion(long,CATBSTR&,CATBSTR&)
- User Exit called when an ObjectVersion is created from a CATIAVPMObjectMaster.
- o
GetNewVersion(long,CATUnicodeString&,CATUnicodeString&)
- User Exit called when an ObjectVersion is created from a CATIAVPMObjectMaster.
- o
GetPreferedVersion(CATIAVPMObjectVersion*&)
- User Exit called when an ObjectVersion is queried from a CATIAVPMObjectMaster.
Methods
o GetNewVersion
public virtual HRESULT GetNewVersion( | long | iPrevVersionNumber, |
| const CATBSTR& | iPrevVersionValue, |
| CATBSTR& | oVersionValue)=0 |
-
User Exit called when an ObjectVersion is created from a CATIAVPMObjectMaster.
- Parameters:
-
- in
- long iPrevVersionNumber The number of the previous version
- in
- CATBSTR iPrevVersionValue The string value of the previous version
- out
- CATBSTR oVersionValue The string value of the new version.
This must be newly allocated, and will be freed by the caller using CATFreeString from FW System.
o GetNewVersion
-
User Exit called when an ObjectVersion is created from a CATIAVPMObjectMaster.
- Parameters:
-
- in
- long iPrevVersionNumber The number of the previous version
- in
- CATUnicodeString iPrevVersionValue The string value of the previous version
- out
- CATUnicodeString oVersionValue The string value of the new version.
o GetPreferedVersion
-
User Exit called when an ObjectVersion is queried from a CATIAVPMObjectMaster.
- Parameters:
-
- out
- CATIAVPMObjectVersion oVersion The required object version
This object is included in the file: CATIAVPMUEVersionning.h
If needed, your Imakefile.mk should include the module: VPMItf