CATPipeTubeDesignUseItf Interface CATIPipAttrAccess

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


interface CATIPipAttrAccess



Method Index


o GetAttrValue(CATICkeParm*&,CATUnicodeString&)
Gets attribute value.
o ListAttributeNames(CATListValCATUnicodeString&)
Gets the list of all attribute names.
o SetAttrValue(CATUnicodeString&,CATICkeParm*)
Sets attribute value for PORT.

Methods


o GetAttrValue
public virtual GetAttrValue( opiAttrValue,
const iuAttrName)
Gets attribute value.
Parameters:
opiAttrValue
Attribute value [out, CATICkeParm].
iuAttrName
Attribute name [in, CATUnicodeString].
Returns:
An HRESULT value.
Legal values:
S_OK
operation is successful
E_INVALIDARG
iuAttrName arguments are invalid
E_FAIL
operation failed
o ListAttributeNames
public virtual ListAttributeNames( opListAttrNames)
Gets the list of all attribute names.
Parameters:
opListAllAttrNames
A list of attribute names [out, CATListValCATUnicodeString].
Returns:
An HRESULT value.
Legal values:
S_OK
operation is successful
E_FAIL
operation failed
o SetAttrValue
public virtual SetAttrValue( const iuAttrName,
ipIAttrValue)
Sets attribute value for PORT. It WORKS when attributes of PORT are being modified. It DOES NOT WORK if attributes on PART are being modified
Parameters:
iuAttrName
[in, CATUnicodeString] Attribute name.
ipIAttrValue
[in, CATICkeParm] Attribute value.
Returns:
An HRESULT value.
Legal values:
S_OK
operation is successful
If the corresponding attribute exists on PART, then it will also be modified accordingly
E_INVALIDARG
It is NOT a PORT
Either iuAttrName or ipIAttrValue or a combination of the two is invalid
E_FAIL
operation failed

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

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