ElecFlatteningItf Interface CATIEhfFlattenManager

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


interface CATIEhfFlattenManager

This Interface allows you to extract harness data and flattened the extracted data.


Method Index


o ExtractHarness(CATListPtrCATBaseUnknown*,CATListPtrCATBaseUnknown*&)
Extract harness.
o FlattenHarness(CATListPtrCATBaseUnknown*)
Flatten extracted data.

Methods


o ExtractHarness
public virtual ExtractHarness( ipListOfCATBaseUnknown,
opListOfCATBaseUnknown)
Extract harness.
Parameters:
ipListOfCATBaseUnknown
List of pointers on one Electrical Bundle or several Geometrical Bundles from harness model to be extracted.
opListOfCATBaseUnknown
List of pointers on one Electrical Bundle or several Geometrical Bundles extracted into the current root product (flatten model). Output list elements (CATBaseUnknown pointers) need to be released by user to avoid memory leak. Also new will be done for list and its pointer will be returned. User has to delete the list to avoid memory leak.
Returns:
An HRESULT value
Legal values:
S_OK
Extract Harness is successful
E_FAIL
Failed to extract harness - either there are no flattening parameters or some other error
E_INVALIDARG
Invalid input attribute value
o FlattenHarness
public virtual FlattenHarness( ipListOfCATBaseUnknown)
Flatten extracted data.
Parameters:
ipListOfCATBaseUnknown
List of pointers on one Electrical Bundle or several Geometrical Bundles from this root product (flatten model) to be flattened.
Returns:
An HRESULT value
Legal values:
S_OK
The interface is successfully retrieved
E_FAIL
Failed to flatten harness - either there are no flattening parameters or some other error
E_INVALIDARG
Invalid input attribute value

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

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