CATPLMIdentificationAccess class CATPLMTypeServices

Usage: you must use this class as is. You should never derive it.


public class CATPLMTypeServices

Class of services to manipulate PLMTypes.

Role: Provide services to manipulate PLMTypes.


Method Index


o GetAdpTypeFromKweType(CATIType*,CATIAdpType*&)
Gets the
o GetKweTypeFromAdpType(CATIAdpType*,CATIType*&)
Gets the Knowledge Type from AdpType.

Methods


o GetAdpTypeFromKweType
public static HRESULT GetAdpTypeFromKweType( const CATIType* iType,
CATIAdpType*& oAdpType)
Gets the CATIAdpType from a Knowledge type.
Role: Allows the user to retrieve the CATIAdpType from a Knowledge type.
Parameters:
iType
[in] The given
CATIType.
oAdpType
[out] The corresponding type
CATIAdpType.
Returns:
S_OK
the adp type was retrieved.
E_INVALIDARG
iType is NULL or oAdpType is not NULL
E_FAIL
Failure
o GetKweTypeFromAdpType
public static HRESULT GetKweTypeFromAdpType( const CATIAdpType* iAdpType,
CATIType*& oKweType)
Gets the Knowledge Type from AdpType.
Role: Allows the user to retrieve the Knowledge Type from AdpType.
Parameters:
iAdpType
[in] The plm AdpType.
oKweType
[out] The knowledge corresponding type.
Returns:
S_OK
the knowledge type was retrieved.
E_INVALIDARG
iAdpType is NULL or oKweType is not NULL
E_FAIL
Failure

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

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