All Frameworks Class Hierarchy This Framework Previous Indexes
CATPlantShipInterfaces Class CATPspKweUserAttrAdapter
System.IUnknown
|
+---System.IDispatch
|
+---System.CATBaseUnknown
|
+---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 HRESULT DefineKweUserAttr( | const CATString& | isTypeName, |
| CATListValCATAttributeInfos& | 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
-
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