All Frameworks  Class Hierarchy  This Framework  Next  Indexes

CDMAInteroperability Interface CATIPDMUESave

System.IUnknown
  |
  +---System.IDispatch
    |
    +---System.CATBaseUnknown
      |
      +---CATIPDMUESave
 

Usage: you can freely reimplement this interface.


interface CATIPDMUESave

Interface to enable some user specific check operations on the files.
Role: This interface is a user exit allowing a user to perform some specific operations in order to control the save of the files.
You should implement it on the CATUEPDMSave component by using the CATObject mechanism.


Method Index


o OnSave(CATDocument*,HRESULT*)
Allows the user to perform some operations on the file to save.

Methods


o OnSave
public virtual HRESULT OnSave(CATDocument* iDoc,
HRESULT* oGranted)=0
Allows the user to perform some operations on the file to save.
Role: This method allows the user to perform some check operations on the file that will be saved.
Parameters:
iDoc
The document to check.
oGranted
Says if the save is possible:
Legal values:
  • S_OK It is allowed to save the file.
  • S_FALSE It's not allowed to save the file.
Returns:
  • S_OK: execution successful
  • E_FAIL: The method has failed. A CATError class instance is generated.

This object is included in the file: CATIPDMUESave.h
If needed, your Imakefile.mk should include the module: CATCinDocument

Copyright © 2003, Dassault Systèmes. All rights reserved.