All Frameworks  Class Hierarchy  This Framework  Indexes   

CATPlantShipInterfaces Class CATPspKweUserAttrAdapter

Usage: you can derive this class.


public class CATPspKweUserAttrAdapter

Base adaptor class for implemeting CATIPspKweUserAttr.
Role: Implementations of interface CATIPspKweUserAttr should derive from this class.

See also:
CATIPspKweUserAttr


Constructor and Destructor Index


o CATPspKweUserAttrAdapter()
o ~CATPspKweUserAttrAdapter()

Method Index


o DefineKweUserAttr(CATString&,CATListValCATAttributeInfos&)
Defines a list of computed attributes for the input exposed type isTypeName.
o GetValue(CATIInstance*,CATUnicodeString&)
Returns the computed value of the iKey attribute on specified iObject.

Constructor and Destructor


o CATPspKweUserAttrAdapter
public CATPspKweUserAttrAdapter()
o ~CATPspKweUserAttrAdapter
public virtual ~CATPspKweUserAttrAdapter()

Methods


o DefineKweUserAttr
public virtual DefineKweUserAttr( const isTypeName,
olAttrInfos)
Defines a list of computed attributes for the input exposed type isTypeName.
Parameters:
isTypeName
Exposed type
olAttrInfos
List of CATAttributeInfos
Returns:
An HRESULT value.
Legal values:
S_OK
operation is successful
E_FAIL
operation failed
o GetValue
public virtual GetValue( ipiObject,
const iKey)
Returns the computed value of the iKey attribute on specified iObject.
Parameters:
ipiObject
Input object.
iKey
Computed attribute name.
Returns:
An CATIValue value. @see CATIValue

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

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