All Frameworks  Class Hierarchy  This Framework  Previous  Next  Indexes

CATSchPlatformInterfaces Interface CATISchematicExtension

System.IUnknown
  |
  +---CATISchematicExtension
 

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


interface CATISchematicExtension

Interface to add schematic extensions to existing application objects.
Role: Used by the application to add schematic behavior to existing application objects.


Method Index


o AddExtension(IUnknown*,CATSchExtensionType,CATIUnknownList*)
Adds a Schematic extension to an application object.
o RemoveExtension(IUnknown*,CATSchExtensionType)
Removes a Schematic extension to an application object.

Methods


o AddExtension
public virtual HRESULT AddExtension( const IUnknown* iAppObjToBeExtended,
const CATSchExtensionType iExtensionType,
const CATIUnknownList* iLGRR= NULL) = 0
Adds a Schematic extension to an application object.
Parameters:
iAppObjToBeExtended
The application object to be extended.
iExtensionType
The extension type.
iLGRR
If iLGRR is not NULL, then its members will be linked to the extension as graphics
Returns:
An HRESULT value.
Legal values:
S_OK
operation is successful
E_FAIL
operation failed
o RemoveExtension
public virtual HRESULT RemoveExtension( const IUnknown* iAppExtendedObj,
const CATSchExtensionType iExtensionType) = 0
Removes a Schematic extension to an application object.
Parameters:
iAppExtendedObj
The application object to be have its extension removed.
iExtensionType
The extension type.
Returns:
An HRESULT value.
Legal values:
S_OK
operation is successful
E_FAIL
operation failed

This object is included in the file: CATISchematicExtension.h

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