KnowledgeInterfaces CATParmValuatorAdapter

Usage: you can derive this class.


public class CATParmValuatorAdapter

CAA2 Adapter to CATIParmValuator Interface.
Role: This class must be derived to implement features extension to CATIParmValuator.
CATIParmValuator is the interface used by Knowledgeware to understand which object valuates a parameter.
It is used in CATICkeParm::SetRelation (..) and CATICkeParm::Relation () methods.

See also:
,


Constructor and Destructor Index


o CATParmValuatorAdapter()
Constructs the extension.
o ~CATParmValuatorAdapter()
Deletes the extension.

Method Index


o AllowLinkRemoval(CATICkeParm_var&)
Indicates if a link with a parameter is removable.
o RemoveLink(CATICkeParm_var&)
Indicates if the removal of a link has succeeded.
o Show()
Returns the NLS view of this object.

Constructor and Destructor


o CATParmValuatorAdapter
public CATParmValuatorAdapter()
Constructs the extension.
o ~CATParmValuatorAdapter
public virtual ~CATParmValuatorAdapter()
Deletes the extension.

Methods


o AllowLinkRemoval
public virtual AllowLinkRemoval( const parm)
Indicates if a link with a parameter is removable. Default implementation returns E_FAIL.
Parameters:
parm
the parameter with the link.
Returns:
S_OK if link with parameter is removable E_FAIL else
o RemoveLink
public virtual RemoveLink( const parm)
Indicates if the removal of a link has succeeded. Default implementation returns E_FAIL.
Parameters:
parm
the parameter with the link.
Returns:
S_OK if link removal succeeded, E_FAIL else
o Show
public virtual Show()
Returns the NLS view of this object. This method is used to show the user who is Valuator a parameter.
It is used in F(x).
whatever it is (it can be the body of formula......for example).

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

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