CATMecModExtendItf Interface CATIReplacable

Usage: you can freely reimplement this interface.


interface CATIReplacable

Replace authorization.
Role: Implement this interface to authorize the replace operation. Called by replace command.


Method Index


o AllowReplace(CATUnicodeString&,CATBaseUnknown_var&,int&)
Replace authorization.

Methods


o AllowReplace
public virtual HRESULT AllowReplace( const CATUnicodeString& iRole,
const CATBaseUnknown_var& iToReplace,
int& oAnswer) = 0
Replace authorization.
Parameters:
iRole
The name of the attribute which references the element to be replaced.
iToReplace
The element to be replaced.
oAnswer
The answer
Legal values: 1 if replace operation is allowed, 0 if replace operation is not allowed
Returns:
S_OK if OK, E_FAIL if failed.

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

Copyright © 1999-2014, Dassault Systèmes. All rights reserved.