All Frameworks  Class Hierarchy  This Framework  Previous  Next  Indexes

CATSchPlatformInterfaces Interface CATISchAppReplace

System.IUnknown
  |
  +---CATISchAppReplace
 

Usage: you can reimplement this interface by deriving the supplied CATEASchAppReplace adapter class.


interface CATISchAppReplace

Interface to manage replacing existing application object with another.
Application must derived implementation of this interface from CATEASchAppReplace. Role: replace application object with another.

BOA information: this interface CANNOT be implemented using the BOA (Basic Object Adapter). To know more about the BOA, refer to the CAA Encyclopedia home page. Click Middleware at the bottom left, then click the Object Modeler tab page. Several articles deal with the BOA.


Method Index


o AppOKToReplace(IUnknown*,CATBoolean*)
Query whether it is OK to replace an existing object (component, route.
o AppPostReplaceProcess(IUnknown*)
Post process after replacing an object.

Methods


o AppOKToReplace
public virtual HRESULT AppOKToReplace( const IUnknown* iSchObjectToBeReplacedByThis,
CATBoolean* oBYes) = 0
Query whether it is OK to replace an existing object (component, route...) with this object.
Parameters:
iSchObjectToBeReplacedByThis
Pointer to the existing object to be replaced by this object.
oBYes
If TRUE, then it is OK to replace the object.
o AppPostReplaceProcess
public virtual HRESULT AppPostReplaceProcess( const IUnknown* iSchObjectToBeReplacedByThis) = 0
Post process after replacing an object.
Parameters:
iNewObject
The new Application object
Returns:
An HRESULT value.
Legal values:
S_OK
operation is successful
E_FAIL
operation failed

This object is included in the file: CATISchAppReplace.h

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