All Frameworks Class Hierarchy This Framework Previous Next Indexes
ENOVInterfaces Interface ENOVIFilterVersion
System.IUnknown
|
+---System.IDispatch
|
+---System.CATBaseUnknown
|
+---ENOVIFilterVersion
Usage: an implementation of this interface is supplied and you must use it as is. You should not reimplement it.
interface ENOVIFilterVersion
Interface to Version ProductSpecifications and Config Handlers.
Role: The ENOVIFilterVersion enables you to:
- Version the ProductSpec/ConfigHandler, and also retrieve all the versions of the same
- The interface is implemented in the ENOVCfgServImpl/ECS0ItfImpl module
- The interface is implemented on the ProductSpecification and ConfigHandler entities,so
- it can be obtained by doing a query interface of the CATIAVPMProductSpecification2 or CATIConfigHandler
- interface pointers
Method Index
- o
CreateNewVersion(CATBaseUnknown_var&)
- Creates a New version.
- o
GetAllVersions(CATLISTV(CATBaseUnknown_var)&)
- Gets all the versions of the ProductSpecification or ConfigHandler including the one on which this method is called.
- o
GetFirstVersion(CATBaseUnknown_var&)
- Gets the first(original) version of the ProductSpecification or ConfigHandler.
- o
GetLatestVersion(CATBaseUnknown_var&)
- Gets the latest version of the ProductSpecification or ConfigHandler.
Methods
o CreateNewVersion
-
Creates a New version.
- Parameters:
-
- oFilterVersion
- Output value - The CATBaseUnknown_var pointer of the object(ProductSpec or ConfigHandler) being versioned
- Returns:
- An HRESULT
Legal values:
- S_OK
- The objects is successfully revisioned
and the interface pointer is successfully returned
- E_FAIL
- Failed to version the Object
o GetAllVersions
-
Gets all the versions of the ProductSpecification or ConfigHandler including the one on which this method is called.
- Parameters:
-
- oList
- Output value - The list CATBaseUnknown_var pointer of the each existing version(ProductSpec or ConfigHandler)
- Returns:
- An HRESULT
Legal values:
- S_OK
- The objects are successfully retrieved
and the interface pointers are successfully returned
- E_FAIL
- Failed to retrieve the Object
o GetFirstVersion
-
Gets the first(original) version of the ProductSpecification or ConfigHandler.
- Parameters:
-
- oFilterVersion
- Output value - The CATBaseUnknown_var pointer of the first version(ProductSpec or ConfigHandler)
- Returns:
- An HRESULT
Legal values:
- S_OK
- The object is successfully retrieved
and the interface pointer is successfully returned
- E_FAIL
- Failed to retrieve the Object
o GetLatestVersion
-
Gets the latest version of the ProductSpecification or ConfigHandler.
- Parameters:
-
- oFilterVersion
- Output value - The CATBaseUnknown_var pointer of the latest version(ProductSpec or ConfigHandler)
- Returns:
- An HRESULT
Legal values:
- S_OK
- The object is successfully retrieved
and the interface pointer is successfully returned
- E_FAIL
- Failed to retrieve the Object
This object is included in the file: ENOVIFilterVersion.h
If needed, your Imakefile.mk should include the module: GUIDENOVInterfaces