KnowledgeInterfaces Interface CATICkeParmContext

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


interface CATICkeParmContext

This interface allows to specify the edition context of a parameter to allow computing the way the parameter has to be displayed depending on options retrieved on the component (design ranges/scale) This interface is not implemented on all parameters types.
It is implemented at least on volatile parameters that have a literal value


Method Index


o GetContext(CATBaseUnknown_var&)
Gets the edition context of a parameter
o SetContext(CATBaseUnknown_var&)
Sets the edition context of a parameter

Methods


o GetContext
public virtual HRESULT GetContext(CATBaseUnknown_var& oContext) = 0
Gets the edition context of a parameter
Parameters:
oContext
after the method has been called, this argument contains the context that has been set with SetContext method, or NULL_var if SetContext has never been called
Returns:
S_OK if the method succeeds, E_FAIL otherwise
o SetContext
public virtual HRESULT SetContext( const CATBaseUnknown_var& iContext) = 0
Sets the edition context of a parameter
Parameters:
iContext
the context can be a PLM Component or any linkable object (@see CATICkeScalesServices)
Returns:
S_OK if the method succeeds, E_FAIL otherwise

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

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