All Frameworks  Class Hierarchy  This Framework  Previous  Next  Indexes

ElecSchematicItf Interface CATIEdiReferenceFactory

System.IUnknown
  |
  +---CATIEdiReferenceFactory
 

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


interface CATIEdiReferenceFactory

Interface to create application object references.
Role: This is the factory for application objects that are associated with schematic basic set of objects.


Method Index


o CreateEdiComponentReference(char*,wchar_t*,IUnknown**)
Creates an application component reference.
o CreateEdiRoutableReference(char*,wchar_t*,IUnknown**)
Creates an application routable reference.

Methods


o CreateEdiComponentReference
public virtual HRESULT CreateEdiComponentReference( const char* iEdiCompClassType,
const wchar_t* iEdiCompPartNumber,
IUnknown** oEdiComp) = 0
Creates an application component reference. Allowed types are : ElecSchPlug ElecSchEquipment ElecSchSocket ElecSchJunctionBox ElecSchBusBar (For the BusBar a WidePin connector is created on the fly on the reference product)
Parameters:
iEdiCompClassType
The class type of the application component reference.
iEdiCompPartNumber
The part number of the application component reference.
oEdiComp
The new application component object created
Returns:
An HRESULT value.
Legal values:
S_OK
operation is successful
E_FAIL
operation failed
o CreateEdiRoutableReference
public virtual HRESULT CreateEdiRoutableReference( const char* iEdiRouteClassType,
const wchar_t* iEdiRoutePartNumber,
IUnknown** oEdiRoute) = 0
Creates an application routable reference. Allowed types are : ElecSchCable
Parameters:
iEdiRouteClassType
The class type of the application routable reference.
iEdiRoutePartNumber
The part number of the application routable reference.
oEdiRoute
The new application routable object created
Returns:
An HRESULT value.
Legal values:
S_OK
operation is successful
E_FAIL
operation failed

This object is included in the file: CATIEdiReferenceFactory.h

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