All Frameworks  Class Hierarchy  This Framework  Previous  Next  Indexes

ObjectSpecsModeler Interface CATIOsmExtension

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

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


interface CATIOsmExtension

Interface to manipulate feature extensions.
Role: CATIOsmExtension is implemented by all extension features. This interface aims to retrieve the identifier type of an extension and the base feature that has been extended.
Each feature implements CATIOsmExtendable to retrieve its extensions features.
An extension feature is a feature therefore it implements CATISpecObject.


Method Index


o GetID(char*&)
Returns the extension's identifier type.
o QueryBaseObject(IID&,void**)
Retrieves the base feature.

Methods


o GetID
public virtual HRESULT GetID(char*& oExtensionId) const =0
Returns the extension's identifier type. This type is specified at creation in CATIOsmExtendable#AddExtension method.
Parameters:
oExtensionId
The extension's idetifier type
Returns:
S_OK if succeeded
E_FAIL if oExtensionId is not NULL
o QueryBaseObject
public virtual HRESULT QueryBaseObject( const IID& iIID,
void** oObj) const =0
Retrieves the base feature.
Parameters:
iIID
The IID of the requested interface
oObj
[out, CATBaseUnknown#Release] The pointer to the base feature

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

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