All Frameworks Class Hierarchy This Framework Previous Next Indexes
CATAnalysisInterfaces Interface CATISamValidity
System.IUnknown
|
+---System.IDispatch
|
+---System.CATBaseUnknown
|
+---CATISamValidity
Usage: you can freely reimplement this interface.
interface CATISamValidity
Control the validity on the implementing analysis feature.
Role: This interface is called:
- For the feature tree visualization in order to overload the icon look and feel.
(UpToDate Icon information, analysis support support validity...).
- To allow an analysis creation. As long as the definition is not valid, the creation will be diseable.
Method Index
- o
GetValidityStatus(int,int&)
- This method checks if the implementing analysis feature is valid.
Methods
o GetValidityStatus
public virtual HRESULT GetValidityStatus( | const int | iContext, |
| int& | oValidityStatus) = 0 |
-
This method checks if the implementing analysis feature is valid.
- Parameters:
-
- iContext
- defines the caller type of this interface (new V5R9).
Legal values:
- 1 Graph visualization (fast check is recommended).
- 2 Validation of feature creation (complete check is recommended).
- oValidityStatus
- returns the validity of the checked data.
Legal values:
- 0 the definition is valid.
- 1 the definition is incomplete.
- Returns:
- E_FAIL if the treatment fails.
This object is included in the file: CATISamValidity.h
If needed, your Imakefile.mk should include the module: CATAnalysisInterface