All Frameworks  Class Hierarchy  This Framework  Previous  Next  Indexes

CATPDMBaseInterfaces Interface CATIPDMSaveInfo1

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

Usage: an implementation of this interface is supplied and you must use it as is. You should not reimplement it.


interface CATIPDMSaveInfo1

Interface clone of CATIPDMSaveInfo allowing server call.


Method Index


o DocumentExistInPDM(CATUnicodeString&)
o GetDocEnvironmentType(CATDocument*,CATUnicodeString&)
o RunServerCode(CATUnicodeString&,CATVariant&,CATVariant&)
Called by the CATIA user exit to call customer code on the server.

Methods


o DocumentExistInPDM
public virtual HRESULT DocumentExistInPDM(CATUnicodeString& iDocName) = 0
o GetDocEnvironmentType
public virtual HRESULT GetDocEnvironmentType(CATDocument* iDoc,
CATUnicodeString& oEnvType) = 0
o RunServerCode
public virtual HRESULT RunServerCode( const CATUnicodeString& iServerLateType,
const CATVariant& iInput,
CATVariant& oOutput)= 0
Called by the CATIA user exit to call customer code on the server.
Parameters:
iServerLateType
Late type on server side containing the customer code. This late type should implement the interface ENOVIUERunInteropServerCode.
iInput
Information provided by the CATIA side. Marshalled to the server and passed in as input to the customer code on server side.
iOuput
Information returned by customer code on server side. It's marshalled back to CATIA an returned to the caller I.E. the CATIA user exit.
Returns:
S_OK Success. E_FAIL Failure.

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

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