All Frameworks  Class Hierarchy  This Framework  Previous  Next  Indexes

CATSchPlatformInterfaces Class CATEASchAppReplace

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

Usage: you can derive this class.


public class CATEASchAppReplace

Super class to derive implementation for interface CATISchAppReplace.
Role: Adaptor


Constructor and Destructor Index


o CATEASchAppReplace()
Constructs an empty CATEASchAppReplace.
o ~CATEASchAppReplace()

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.

Constructor and Destructor


o CATEASchAppReplace
public CATEASchAppReplace()
Constructs an empty CATEASchAppReplace.
o ~CATEASchAppReplace
public virtual ~CATEASchAppReplace()

Methods


o AppOKToReplace
public virtual HRESULT AppOKToReplace( const IUnknown* iSchObjectToBeReplacedByThis,
CATBoolean* oBYes)
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)
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: CATEASchAppReplace.h
If needed, your Imakefile.mk should include the module: CATSchItfCPP

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