All Frameworks  Class Hierarchy  This Framework  Previous  Indexes

DNBManufacturingLayoutItf Interface CATIArrIgpAttachment

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

Usage: you can freely reimplement this interface.


interface CATIArrIgpAttachment

Interface to get the parrent and child products.
Role: To get the parrent and child products of an attachment.


Method Index


o GetChild(CATIProduct**)
Get the child product of this attachment.
o GetChildMA(CATBaseUnknown**)
Get the child MA of this attachment.
o GetParent(CATIProduct**)
Get the parent product of this attachment.
o GetParentMA(CATBaseUnknown**)
Get the Parent MA of this attachment.
o IsDeleted()
Check a connection to see if it is deleted.
o UnDelete()
Undelete the connection (only for Undo/Redo support).

Methods


o GetChild
public virtual HRESULT GetChild(CATIProduct** oChild) = 0
Get the child product of this attachment.
Parameters:
oChild
Child product.
Returns:
An HRESULT value.
Legal values:
S_OK
operation is successful
E_FAIL
operation failed
o GetChildMA
public virtual HRESULT GetChildMA(CATBaseUnknown** oChildMA) = 0
Get the child MA of this attachment.
Parameters:
oChildMA
Child MA.
Returns:
An HRESULT value.
Legal values:
S_OK
operation is successful
E_FAIL
operation failed
o GetParent
public virtual HRESULT GetParent(CATIProduct** oParent) = 0
Get the parent product of this attachment.
Parameters:
oParent
Parent product.
Returns:
An HRESULT value.
Legal values:
S_OK
operation is successful
E_FAIL
operation failed
o GetParentMA
public virtual HRESULT GetParentMA(CATBaseUnknown** oParentMA) = 0
Get the Parent MA of this attachment.
Parameters:
oParentMA
Parent MA.
Returns:
An HRESULT value.
Legal values:
S_OK
operation is successful
E_FAIL
operation failed
o IsDeleted
public virtual HRESULT IsDeleted()= 0
Check a connection to see if it is deleted.
Returns:
S_OK if the connection is deleted, E_FAIL otherwise. An HRESULT value.
Legal values:
S_OK
connection is deleted
E_FAIL
operation failed
o UnDelete
public virtual HRESULT UnDelete()= 0
Undelete the connection (only for Undo/Redo support). An HRESULT value.
Legal values:
S_OK
operation is successful
E_FAIL
operation failed

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

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