All Frameworks  Class Hierarchy  This Framework  Previous  Next  Indexes

VPMInterfaces Interface CATIVPMBOAttribute

System.IUnknown
  |
  +---System.IDispatch
    |
    +---System.CATBaseUnknown
      |
      +---CATIVPMBOAttribute
 

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


interface CATIVPMBOAttribute

This interface allows to control the value of an attribute.
Role : This interface allows to control the value of an attribute. To get the correct results, you need to ensure a correct mask is set before these method calls. Both the methods are applied on the current mask. To change or set the current mask please use ENOVUserExitServices::setMask(const CATUnicodeString & iMaskToSet) method prior to this method call. For example : ENOVUserExitServices::setMask("read").


Method Index


o GetAttributeValue(CATUnicodeString&,CORBAAny&)
This method returns the value of an attribute.
o SetAttributeValue(CATUnicodeString&,CORBAAny&)
This method set the value of an attribute.

Methods


o GetAttributeValue
public virtual HRESULT GetAttributeValue( const CATUnicodeString& AttributeName,
CORBAAny& Value)= 0
This method returns the value of an attribute.
Parameters:
AttributeName
specifies the name of the attribute from which we wish to retreive the value.
Value
is the value returns for this attribute.
Returns:
S_OK in case of success, E_FAIL in case of error.
o SetAttributeValue
public virtual HRESULT SetAttributeValue( const CATUnicodeString& AttributeName,
const CORBAAny& Value)= 0
This method set the value of an attribute.
Parameters:
AttributeName
specifies the name of the attribute from which we wish to set the value.
Value
is the value for this attribute.
Returns:
S_OK in case of success, E_FAIL in case of error.

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

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